CN112714256A - Photographing method, photographing apparatus, electronic device, and readable storage medium - Google Patents

Photographing method, photographing apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
CN112714256A
CN112714256A CN202011605475.5A CN202011605475A CN112714256A CN 112714256 A CN112714256 A CN 112714256A CN 202011605475 A CN202011605475 A CN 202011605475A CN 112714256 A CN112714256 A CN 112714256A
Authority
CN
China
Prior art keywords
input
preview
moon
image
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011605475.5A
Other languages
Chinese (zh)
Other versions
CN112714256B (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 CN202011605475.5A priority Critical patent/CN112714256B/en
Publication of CN112714256A publication Critical patent/CN112714256A/en
Application granted granted Critical
Publication of CN112714256B publication Critical patent/CN112714256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

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

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a readable storage medium, and belongs to the technical field of electronic products. The shooting method comprises the following steps: receiving a first input of a user; updating display parameters of a moon image in a photographing preview interface in response to the first input, wherein the display parameters include at least one of: characteristic attribute parameters and display attribute parameters; capturing, by a camera, a target image including the moon image with updated display parameters. The shooting method, the electronic device and the readable storage medium provided by the embodiment of the application can solve the problem that in the prior art, when the moon is shot, the moon picture shot is poor in quality due to the fact that the moon is not ideal in state.

Description

Photographing method, photographing apparatus, electronic device, and readable storage medium
Technical Field
The present application relates to the field of shooting technologies, and in particular, to a shooting method, an electronic device, and a readable storage medium.
Background
The moon is a common subject of shooting, and in the prior art, in order to improve the quality of a moon picture obtained by shooting the moon, the shooting definition is generally considered to be improved. However, the quality of the picture of the moon taken is greatly affected by the state of the moon in practice, in addition to the sharpness. Since the shape and position of the moon dynamically change with time, when the moon is photographed, the quality of the photographed moon picture is poor due to the unsatisfactory moon state.
Disclosure of Invention
The shooting method, the shooting device, the electronic equipment and the readable storage medium provided by the embodiment of the application aim to solve the problem that in the prior art, when the moon is shot, the moon picture shot is poor in quality due to the fact that the moon is not ideal in state.
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 method, including:
receiving a first input of a user;
updating display parameters of a moon image in a photographing preview interface in response to the first input, wherein the display parameters include at least one of: characteristic attribute parameters and display attribute parameters;
capturing, by a camera, a target image including the moon image with updated display parameters.
In a second aspect, an embodiment of the present application provides an electronic device, including:
the receiving module is used for receiving a first input of a user;
an updating module, configured to update display parameters of the moon image in the shooting preview interface in response to the first input, where the display parameters include at least one of: characteristic attribute parameters and display attribute parameters;
and the shooting module is used for shooting a target image through a camera, wherein the target image comprises the moon image with updated display parameters.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction implements the steps of the shooting method when executed by the processor.
In a fourth aspect, the present application provides a readable storage medium, where a program or instructions are stored on the readable storage medium, and the program or instructions, when executed by a processor, implement the steps of the shooting method.
In the embodiment of the application, when the moon is shot, a user can adjust the display parameters of the moon image in the shooting preview interface, so that even if the display state of the moon image in the shooting preview interface is not ideal due to the current state of the moon being not ideal, the display parameters of the moon image in the shooting preview interface can be adjusted to improve the display state of the moon image in the shooting preview interface, and further improve the quality of the shot moon image.
Drawings
Fig. 1 is a schematic flowchart of a shooting method provided in an embodiment of the present application;
fig. 2 is one of display parameter diagrams of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 3 is a second display parameter diagram of the first photographing preview interface during the adjustment of the display parameters of the first photographing preview interface;
fig. 4 is a third display parameter diagram of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
FIG. 5 is one of the state diagrams for adjusting the rounding of the moon image;
FIG. 6 is a second state diagram for adjusting the rounding of the moon image;
fig. 7 is a fourth display parameter diagram of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 8 is a fifth view of display parameters of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 9 is a sixth view of display parameters of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 10 is a seventh view of a display parameter map of the first photographing preview interface in the process of adjusting the display parameter of the first photographing preview interface;
fig. 11 is an eighth view of a display parameter map of the first photographing preview interface in the process of adjusting the display parameter of the first photographing preview interface;
fig. 12 is a ninth drawing of display parameters of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 13 is a ten-point view of a display parameter map of the first photographing preview interface in the process of adjusting the display parameter of the first photographing preview interface;
fig. 14 is an eleventh view of a display parameter diagram of the first photographing preview interface in the process of adjusting the display parameter of the first photographing preview interface;
fig. 15 is a twelfth view of a display parameter map of the first photographing preview interface in the process of adjusting the display parameter of the first photographing preview interface;
fig. 16 is a thirteen-display parameter diagram of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 17 is a fourteenth view of display parameters of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 18 is a fifteen-display parameter diagram of the first photographing preview interface in the process of adjusting the display parameter of the first photographing preview interface;
fig. 19 is a diagram sixteen showing parameters of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 20 is a seventeenth display parameter diagram of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 21 is an eighteenth drawing of display parameters of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 22 is a nineteenth view of a display parameter diagram of the first photographing preview interface in the process of adjusting the display parameter of the first photographing preview interface;
fig. 23 is a view showing twenty of display parameter diagrams of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 24 is twenty-one of a display parameter map of the first photographing preview interface in the process of adjusting the display parameter of the first photographing preview interface;
fig. 25 is a twenty-two display parameter diagram of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 26 is a twenty-third drawing of display parameters of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 27 is a twenty-four showing parameter diagrams of the first photographing preview interface in the process of adjusting the displaying parameters of the first photographing preview interface;
fig. 28 is twenty-five of a display parameter diagram of the first photographing preview interface in the process of adjusting the display parameters of the first photographing preview interface;
fig. 29 is a schematic structural diagram of a shooting device according to an embodiment of the present application;
fig. 30 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 31 is a schematic hardware structure 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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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 method, the shooting device, the electronic device and the readable storage medium provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present application provides a shooting method, where the shooting method includes:
step 101, receiving a first input of a user.
The shooting method provided by the embodiment of the application can be applied to electronic equipment with a camera, and in the process of shooting the moon through the electronic equipment, the display parameters of the moon image can be adjusted in a shooting preview interface. The shooting quality of the captured moon image can be improved compared to the prior art.
The first input may be an input performed by a user when a shooting preview interface is displayed on the electronic device and the shooting preview interface includes a moon image acquired by the camera. Specifically, the first input may be an instruction for adjusting the display parameter of the moon image based on various common input methods, where the common input methods may be a touch output method, a voice output method, or the like, and accordingly, the first input may be a touch instruction input by a user through a touch operation, a voice instruction input by a user through a voice, or the like.
Step 102, responding to the first input, and updating display parameters of the moon image in the shooting preview interface, wherein the display parameters comprise at least one of the following: characteristic attribute parameters and display attribute parameters.
Specifically, the characteristic attribute parameter may be a parameter for adjusting an attribute characteristic of the lunar image itself, for example, the characteristic attribute parameter may be a parameter for adjusting an attribute such as a shape characteristic and a display position characteristic of the lunar image.
The display attribute parameter may be a parameter for adjusting a shooting parameter of the camera, or may be a parameter for adjusting a display state of the shooting preview interface, for example, the display attribute parameter may be a parameter for adjusting a focal length of the camera, or may be a parameter for adjusting brightness of screen content displayed on the shooting preview interface.
The first input carries at least one of the characteristic attribute parameter and the display attribute parameter, and when the electronic device receives the first input, the electronic device may respond to the first input to adjust the display parameter of the moon image to obtain an updated moon image, and display the updated moon image in a shooting preview interface.
Step 103, shooting a target image through a camera, wherein the target image comprises the moon image with updated display parameters.
Specifically, after the display parameters of the moon image in the shooting preview interface are adjusted based on the above step 102, the updated screen content in the shooting preview interface may be acquired based on the shooting instruction of the user, and the acquired screen content may be output as the target image.
The embodiment can be applied to a scene for shooting the moon, and in the process of shooting the moon, the display parameters of the moon can be adjusted based on the first input, so that even if the display state of the moon image in the shooting preview interface is not ideal due to the current state of the moon, the display parameters of the moon image in the shooting preview interface can be adjusted to improve the display state of the moon image in the shooting preview interface, and further improve the quality of the shot moon image.
Optionally, before the updating of the display parameter of the moon image in the shooting preview interface in response to the first input, the method further includes:
receiving a second input of a user, wherein before the second input is received, the shooting preview interface is in a single shooting preview display mode, and under the single shooting preview display mode, the shooting preview interface comprises a preview window of a camera;
in response to the second input, updating the single shooting preview display mode of the shooting preview interface into a multi-shooting preview display mode, wherein in the multi-shooting preview display mode, the shooting preview interface comprises N preview windows, and each preview window comprises a preview image acquired by a camera;
the preview image displayed in each preview window comprises a moon image; n is an integer greater than 1.
The shooting method provided in the embodiment of the application can be applied to electronic equipment with a plurality of cameras, the electronic equipment can have different shooting modes, for example, the shooting method can be applied to electronic equipment with a single shooting mode and a multi-shooting mode, and when the electronic equipment is in different shooting modes, display parameters of moon images can be adjusted based on first input of a user, so that the shooting quality of the moon images in different scenes is improved.
Specifically, the shooting preview interface may include at least two different display modes, where the different display modes may correspond to different shooting modes of the electronic device. For example, when the electronic device is in the single shooting mode to shoot the moon, the shooting preview interface may be in the single shooting preview display mode, and at this time, a camera shoots the moon, and the shooting preview interface may display a preview window of the camera shooting the moon; and when the electronic equipment shoots the moon in the multi-shooting mode, the shooting preview interface can be in the multi-shooting preview display mode, at this time, the moon can be shot by N cameras simultaneously, and N preview windows are displayed on the shooting preview interface, wherein the N preview windows are preview windows for shooting the moon by the N cameras, and the N preview windows are in one-to-one correspondence with the N cameras.
It should be noted that, a user may switch the shooting mode in the shooting preview interface, and when the user switches the shooting mode, the display mode of the shooting preview interface is also correspondingly switched.
The second input may be an input by a user when the electronic device is in the single shot mode to shoot the moon, wherein the second input is used for switching the shooting mode of the electronic device. The first input may be based on various common input methods, for example, touch input, voice input, or the like.
Specifically, when the electronic device is in the single shooting mode to shoot the moon, if a second input is received, the electronic device enters a multiple shooting mode in response to the second input, in the multiple shooting mode, the moon is shot by the N cameras at the same time, and the shooting preview interface is updated from the single shooting preview display mode to the multiple shooting preview display mode.
When the electronic device is in the single shot mode, the display parameters of the moon image in the shooting preview interface can be updated in response to the first input when the first input is received. And when the electronic device is in the multi-shot mode, the display parameters of the moon image in at least one of the N preview windows can be updated in response to the first input when the first input is received.
It should be noted that the shooting method may also be applied to a single shooting scene, in which a shooting preview interface of the electronic device may display a preview screen of a camera for shooting the moon, and in this scene, if the electronic device receives a first input, the display parameter of the moon image in the shooting preview interface may be updated in response to the first input.
The shooting method provided by the embodiment can be applied to a single shooting scene and can also be applied to multiple shooting scenes, and in the single shooting scene or the multiple shooting scenes, the display parameters of the moon images can be adjusted based on the first input of the user in the process of shooting the moon, so that the shooting quality of the moon images in different scenes is improved.
Optionally, the updating the display parameter of the moon image in the shooting preview interface in response to the first input includes:
and updating the display parameters of the moon image in at least one of the N preview windows.
Specifically, the first input may be used to adjust the display parameters of the moon image in only a part of the N preview windows, or may be used to adjust the display parameters of the moon image in each of the N preview windows.
For example, referring to fig. 7 and schematically combining with fig. 14, the shooting preview interface includes 4 preview windows, fig. 7 is a display state diagram of a moon image in each preview window in the shooting preview interface before the first input is received, and after the first input is received, the display parameters of the moon image in three of the shooting preview interfaces can be adjusted in response to the first input, and the shooting preview interface after being updated is shown in fig. 14.
The shooting method provided by the embodiment of the application can be applied to a process of adjusting the display parameters of the moon images in a multi-shooting scene, and the moon vacancy change picture synthesized by multi-shooting can be obtained by updating the display parameters of the moon images in at least one preview window based on the first input of a user.
Optionally, the first input comprises a first sliding sub-input of a user on the shooting preview interface;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
responding to the first sliding sub input, and updating the M months bright image to a first sliding track of the first sliding sub input for displaying;
the first sliding track passes through M preview windows in the N preview windows, the first sliding track comprises M track sections, each track section is a part of the first sliding track overlapped with each preview window, and the M moon images are moon images in the M preview windows respectively; each moon image is respectively displayed on a track segment included in the preview window; m is a positive integer, and M is less than or equal to N.
The first sliding sub-input may be a touch sliding operation of a user in the shooting preview interface, and the electronic device may determine the first sliding track in the shooting preview interface based on the first sliding sub-input, where the first sliding track may be in a display state or a non-display state. The first sliding track passes through at least one preview window of the N preview windows.
Specifically, when the electronic device receives the first sliding sub input, each of the M month bright images may be moved to a track segment in the preview window where the month image is located, respectively, in response to the first sliding sub input, so that the M month bright images are arranged along the first sliding track, for example, please refer to fig. 13, the first sliding track passes through 4 preview windows, and after receiving the first sliding sub input, the electronic device controls the month images in the 4 preview windows to move, so as to obtain the month lack change effect map shown in fig. 14.
It should be noted that the above-described updating of the display position of the moon image in the preview window based on the first slide sub input belongs to a process of updating the feature attribute parameter.
The shooting method provided by the embodiment can be applied to a process of adjusting the display parameters of the moon images in a multi-shooting scene, and in the embodiment, the moon images in the M preview windows are distributed along the first sliding track based on the first sliding sub-input, so that the pictures with the moon lack change effect are obtained, and the interest and operability of moon shooting are further enhanced.
Optionally, the first input comprises a second sliding sub-input of the user on the shooting preview interface and a moving sub-input of an M-month bright image in the shooting preview interface;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
in response to the second slide sub-input, displaying a trajectory line 1301 on the shooting preview interface, wherein the trajectory line 1301 indicates a slide trajectory of the second slide sub-input;
in response to the move sub input, the M-month bright image is moved onto the trajectory line 1301, and the trajectory line 1301 is hidden.
The second sliding sub-input may be a touch sliding operation of the user in the shooting preview interface, and the electronic device may determine the trajectory line 1301 in the shooting preview interface based on the second sliding sub-input, and display the trajectory line 1301 in the shooting preview interface.
The trajectory line 1301 may include M trajectory segments, each trajectory segment is a portion of the trajectory line 1301 overlapping each preview window, and the M moon images are moon images in the M preview windows; m is a positive integer, and M is less than or equal to N.
The moving sub-input may be a dragging operation of the user on the moon image in the preview window, and the user may move the M-month-bright image based on the moving sub-input, so that the M-month-bright image moves onto the trajectory line 1301, and after the moving is completed, the trajectory line 1301 may be hidden.
In the embodiment, the moon images in the M preview windows are distributed along the specific trajectory line 1301 based on the second sliding sub input and the moving sub input, so that a picture with a moon month lack change effect is obtained, and the interest and operability of moon shooting are further enhanced.
Optionally, before the receiving the first input of the user, the method further includes:
displaying an adjusting control in each preview window;
the receiving a first input of a user comprises:
receiving first input of a user to a target adjusting control in N adjusting controls of the N preview windows;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
updating feature attribute parameters of the lunar image in the target preview window in response to the first input, the feature attribute parameters including at least one of: round and moon vacancy states;
the target adjusting control is an adjusting control in the target preview window, and the target preview window is any one of the N preview windows.
The target adjusting control may be a control operated by a user in N adjusting controls, where the target adjusting control may include an image control having a certain shape, such as a linear control 301 and a circular control 401, and the user may perform a preset touch operation on the target adjusting control to update a characteristic attribute parameter of a moon image in a target preview window where the target adjusting control is located.
Specifically, the first input may include K sub-inputs, where the K sub-inputs may respectively act on K target preview windows, where K is less than or equal to N. In addition, the input contents of the K sub-inputs may be the same or different, so that the user may perform different touch operations in different target preview windows, and further update the characteristic attribute parameters of the moon image in each target preview window.
The above updating the circle-out state of the moon image in the target preview window may be: the rounding state of the moon image is changed based on the first input, and for example, the full moon may be updated to the incomplete moon, or the incomplete moon may be updated to the full moon. In addition, the above-mentioned updating of the month absence direction of the moon image in the target preview window may refer to: when the moon image in the target preview window is a remnant moon, the moon vacancy orientation of the moon image is changed based on the first input, for example, the moon vacancy orientation may be updated from left to right.
The shooting method provided by the embodiment can be applied to the process of adjusting the characteristic attribute parameters of the moon image, and in the embodiment, a user can update the characteristic attribute parameters of the moon image in the corresponding target preview window through the adjusting control in each target preview window.
Optionally, the feature attribute parameters of the lunar image are determined according to the input parameters of the first input or the control parameters of the target adjustment control;
in the case that the characteristic attribute parameters of the lunar images are input parameters according to the first input, different input parameters of the first input are used for adjusting the characteristic attribute parameters of the lunar images to different parameter values; the input parameters include at least one of: inputting direction, inputting force and inputting distance;
under the condition that the characteristic attribute parameters of the moon image are the control parameters of the target adjusting control, the first input is used for adjusting the control parameters of the adjusting control, and different control parameters correspond to different parameter values of the characteristic attribute parameters of the moon image; the control parameters include at least one of: the display direction of the control and the display position of the control.
Specifically, in a case that the characteristic attribute parameter of the lunar image is the input parameter according to the first input, the parameter input by the user may be received based on the shooting preview interface, specifically, each preview window in the shooting preview interface may be an independent parameter receiving window, the preview window in which the parameter input is performed by the user may be the target preview window, and the characteristic attribute parameter of the lunar image in the target preview window may be updated based on the parameter value input by the user in the target preview window.
The input parameter of the first input may be an input direction, for example, please refer to fig. 23, the leftmost preview window is a target preview window, the user may input a sliding input in the target preview window along a direction indicated by a dotted line in fig. 23, and the electronic device may control the moon image in the target moon window to rotate along the sliding direction of the sliding input in response to the sliding input, for example, please refer to fig. 24, which may be one of state diagrams of the moon image during the rotation process.
The input parameter of the first input may also be an input strength, for example, please refer to fig. 25, a user may input a pressing operation in the target preview window, the electronic device may respond to the pressing operation of the user, and adjust a month absence state of the moon image in the target preview window based on the strength of the pressing operation, for example, please refer to fig. 26, which may be a display state diagram of a moon image obtained by the electronic device in response to the pressing operation of the user.
The input parameter of the first input may also be an input distance, for example, the user may manually input a distance value in the target preview window, wherein the distance value may enable the user to adjust the size of the moon notch of the moon image in the target preview window, the moon notch of the moon image is larger when the distance value is larger, the moon image may be full moon when the distance value is 0, for example, please refer to fig. 27, and the electronic device may control the moon image to change from the state shown in fig. 27 to the state shown in fig. 28 when the distance value input by the user in the target preview window is 0.
Further, in a case where the feature attribute parameter of the lunar image is a control parameter according to the target adjustment control, the control parameter may be determined based on an adjustment operation of the target adjustment control by the user.
The first input may be an input of a user changing a display direction of the target adjustment control based on an adjustment operation, so that when the electronic device receives the adjustment operation, the electronic device may control the moon image in the target preview window to rotate in response to the adjustment operation, for example, may control the moon notch of the moon image to rotate to a direction indicated by the target adjustment control.
The first input may be an input that a user changes a display position of the target adjustment control based on an adjustment operation, so that when the electronic device receives the adjustment operation, the electronic device may control the moon image in the target preview window to move to a position corresponding to the position displayed by the target adjustment control in response to the adjustment operation, so as to adjust the position of the moon image.
The shooting method provided by the embodiment can be applied to the process of adjusting the characteristic attribute parameters of the moon image, and in the embodiment, a user can input parameters in a shooting preview interface or adjust the target adjusting control so as to realize the process of adjusting the characteristic attribute parameters.
Optionally, the target adjustment control comprises a line type control 301;
the receiving a first input of a user comprises:
receiving a sliding input of a user on the linear control;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
updating the circle-lacking state of the moon image in the target preview window based on the sliding direction and the sliding distance of the sliding input;
the circle-lacking state comprises a circle-changing state and a circle-lacking state, the sliding direction comprises a first direction and a second direction, the first direction is opposite to the circle-changing state, and the second direction is opposite to the circle-changing state; different sliding distances correspond to different rounding degrees.
The line-shaped control 301 may be a retractable line-shaped control extending outward from the center of the moon image. One of the first direction and the second direction is a direction in which the line type control 301 points to the moon image, and the other is a direction in which the line type control 301 faces away from the moon image. Specifically, when the slide input is an input of sliding in the first direction, the moon image gradually becomes rounded, and the degree to which the moon image becomes rounded is greater, i.e., the lunar portion of the moon image is smaller, the greater the sliding distance of the slide input is. When the slide input is an input of sliding in the second direction, the lunar portion of the lunar image gradually increases, and the larger the sliding distance of the slide input, the larger the lunar portion of the lunar image.
For example, referring to fig. 3 to 4, the line-type control 301 is a bar-shaped control pointing to the moon gap from the center of the moon image, and an arrow is disposed at an end of the line-type control 301 away from the center of the moon image, where the first direction is a direction pointed by the arrow of the line-type control 301, and the second direction is a direction pointed by the arrow tail of the line-type control 301, when the sliding input is sliding along the direction of the arrow of the line-type control 301, the length of the line-type control 301 may be increased, and the moon image gradually changes into a circle. Accordingly, when the slide input is sliding in the direction of the arrow tail of the line type control 301, the length of the line type control 301 may become short, and the lunar portion of the lunar image gradually increases.
The shooting method provided by the embodiment can be applied to the process of adjusting the characteristic attribute parameters of the moon image, and in the embodiment, the user can adjust the moon vacancy state of the moon image by adjusting the line type control 301.
Optionally, the target adjustment control comprises a circular control 401, and the radius of the circular control 401 is the same as the radius of the moon image;
the receiving a first input of a user comprises:
receiving an input that a user drags the circular control 401 or the moon image;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
controlling the circular control 401 to move relative to the moon image in response to the first input;
updating the circle-lacking state of the moon image in the target preview window based on the relative position relationship between the circular control 401 and the moon image at the first input end input moment;
wherein, in the case that the relative position relationship is that the circular control 401 overlaps with the moon image, the moon image in the target preview window includes a moon-absent part, and the image of the moon-absent part is the image of the overlapping part; and under the condition that the relative position relationship is that the circular control 401 and the moon image do not have an overlapped part, the moon image in the target shooting preview interface is a full moon.
Specifically, the circular control 401 and the moon image may have an overlapping portion or may be completely separated by dragging the circular control 401 or the moon image, and when the circular control 401 and the moon image have an overlapping portion, the size of the overlapping portion may be changed by dragging the circular control 401 or the moon image, so as to adjust the moon vacancy state of the moon image. Specifically, in the process of dragging the circular control 401 or the moon image, the user can visually determine whether the circle-lacking state of the current moon image is the ideal state to be adjusted in the adjusting process because the user can check the specific size of the overlapping portion of the circular control 401 and the moon image in real time, so that the user can conveniently adjust the circle-lacking state of the moon image.
For example, referring to fig. 5, a black display area may be the moon image, a white display area may be the circular control 401, and from left to right in fig. 5: and adjusting the moon image in the full moon state to the incomplete moon state, and then adjusting the state map of the process from the incomplete moon state to the full moon state. In this process, the moon image is first in a full moon state, at this time, the circular control 401 may be moved closer to the moon image based on the first input, so that the circular control 401 gradually covers the area of the moon image, thereby obtaining a state diagram of the moon image located at the middle position in fig. 5, and if the state is the end position of the circular control 401, the moon image at this time is a remnant moon portion displayed in a black area. After the adjustment of the full moon state to the incomplete moon state is completed, the circular control 401 may be dragged in a direction away from the moon image to obtain the state diagram of the moon image as shown at the rightmost side in fig. 5, at which time, since there is no intersection area between the circular control 401 and the moon image, the moon image is adjusted from the incomplete moon state to the full moon state again. It should be noted that the circular control 401 is hidden after the adjustment of the moon image is completed.
To further explain the above-mentioned process of adjusting the vacancy-rounded state of the moon image based on the circular control 401, please refer to fig. 6, where the initial state of the moon image is the residual moon state, at this time, as shown in the state diagram of the moon image located at the middle position in fig. 6, the circular control 401 may be displayed at the vacancy-rounded position of the moon image, so that the user may move the circular control 401 away from the moon image based on the first input to adjust the moon image to the full moon state, please refer to the state diagram of the moon image at the rightmost side in fig. 6.
The shooting method provided by the embodiment can be applied to the process of adjusting the characteristic attribute parameters of the moon image, and in the embodiment, a user can drag the moon image or the circular control 401 to adjust the round state of the moon image.
Optionally, the target adjustment control comprises a line type control 301;
the receiving a first input of a user comprises:
receiving input of a user for rotating the line type control 301;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
in response to the first input, controlling the line type control 301 and the moon image in the target preview window to synchronously rotate;
updating the month lacking direction of the moon image in the target preview window based on the rotation ending position of the line type control 301;
wherein, the moon direction of the moon image in the target preview window is the same as the direction of the target end of the line type control 301.
Specifically, the first input may be a drag operation on the line type control 301. For example, referring to fig. 8, the shooting preview interface includes four preview windows, wherein the leftmost preview window is the target preview window, the first input is that the linear control 301 in the target preview window is dragged to rotate counterclockwise around one end close to the moon image along a dotted line direction, in this process, the moon image rotates counterclockwise around its center position, and the orientation of the moon notch of the moon image is always consistent with the arrow direction of the linear control 301, as shown in fig. 9, the orientation may be one of state diagrams in the rotation process of the moon image. For another example, referring to fig. 10, the shooting preview interface includes four preview windows, where the leftmost sub-area is the target preview window, the first input is to drag the line type control 301 in the target preview window to rotate clockwise around one end close to the moon image along the direction of a dotted line, in this process, the moon image rotates clockwise around its center position, and the orientation of the moon notch of the moon image is always consistent with the direction of the arrow of the line type control 301, as shown in fig. 10, the shooting preview interface may be one state diagram in the process of rotating the moon image. Specifically, in the process of rotating the control line type control 301, the user can check the change of the month absence orientation of the moon image in real time, so that the user can intuitively determine whether the month absence orientation of the current moon image is an ideal state to be adjusted in the adjustment process, thereby facilitating the user to adjust the month absence orientation of the moon image. Therefore, the moon direction of the moon image can be adjusted. It should be noted that the line type control 301 is hidden after the adjustment of the moon image is completed.
The shooting method provided by the embodiment can be applied to the process of adjusting the characteristic attribute parameters of the moon image, and in the embodiment, a user can adjust the moon direction of the moon image by dragging the line type control 301 to rotate.
Optionally, after the single shot preview display mode of the shooting preview interface is updated to the multi shot preview display mode in response to the second input, the method further includes:
receiving a third input of the N preview windows from a user, wherein the third input is used for increasing or decreasing the preview windows of the camera;
updating the N preview windows to P preview windows in response to the fourth input;
wherein P is less than N or P is more than N.
When the shooting preview interface is in the multi-shooting preview display mode, based on actual scene needs, a user may increase or decrease the number of activated cameras in the shooting preview interface, and it should be noted that when a certain camera is switched from an activated state to a closed state, a preview window corresponding to the camera is closed in the shooting preview interface. The shooting preview interface may be configured with related controls for a user to increase or decrease the number of cameras, where the third input may be an operation performed by the user to increase or decrease the number of cameras based on the controls, for example, a first control and a second control may be set in the shooting preview interface, when the user clicks the first control, a preview window is added to the shooting preview interface, and when the user clicks the second control, a preview window is decreased from the shooting preview interface.
The embodiment can be applied to a multi-shot scene, and in the multi-shot scene, a user can input the number of the user-defined preview windows through the third input to adjust the number of the moon change states in the process of shooting the moon change state diagram, so that the diversity of shooting effects is improved.
Optionally, the method further comprises:
deleting a first preview window of the N preview windows when the third input is a sliding input in a first direction of two sides of the first preview window;
and under the condition that the fourth input is sliding input in a second direction of the target side edge of a second preview window in the N preview windows, adding a third preview window.
The first preview window and the second preview window can be any preview window in the N preview windows. The first window may be the first preview window, or may be another preview window other than the first preview window.
The first direction 1701 may be a direction sliding inward along two sides of the first preview window, for example, referring to fig. 17, which is a schematic diagram of a current state of a preview screen, two fingers may press two sides of the first preview window and move the two fingers toward each other, so that the first window may be closed, and the schematic diagram shown in fig. 18 is obtained.
The target side may be any side where the second preview window intersects with other preview windows, and the second direction 1801 may be an operation of sliding outward along the target side of the second preview window, for example, as shown in fig. 18, two fingers may press two sides of the target side, and then the two fingers are controlled to move in opposite directions, so that a third preview window may be added.
The embodiment can be applied to a multi-shot scene, and the number of the preview windows is increased or decreased through the third input of the user, so that the diversity of the shooting process of the moon is improved.
Optionally, the updating the single shot preview display mode of the shooting preview interface to the multi-shot preview display mode in response to the second input includes: and adjusting the position of the moon image in each preview window to a preset position in the corresponding preview window. For example, the ratio of the preset position to the two sides of the preview window is w1: w2, and the ratio of the preset position to the top and bottom of the preview window is 1: 2.
The method can be applied to a multi-shot scene, and the moon images in the preview windows are uniformly adjusted to the preset position, so that the states of the moon images in the preview windows in the initial state are kept consistent, and the moon images in the preview windows can be adjusted in a subsequent step.
Alternatively, when the display parameters of the moon image are adjusted, the adjustment control may not be displayed, and the display parameters of the moon image may be adjusted directly based on the gesture of the user. For example, referring to fig. 15 to 16, the moon vacancy state of the moon may be adjusted by pressing both sides of the moon image with both fingers and then moving in opposite or opposite directions, e.g., when both fingers move in opposite directions, the moon vacancy may be gradually increased while the fingers move; accordingly, when the two fingers move in opposite directions, the absence of the moon may be gradually reduced until the moon image reaches the full moon while the fingers move. Furthermore, the position of the moon image in the sub-area can also be adjusted by pressing and dragging the moon image.
Optionally, the shooting method may also be applied to a single shooting scene, and in a case that the electronic device is in the single shooting scene, a target adjustment control may be displayed on the shooting preview interface, so that a user may perform a first input through the target adjustment control, so that the electronic device adjusts the display parameter of the moon image in response to the first input. The target adjustment control may be the linear control 301 or the circular control 401 in the above embodiments, and the control manner of the target adjustment control may be the same as that of the above embodiments, and the same adjustment effect can be achieved.
Specifically, referring to fig. 19, a line type control 301 may be displayed on the shooting preview interface, so that when a first input of rotating the line type control 301 by a user is received, the line type control 301 and the moon image in the target preview window may be controlled to rotate synchronously in response to the first input, for example, after the rotation input is finished, the display state diagram shown in fig. 20 may be obtained. Further, in the case where a slide input of the line type control 301 by the user is received, the round state of the moon image in the target preview window may be updated based on the slide direction and the slide distance of the slide input, and for example, after the slide input is ended, the display state diagram shown in fig. 21 may be obtained. Further, it is also possible to change the position of the moon image in the shooting preview interface based on the movement input of the moon image by the user, for example, after the movement input is ended, the display state diagram shown in fig. 22 can be obtained.
It should be noted that, in the multiple shooting scenes, the method for adjusting the display parameters of the moon image can be applied to a single shooting scene, and can achieve the same beneficial effects, and is not described herein again to avoid repetition.
Referring to fig. 29, an embodiment of the present application further provides a camera 2900, where the camera 2000 includes:
a receiving module 2901 for receiving a first input of a user;
an updating module 2902 configured to update display parameters of the moon image in the photographing preview interface in response to the first input, wherein the display parameters include at least one of: characteristic attribute parameters and display attribute parameters;
a shooting module 2903 configured to shoot a target image through the camera, the target image including the moon image with updated display parameters.
Optionally, the receiving module 2901 is further configured to receive a second input of the user, where before the second input is received, the shooting preview interface is in a single shooting preview display mode, and in the single shooting preview display mode, the shooting preview interface includes a preview window of a camera;
the updating module 2902 is further configured to update the single-shot preview display mode of the shooting preview interface to a multi-shot preview display mode in response to the second input, where in the multi-shot preview display mode, the shooting preview interface includes N preview windows, and each preview window includes a preview image acquired by one camera;
the preview image displayed in each preview window comprises a moon image; n is an integer greater than 1.
Optionally, the updating module 2902 is specifically configured to update the display parameter of the moon image in at least one of the N preview windows.
Optionally, the first input comprises a first sliding sub-input of a user on the shooting preview interface;
the update module 2902 is specifically configured to, in response to the first slide sub input, update the M-month bright image to a first slide track of the first slide sub input for display;
the first sliding track passes through M preview windows in the N preview windows, the first sliding track comprises M track sections, each track section is a part of the first sliding track overlapped with each preview window, and the M moon images are moon images in the M preview windows respectively; each moon image is respectively displayed on a track segment included in the preview window; m is a positive integer, and M is less than or equal to N.
Optionally, the first input comprises a second sliding sub-input of the user on the shooting preview interface and a moving sub-input of an M-month bright image in the shooting preview interface; the update module 2902, comprising:
a display sub-module, configured to display a trace line 1301 in response to the second slide sub-input, where the trace line 1301 indicates a slide trajectory of the second slide sub-input, on the shooting preview interface;
a moving sub-module for moving the M-month bright image onto the trajectory line 1301 and hiding the trajectory line 1301 in response to the moving sub-input.
Optionally, the photographing apparatus further includes:
the display module is used for displaying an adjusting control in each preview window;
the receiving module 2901 is specifically configured to receive a first input of a user to a target adjustment control in the N adjustment controls of the N preview windows;
the updating module 2902 is specifically configured to update, in response to the first input, feature attribute parameters of the lunar image in the target preview window, where the feature attribute parameters include at least one of: round and moon vacancy states;
the target adjusting control is an adjusting control in the target preview window, and the target preview window is any one of the N preview windows.
Optionally, the feature attribute parameters of the lunar image are determined according to the input parameters of the first input or the control parameters of the target adjustment control;
in the case that the characteristic attribute parameters of the lunar images are input parameters according to the first input, different input parameters of the first input are used for adjusting the characteristic attribute parameters of the lunar images to different parameter values; the input parameters include at least one of: inputting direction, inputting force and inputting distance;
under the condition that the characteristic attribute parameters of the moon image are the control parameters of the target adjusting control, the first input is used for adjusting the control parameters of the adjusting control, and different control parameters correspond to different parameter values of the characteristic attribute parameters of the moon image; the control parameters include at least one of: the display direction of the control and the display position of the control.
Optionally, the target adjustment control comprises a linear control;
the receiving module 2901 is specifically configured to receive a sliding input of a user on the linear control;
the update module 2902 is specifically configured to update the circle-out state of the moon image in the target preview window based on the sliding direction and the sliding distance of the sliding input;
the circle-lacking state comprises a circle-changing state and a circle-lacking state, the sliding direction comprises a first direction and a second direction, the first direction is opposite to the circle-changing state, and the second direction is opposite to the circle-changing state; different sliding distances correspond to different rounding degrees.
Optionally, the target adjustment control comprises a circular control 401, and the radius of the circular control 401 is the same as the radius of the moon image;
the receiving module 2901 is specifically configured to receive an input that a user drags the circular control 401 or the moon image;
the update module 2902, comprising:
a control sub-module, configured to control the circular control 401 to move relative to the moon image in response to the first input;
the updating sub-module is used for updating the round state of the moon image in the target preview window based on the relative position relationship between the round control 401 and the moon image at the first input ending input moment;
wherein, in the case that the relative position relationship is that the circular control 401 overlaps with the moon image, the moon image in the target preview window includes a moon-absent part, and the image of the moon-absent part is the image of the overlapping part; and under the condition that the relative position relationship is that the circular control 401 and the moon image do not have an overlapped part, the moon image in the target shooting preview interface is a full moon.
Optionally, the target adjustment control comprises a line type control 301;
the receiving module 2901 is specifically configured to receive an input of a user rotating the line type control 301;
the update module 2902, comprising:
the control sub-module is used for responding to the first input and controlling the line type control 301 and the moon image in the target preview window to synchronously rotate;
the updating submodule is used for updating the month lacking direction of the moon image in the target preview window based on the rotation ending position of the linear control 301;
wherein, the moon direction of the moon image in the target preview window is the same as the direction of the target end of the line type control 301.
Optionally, the receiving module 2901 is further configured to receive a third input of the user to the N preview windows, where the third input is used to increase or decrease the preview windows of the cameras;
the update module 2902, further configured to update the N preview windows to P preview windows in response to the fourth input;
wherein P is less than N or P is more than N.
Optionally, in a case that the third input is a sliding input in a first direction to two sides of a first preview window of the N preview windows, deleting the first window;
and under the condition that the fourth input is sliding input in a second direction of the target side edge of a second preview window in the N preview windows, adding a third preview window.
In this embodiment, when shooting the moon, the user can adjust the display parameters of the moon image in the shooting preview interface, so that even if the display state of the moon image in the shooting preview interface is not ideal due to the current state of the moon being not ideal, the display parameters of the moon image in the shooting preview interface can be adjusted to improve the display state of the moon image in the shooting preview interface, and further improve the quality of the shot moon image.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The shooting device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1 to 28, and is not described here again to avoid repetition.
Optionally, as shown in fig. 30, an electronic device 3000 is further provided in the embodiment of the present application, and includes a processor 3001, a memory 3002, and a program or an instruction stored in the memory 3002 and capable of being executed on the processor 3001, where the program or the instruction is executed by the processor 3001 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, it is not described here again.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 31 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 3100 includes, but is not limited to: a radio frequency unit 3101, a network module 3102, an audio output unit 3103, an input unit 3104, a sensor 3105, a display unit 3106, a user input unit 3107, an interface unit 3108, a memory 3109, a processor 3110, and the like.
Those skilled in the art will appreciate that the electronic device 3100 may also include a power source (e.g., a battery) for powering the various components, and the power source may be logically connected to the processor 3110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 31 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 thereof is omitted.
The user input unit 3107 is configured to receive a first input from a user;
the processor 3110 is configured to update display parameters of a moon image in a photographing preview interface in response to the first input, wherein the display parameters include at least one of: characteristic attribute parameters and display attribute parameters;
the processor 3110 is further configured to control a camera to capture a target image, where the target image includes the moon image with updated display parameters.
Optionally, the user input unit 3107 is further configured to receive a second input from the user, where before the second input is received, the shooting preview interface is in a single shooting preview display mode, and in the single shooting preview display mode, the shooting preview interface includes a preview window of one camera;
the display unit 3106, configured to update the single-shot preview display mode of the shooting preview interface to a multi-shot preview display mode in response to the second input, where in the multi-shot preview display mode, the shooting preview interface includes N preview windows, and each preview window includes a preview image captured by one camera;
the preview image displayed in each preview window comprises a moon image; n is an integer greater than 1.
Optionally, the processor 3110 is further configured to update display parameters of the lunar image in at least one of the N preview windows.
Optionally, the first input comprises a first sliding sub-input of a user on the shooting preview interface;
the display unit 3106, further configured to update the M-month bright image to the first sliding track of the first sliding sub input for displaying in response to the first sliding sub input;
the first sliding track passes through M preview windows in the N preview windows, the first sliding track comprises M track sections, each track section is a part of the first sliding track overlapped with each preview window, and the M moon images are moon images in the M preview windows respectively; each moon image is respectively displayed on a track segment included in the preview window; m is a positive integer, and M is less than or equal to N.
Optionally, the first input comprises a second sliding sub-input of the user on the shooting preview interface and a moving sub-input of an M-month bright image in the shooting preview interface;
the display unit 3106 is further configured to display a trajectory line 1301 in response to the second slide sub input, where the trajectory line 1301 indicates a slide trajectory of the second slide sub input, on the shooting preview interface;
the display unit 3106 is further configured to move the M-month bright image onto the trajectory line 1301 and hide the trajectory line 1301 in response to the move sub input.
Optionally, the display unit 3106 is configured to display an adjustment control in each preview window;
the user input unit 3107 is further configured to receive a first input of a target adjustment control of the N adjustment controls of the N preview windows from a user;
the processor 3110, further configured to update feature attribute parameters of the lunar image in the target preview window in response to the first input, the feature attribute parameters including at least one of: round and moon vacancy states;
the target adjusting control is an adjusting control in the target preview window, and the target preview window is any one of the N preview windows.
Optionally, the feature attribute parameters of the lunar image are determined according to the input parameters of the first input or the control parameters of the target adjustment control;
in the case that the characteristic attribute parameters of the lunar images are input parameters according to the first input, different input parameters of the first input are used for adjusting the characteristic attribute parameters of the lunar images to different parameter values; the input parameters include at least one of: inputting direction, inputting force and inputting distance;
under the condition that the characteristic attribute parameters of the moon image are the control parameters of the target adjusting control, the first input is used for adjusting the control parameters of the adjusting control, and different control parameters correspond to different parameter values of the characteristic attribute parameters of the moon image; the control parameters include at least one of: the display direction of the control and the display position of the control.
Optionally, the target adjustment control comprises a linear control;
the user input unit 3107, configured to receive a sliding input of a user on the linear control;
the processor 3110 is further configured to update a rounding state of the moon image in the target preview window based on the sliding direction and the sliding distance of the sliding input;
the circle-lacking state comprises a circle-changing state and a circle-lacking state, the sliding direction comprises a first direction and a second direction, the first direction is opposite to the circle-changing state, and the second direction is opposite to the circle-changing state; different sliding distances correspond to different rounding degrees.
Optionally, the target adjustment control comprises a circular control 401, and the radius of the circular control 401 is the same as the radius of the moon image;
the user input unit 3107 is further configured to receive an input that a user drags the circular control 401 or the moon image;
the processor 3110, further configured to control the circular control 401 to move relative to the moon image in response to the first input;
the display unit 3106 is further configured to update the round state of the moon image in the target preview window based on the relative positional relationship between the round control 401 and the moon image at the first input end input time;
wherein, in the case that the relative position relationship is that the circular control 401 overlaps with the moon image, the moon image in the target preview window includes a moon-absent part, and the image of the moon-absent part is the image of the overlapping part; and under the condition that the relative position relationship is that the circular control 401 and the moon image do not have an overlapped part, the moon image in the target shooting preview interface is a full moon.
Optionally, the target adjustment control comprises a line type control 301;
the user input unit 3107 is further configured to receive an input of a user to rotate the line type control 301;
the processor 3110, further configured to control, in response to the first input, the line type control 301 and the moon image in the target preview window to rotate synchronously;
the display unit 3106 is further configured to update the month lacking direction of the moon image in the target preview window based on the rotation ending position of the line type control 301;
wherein, the moon direction of the moon image in the target preview window is the same as the direction of the target end of the line type control 301.
Optionally, the user input unit 3107 is further configured to receive a third input of the user to the N preview windows, where the third input is used to increase or decrease the preview windows of the cameras;
the processor 3110, further configured to update the N preview windows to P preview windows in response to the fourth input;
wherein P is less than N or P is more than N.
Optionally, the processor 3110 is further configured to delete a first preview window of the N preview windows if the third input is a sliding input in a first direction to both sides of the first preview window;
the processor 3110 is further configured to add a third preview window if the fourth input is a sliding input in a second direction to a target side of a second preview window of the N preview windows.
In this embodiment, when shooting the moon, the user can adjust the display parameters of the moon image in the shooting preview interface, so that even if the display state of the moon image in the shooting preview interface is not ideal due to the current state of the moon being not ideal, the display parameters of the moon image in the shooting preview interface can be adjusted to improve the display state of the moon image in the shooting preview interface, and further improve the quality of the shot moon image.
It is to be understood that, in the embodiment of the present application, the input Unit 3104 may include a Graphics Processing Unit (GPU) 31041 and a microphone 31042, and the Graphics processor 31041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 3106 may include a display panel 31061, and the display panel 31061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 3107 includes a touch panel 31071 and other input devices 31072. The touch panel 31071 is also referred to as a touch panel. The touch panel 31071 may include two parts of a touch detection device and a touch controller. Other input devices 31072 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. The memory 3109 may be used to store software programs as well as various data, including but not limited to application programs and an operating system. The processor 3110 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 is to be appreciated that the modem processor may not be integrated into the processor 3110.
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 shooting 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 execute a program or an instruction to implement each process of the above xxx method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 (26)

1. A photographing method, characterized by comprising:
receiving a first input of a user;
updating display parameters of a moon image in a photographing preview interface in response to the first input, wherein the display parameters include at least one of: characteristic attribute parameters and display attribute parameters;
capturing, by a camera, a target image including the moon image with updated display parameters.
2. The method of claim 1, wherein prior to updating the display parameters of the moon image in the capture preview interface in response to the first input, the method further comprises:
receiving a second input of a user, wherein before the second input is received, the shooting preview interface is in a single shooting preview display mode, and under the single shooting preview display mode, the shooting preview interface comprises a preview window of a camera;
updating the single shooting preview display mode of the shooting preview interface to a multi-shooting preview display mode in response to the second input;
in the multi-camera preview display mode, the shooting preview interface comprises N preview windows, and each preview window comprises a preview image acquired by a camera; the preview image displayed in each preview window includes a moon image; and N is an integer greater than 1.
3. The method of claim 2, wherein updating display parameters of a moon image in a capture preview interface in response to the first input comprises:
and updating the display parameters of the moon image in at least one of the N preview windows.
4. The method of claim 2, wherein the first input comprises a first slide sub-input of a user on the capture preview interface;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
responding to the first sliding sub input, and updating the M months bright image to a first sliding track of the first sliding sub input for displaying;
the first sliding track passes through M preview windows in the N preview windows, the first sliding track comprises M track sections, each track section is a part of the first sliding track overlapped with each preview window, and the M moon images are moon images in the M preview windows respectively; each moon image is respectively displayed on a track segment included in the preview window; m is a positive integer, and M is less than or equal to N.
5. The method of claim 2, wherein the first input comprises a second slide sub-input by a user on the capture preview interface and a move sub-input to an M-month bright image in the capture preview interface;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
in response to the second slide sub-input, displaying a trajectory line at the capture preview interface, the trajectory line indicating a slide trajectory of the second slide sub-input;
in response to the move sub-input, moving the M-month bright image onto the trajectory line and hiding the trajectory line.
6. The method of claim 2, wherein prior to receiving the first input from the user, further comprising:
displaying an adjusting control in each preview window;
the receiving a first input of a user comprises:
receiving first input of a user to a target adjusting control in N adjusting controls of the N preview windows;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
updating feature attribute parameters of the lunar image in the target preview window in response to the first input, the feature attribute parameters including at least one of: round and moon vacancy states;
the target adjusting control is an adjusting control in the target preview window, and the target preview window is any one of the N preview windows.
7. The method of claim 6, wherein the feature property parameters of the lunar image are determined from the input parameters of the first input or the control parameters of the target adjustment control;
in the case that the characteristic attribute parameters of the lunar images are input parameters according to the first input, different input parameters of the first input are used for adjusting the characteristic attribute parameters of the lunar images to different parameter values; the input parameters include at least one of: inputting direction, inputting force and inputting distance;
under the condition that the characteristic attribute parameters of the moon image are the control parameters of the target adjusting control, the first input is used for adjusting the control parameters of the adjusting control, and different control parameters correspond to different parameter values of the characteristic attribute parameters of the moon image; the control parameters include at least one of: the display direction of the control and the display position of the control.
8. The method of claim 6, wherein the target adjustment control comprises a line type control;
the receiving a first input of a user comprises:
receiving a sliding input of a user on the linear control;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
updating the circle-lacking state of the moon image in the target preview window based on the sliding direction and the sliding distance of the sliding input;
the circle-lacking state comprises a circle-changing state and a circle-lacking state, the sliding direction comprises a first direction and a second direction, the first direction is opposite to the circle-changing state, and the second direction is opposite to the circle-changing state; different sliding distances correspond to different rounding degrees.
9. The method of claim 6, wherein the target adjustment control comprises a circular control, and wherein a radius of the circular control is the same as a radius of the lunar image;
the receiving a first input of a user comprises:
receiving input of a user dragging the circular control or the moon image;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
controlling the circular control to move relative to the moon image in response to the first input;
updating the circle-lacking state of the moon image in the target preview window based on the relative position relationship between the circular control and the moon image at the first input end input moment;
wherein, when the relative position relationship is that the circular control is partially overlapped with the moon image, the moon image in the target preview window comprises a moon-absent part, and the image of the moon-absent part is the image of the overlapped part; and under the condition that the relative position relationship is that the circular control and the moon image do not have an overlapped part, the moon image in the target shooting preview interface is a full moon.
10. The method of claim 6, wherein the target adjustment control comprises a line type control;
the receiving a first input of a user comprises:
receiving input of a user for rotating the linear control;
the updating the display parameters of the moon image in the shooting preview interface in response to the first input comprises:
in response to the first input, controlling the line type control and the moon image in the target preview window to synchronously rotate;
updating the month lacking direction of the moon image in the target preview window based on the rotation ending position of the line type control;
and the moon direction of the moon image in the target preview window is the same as the direction of the target end of the line type control.
11. The method of claim 2, wherein after updating the single shot preview display mode of the capture preview interface to the multi shot preview display mode in response to the second input, the method further comprises:
receiving a third input of the N preview windows from a user, wherein the third input is used for increasing or decreasing the preview windows of the camera;
updating the N preview windows to P preview windows in response to the fourth input;
wherein P is less than N or P is more than N.
12. The method of claim 10, further comprising:
deleting a first preview window of the N preview windows when the third input is a sliding input in a first direction of two sides of the first preview window;
and under the condition that the fourth input is sliding input in a second direction of the target side edge of a second preview window in the N preview windows, adding a third preview window.
13. A camera, comprising:
the receiving module is used for receiving a first input of a user;
an updating module, configured to update display parameters of the moon image in the shooting preview interface in response to the first input, where the display parameters include at least one of: characteristic attribute parameters and display attribute parameters;
and the shooting module is used for shooting a target image through a camera, wherein the target image comprises the moon image with updated display parameters.
14. The camera of claim 13, wherein the receiving module is further configured to receive a second input from a user, wherein before receiving the second input, the preview interface is in a single shot preview display mode, and in the single shot preview display mode, the preview interface includes a preview window of a camera;
the updating module is further used for responding to the second input and updating the single shooting preview display mode of the shooting preview interface into a multi-shooting preview display mode;
in the multi-camera preview display mode, the shooting preview interface comprises N preview windows, and each preview window comprises a preview image acquired by a camera; the preview image displayed in each preview window includes a moon image; and N is an integer greater than 1.
15. The capturing device according to claim 14, wherein the updating module is specifically configured to update the display parameters of the moon image in at least one of the N preview windows.
16. The capture device of claim 14, wherein the first input comprises a first slide sub-input of a user on the capture preview interface;
the updating module is specifically configured to update the M-month bright image to a first sliding track of the first sliding sub input for display in response to the first sliding sub input;
the first sliding track passes through M preview windows in the N preview windows, the first sliding track comprises M track sections, each track section is a part of the first sliding track overlapped with each preview window, and the M moon images are moon images in the M preview windows respectively; each moon image is respectively displayed on a track segment included in the preview window; m is a positive integer, and M is less than or equal to N.
17. The camera of claim 14, wherein the first input comprises a second slide sub-input by a user on the capture preview interface and a move sub-input to a M-month bright image in the capture preview interface; the update module includes:
a display sub-module, configured to display, in response to the second slide sub-input, a trajectory line on the capture preview interface, the trajectory line indicating a slide trajectory of the second slide sub-input;
a move sub-module to move the M-month bright image onto the trajectory line and hide the trajectory line in response to the move sub-input.
18. The camera of claim 14, further comprising:
the display module is used for displaying an adjusting control in each preview window;
the receiving module is specifically configured to receive a first input of a user to a target adjustment control of the N adjustment controls of the N preview windows;
the updating module is specifically configured to update a characteristic attribute parameter of the lunar image in the target preview window in response to the first input, where the characteristic attribute parameter includes at least one of: round and moon vacancy states;
the target adjusting control is an adjusting control in the target preview window, and the target preview window is any one of the N preview windows.
19. The camera of claim 18, wherein the characteristic attribute parameters of the lunar image are determined according to the input parameters of the first input or the control parameters of the target adjustment control;
in the case that the characteristic attribute parameters of the lunar images are input parameters according to the first input, different input parameters of the first input are used for adjusting the characteristic attribute parameters of the lunar images to different parameter values; the input parameters include at least one of: inputting direction, inputting force and inputting distance;
under the condition that the characteristic attribute parameters of the moon image are the control parameters of the target adjusting control, the first input is used for adjusting the control parameters of the adjusting control, and different control parameters correspond to different parameter values of the characteristic attribute parameters of the moon image; the control parameters include at least one of: the display direction of the control and the display position of the control.
20. The camera of claim 18, wherein the target adjustment control comprises a line type control;
the receiving module is specifically configured to receive a sliding input of a user on the linear control;
the updating module is specifically configured to update the round-out state of the moon image in the target preview window based on the sliding direction and the sliding distance of the sliding input;
the circle-lacking state comprises a circle-changing state and a circle-lacking state, the sliding direction comprises a first direction and a second direction, the first direction is opposite to the circle-changing state, and the second direction is opposite to the circle-changing state; different sliding distances correspond to different rounding degrees.
21. The camera of claim 18, wherein the target adjustment control comprises a circular control, and wherein the circular control has a radius that is the same as a radius of the moon image;
the receiving module is specifically configured to receive an input that a user drags the circular control or the moon image;
the update module includes:
a control sub-module for controlling the circular control to move relative to the moon image in response to the first input;
the updating submodule is used for updating the round state of the moon image in the target preview window based on the relative position relation between the round control and the moon image at the first input end input moment;
wherein, when the relative position relationship is that the circular control is partially overlapped with the moon image, the moon image in the target preview window comprises a moon-absent part, and the image of the moon-absent part is the image of the overlapped part; and under the condition that the relative position relationship is that the circular control and the moon image do not have an overlapped part, the moon image in the target shooting preview interface is a full moon.
22. The camera of claim 18, wherein the target adjustment control comprises a line type control;
the receiving module is specifically used for receiving the input of the line type control rotated by the user;
the update module includes:
the control submodule is used for responding to the first input and controlling the line type control and the moon image in the target preview window to synchronously rotate;
the updating submodule is used for updating the month lacking direction of the moon image in the target preview window based on the rotation ending position of the linear control;
and the moon direction of the moon image in the target preview window is the same as the direction of the target end of the line type control.
23. The shooting device of claim 14, wherein the receiving module is further configured to receive a third input of the N preview windows from the user, where the third input is used to increase or decrease the preview window of the camera;
the updating module is further configured to update the N preview windows to P preview windows in response to the fourth input;
wherein P is less than N or P is more than N.
24. The photographing apparatus according to claim 22, wherein in a case where the third input is a sliding input in a first direction to both sides of a first preview window of the N preview windows, the first window is deleted;
and under the condition that the fourth input is sliding input in a second direction of the target side edge of a second preview window in the N preview windows, adding a third preview window.
25. An electronic device, characterized in that it comprises a processor, a memory and a program or instructions stored on said memory and executable on said processor, said program or instructions, when executed by said processor, implementing the steps of the shooting method according to claims 1 to 12.
26. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to claims 1 to 12.
CN202011605475.5A 2020-12-30 2020-12-30 Shooting method, shooting device, electronic equipment and readable storage medium Active CN112714256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011605475.5A CN112714256B (en) 2020-12-30 2020-12-30 Shooting method, shooting device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011605475.5A CN112714256B (en) 2020-12-30 2020-12-30 Shooting method, shooting device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112714256A true CN112714256A (en) 2021-04-27
CN112714256B CN112714256B (en) 2023-09-26

Family

ID=75547097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011605475.5A Active CN112714256B (en) 2020-12-30 2020-12-30 Shooting method, shooting device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112714256B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596331A (en) * 2021-07-29 2021-11-02 维沃移动通信(杭州)有限公司 Shooting method, shooting device, shooting equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NZ517713A (en) * 2002-06-25 2005-03-24 Puredepth Ltd Enhanced viewing experience of a display through localised dynamic control of background lighting level
US20150128035A1 (en) * 2012-05-21 2015-05-07 Sony Corporation User interface, information display method, and computer readable medium
CN107222677A (en) * 2017-05-27 2017-09-29 成都通甲优博科技有限责任公司 The method and device that multi-cam is opened simultaneously
US20180365856A1 (en) * 2017-06-20 2018-12-20 Adobe Systems Incorporated Digital Image Generation and Capture Hint Data
CN109743498A (en) * 2018-12-24 2019-05-10 维沃移动通信有限公司 A kind of shooting parameter adjustment method and terminal device
CN109859102A (en) * 2019-02-01 2019-06-07 北京达佳互联信息技术有限公司 Special display effect method, apparatus, terminal and storage medium
CN109951633A (en) * 2019-02-18 2019-06-28 华为技术有限公司 A kind of method and electronic equipment shooting the moon
CN110913131A (en) * 2019-11-21 2020-03-24 维沃移动通信有限公司 Moon shooting method and electronic equipment
CN111654635A (en) * 2020-06-30 2020-09-11 维沃移动通信有限公司 Shooting parameter adjusting method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NZ517713A (en) * 2002-06-25 2005-03-24 Puredepth Ltd Enhanced viewing experience of a display through localised dynamic control of background lighting level
US20150128035A1 (en) * 2012-05-21 2015-05-07 Sony Corporation User interface, information display method, and computer readable medium
CN107222677A (en) * 2017-05-27 2017-09-29 成都通甲优博科技有限责任公司 The method and device that multi-cam is opened simultaneously
US20180365856A1 (en) * 2017-06-20 2018-12-20 Adobe Systems Incorporated Digital Image Generation and Capture Hint Data
CN109743498A (en) * 2018-12-24 2019-05-10 维沃移动通信有限公司 A kind of shooting parameter adjustment method and terminal device
CN109859102A (en) * 2019-02-01 2019-06-07 北京达佳互联信息技术有限公司 Special display effect method, apparatus, terminal and storage medium
CN109951633A (en) * 2019-02-18 2019-06-28 华为技术有限公司 A kind of method and electronic equipment shooting the moon
CN110913131A (en) * 2019-11-21 2020-03-24 维沃移动通信有限公司 Moon shooting method and electronic equipment
CN111654635A (en) * 2020-06-30 2020-09-11 维沃移动通信有限公司 Shooting parameter adjusting method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁海宴, 赵莉: "走向边缘的摄影观念", 现代传播, no. 06 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596331A (en) * 2021-07-29 2021-11-02 维沃移动通信(杭州)有限公司 Shooting method, shooting device, shooting equipment and storage medium
CN113596331B (en) * 2021-07-29 2024-01-23 维沃移动通信(杭州)有限公司 Shooting method, shooting device, shooting equipment and storage medium

Also Published As

Publication number Publication date
CN112714256B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN112492212B (en) Photographing method and device, electronic equipment and storage medium
CN112637507B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112714255B (en) Shooting method and device, electronic equipment and readable storage medium
CN111669506A (en) Photographing method and device and electronic equipment
CN111669507A (en) Photographing method and device and electronic equipment
CN112954193B (en) Shooting method, shooting device, electronic equipment and medium
US20220182551A1 (en) Display method, imaging method and related devices
CN112099707A (en) Display method and device and electronic equipment
CN112887617B (en) Shooting method and device and electronic equipment
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN113923350A (en) Video shooting method and device, electronic equipment and readable storage medium
CN112911147A (en) Display control method, display control device and electronic equipment
WO2022156673A1 (en) Display control method and apparatus, electronic device, and medium
CN112367465B (en) Image output method and device and electronic equipment
CN112714256A (en) Photographing method, photographing apparatus, electronic device, and readable storage medium
CN112492205B (en) Image preview method and device and electronic equipment
CN112333395B (en) Focusing control method and device and electronic equipment
CN112584110B (en) White balance adjusting method and device, electronic equipment and storage medium
CN112887624B (en) Shooting method and device and electronic equipment
CN112954197A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN111756998B (en) Composition method, composition device and electronic equipment
CN114500852B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114040099A (en) Image processing method and device and electronic equipment
CN117336458A (en) Image processing method, device, equipment and medium
CN114531547A (en) Image processing 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