CN110505400B - Preview image display adjustment method and terminal - Google Patents

Preview image display adjustment method and terminal Download PDF

Info

Publication number
CN110505400B
CN110505400B CN201910757130.2A CN201910757130A CN110505400B CN 110505400 B CN110505400 B CN 110505400B CN 201910757130 A CN201910757130 A CN 201910757130A CN 110505400 B CN110505400 B CN 110505400B
Authority
CN
China
Prior art keywords
input
target control
adjusting
preview interface
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910757130.2A
Other languages
Chinese (zh)
Other versions
CN110505400A (en
Inventor
杨其豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910757130.2A priority Critical patent/CN110505400B/en
Publication of CN110505400A publication Critical patent/CN110505400A/en
Application granted granted Critical
Publication of CN110505400B publication Critical patent/CN110505400B/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

Abstract

The invention provides a preview image display adjusting method and a terminal, and relates to the technical field of communication. The preview image display adjustment method comprises the following steps: receiving sliding input of a user on a target control; responding to the sliding input, and adjusting the visual angle of a target area in a shooting preview interface; wherein the target area is associated with a display position of the target control. By the scheme, the user can conveniently take pictures at a super wide angle according to the requirement.

Description

Preview image display adjustment method and terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a preview image display adjusting method and a terminal.
Background
The photographing of the mobile phone becomes the most important application of the mobile phone, when the ultra-wide-angle photographing is performed by using the mobile phone, the photographing can be performed only in a direct-contact ultra-wide-angle mode, the visual angle is fixed, the visual angle cannot be adjusted according to the requirements of users, and the visual angle adjustment requirements of the users cannot be met.
Disclosure of Invention
The embodiment of the invention provides a preview image display adjusting method and a terminal, and aims to solve the problems that an existing terminal is in an ultra-wide-angle photographing mode, the visual angle is fixed, the visual angle cannot be adjusted according to user requirements, and the user requirements cannot be met.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for adjusting display of a preview image, including:
receiving sliding input of a user on a target control;
responding to the sliding input, and adjusting the visual angle of a target area in a shooting preview interface;
wherein the target area is associated with a display position of the target control.
In a second aspect, an embodiment of the present invention further provides a terminal, including:
the first receiving module is used for receiving sliding input of a user on the target control;
the adjusting module is used for responding to the sliding input and adjusting the size of the visual angle of the target area in the shooting preview interface;
wherein the target area is associated with a display position of the target control.
Specifically, the adjusting module is configured to implement at least one of:
zooming out or magnifying the viewing angle;
enlarging the visual angle of a target area in a shooting preview interface;
and reducing the visual angle of the target area in the shooting preview interface.
Optionally, the adjusting module includes:
the updating unit is used for responding to the sliding input and updating the display position of the target control;
and the first adjusting unit is used for adjusting the visual angle size of a target area of a preset range including the final display position of the target control.
Further, the first adjusting unit includes:
the acquisition subunit is used for acquiring the coverage area of the target control;
the adjusting subunit is configured to adjust, based on a coverage area of a target control, a view angle of a target area in a preset range including a final display position of the target control;
wherein the coverage area is positively correlated with the viewing angle size of the target area.
Further, before the first adjusting unit adjusts the size of the angle of view of the target area including the preset range of the final display position of the target control, the adjusting module further includes:
the receiving unit is used for receiving a first input of the target control;
and the second adjusting unit is used for responding to the first input and adjusting the coverage area of the target control on the photographing preview boundary.
Optionally, the adjusting module includes:
an acquisition unit configured to acquire a sliding direction and a sliding trajectory of the sliding input;
and the third adjusting unit is used for adjusting the size of the visual angle of the target area based on the sliding direction and the sliding track of the sliding input.
Optionally, the terminal further includes:
the second receiving module is used for receiving a second input of the target control;
the execution module is used for responding to the second input and canceling the k-th adjustment of the visual angle of the target area in the shooting preview interface;
wherein the adjustment time of the k-th adjustment is earlier than the input time of the second input and has a minimum time interval with the input time of the second input; k is a positive integer.
Optionally, before the first receiving module receives a sliding input of a user on a target control, the method further includes:
the third receiving module is used for receiving a third input of the user;
the determining module is used for responding to the third input and determining a first proportion of a display visual angle of a shooting preview interface, wherein the acquisition time of the first proportion is earlier than the input time of the third input and the time interval between the acquisition time of the first proportion and the input time of the third input is minimum;
and the display module is used for displaying a shooting preview interface according to the first proportion.
In a third aspect, an embodiment of the present invention further provides a terminal, including: the preview image display adjusting method comprises the steps of a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the steps of the preview image display adjusting method are realized when the computer program is executed by the processor.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for adjusting display of a preview image are implemented.
In the embodiment of the invention, the visual angle of the target area in the shooting preview interface is adjusted by receiving the sliding input of the user on the target control and responding to the sliding input, and different target areas are determined by the sliding input of the target control and the display position of the target control, so that the visual angle of any target area can be adjusted, and the adjustment of the visual angle is more flexible, thereby facilitating the user to take a picture at a super-wide angle as required.
Drawings
FIG. 1 is a flowchart illustrating a preview image display adjustment method according to an embodiment of the present invention;
fig. 2 is a view showing one of user operation states for switching from the camera preview interface to the ultra-wide angle photographing preview interface;
FIG. 3 is a second schematic diagram illustrating a user operation state for switching from the camera preview interface to the ultra-wide angle shooting preview interface;
FIG. 4 is a schematic view showing a user operating state with an enlarged view angle;
FIG. 5 is a diagram illustrating a user operation state of the photographing mode adjustment;
FIG. 6 is a schematic diagram showing a user operating state in which a previous adjustment to the view angle scale is undone;
fig. 7 is a view showing one of user operation states for adjusting the scale of the angle of view of the partial position of the preview image;
FIG. 8 is a second schematic diagram illustrating a user operation state for adjusting the view angle of the local position of the preview image;
fig. 9 is a view showing a user operation state for switching from the ultra-wide angle photographing preview interface to the camera preview interface;
fig. 10 shows one of the block diagrams of a terminal according to an embodiment of the present invention;
fig. 11 is a second block diagram of a terminal according to the embodiment of the present invention;
FIG. 12 shows a block schematic diagram of a first conditioning unit of an embodiment of the invention;
fig. 13 is a third block diagram of a terminal according to an embodiment of the present invention;
FIG. 14 is a block diagram of a terminal according to an embodiment of the present invention;
fig. 15 shows a fifth module diagram of the terminal according to the embodiment of the present invention;
fig. 16 shows a sixth module of the terminal according to the embodiment of the present invention;
fig. 17 is a schematic diagram showing a hardware configuration of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for adjusting display of a preview image, including:
step 101, receiving sliding input of a user on a target control;
it should be noted that the sliding input may be a sliding operation through a target control, and the target control moves along with a sliding track, for example, an initial position of the sliding track of the user is at a display position of the target control, and in a sliding process of the user, the target control moves along with the sliding track; or the sliding input may be a dragging operation of the user dragging the target control.
Step 102, responding to the sliding input, and adjusting the size of a visual angle of a target area in a shooting preview interface;
it should be noted that the target area refers to a preview image of a specific area in the shooting preview interface; the target area is associated with the display position of the target control, that is, the target area is determined by the target control.
It should be noted that the embodiment of the present invention mainly achieves adjusting the ratio of the display view angles of the preview images on the shooting preview interface, and specifically, the target control is displayed on the shooting preview interface.
Specifically, the embodiment of the present invention is mainly applied to the ultra-wide-angle photographing mode, and the photographing preview interface is an ultra-wide-angle photographing preview interface.
It should be noted that the target control is mainly used for performing a condition of a viewing angle, in order to increase the variety of adjustment of the preview image on the shooting preview interface, a shooting mode adjustment control may also be added, and the target control may be displayed in the same area as the shooting mode adjustment control, or may be displayed in different areas of the shooting preview interface independently.
It should be further noted that, in the case that the terminal has the photographing mode adjustment control, the preview image display adjustment method further includes:
receiving input to the photographing mode adjustment control; and responding to the input, adjusting a photographing mode of the preview image in the photographing preview interface, and displaying the adjusted preview image on the photographing preview interface.
It should be noted that the photographing mode may include: a beauty mode, a filter mode, a dynamic photo mode, a high definition dynamic range image (HDR) mode, etc.
In other words, in this way, the user can not only adjust the display view angle ratio (i.e., the view angle ratio) of the preview image on the shooting preview interface, but also adjust the shooting mode of the preview image, and can shoot ultra-wide-angle pictures in various forms.
When the embodiment of the present invention is implemented, first, an ultra-wide-angle shooting preview interface is entered, it should be noted that when the terminal enters the shooting preview interface, the angle of view of the preview image may be displayed according to a ratio (that is, a default ratio of the display angle of view) set by a user in advance, or the angle of view of the preview image may be displayed according to a ratio of the display angle of view set by the user before according to a user requirement, and the following describes the embodiment of the present invention in detail from these two angles, respectively.
Opening an ultra-wide-angle shooting preview interface, and displaying the display visual angle of the preview image according to the default display visual angle
In this case, before step 101, the method further includes:
receiving a third input of the user; and responding to the third input, and displaying a super-wide-angle shooting preview interface according to a preset display visual angle proportion, wherein a target control is displayed on the super-wide-angle shooting preview interface.
It should be noted that the preset display view angle ratio refers to a default display view angle ratio, that is, each time the super-wide shooting preview interface is opened, the preview image will be displayed using the default display view angle ratio.
It should be noted that the third input may be a slide input, a press input, a click input, a long press input, or the like, that is, the third input is an operation performed by the user on the interface of the terminal to call up the shooting preview interface, and specifically, the user may enter the ultra-wide-angle shooting preview interface through a slide operation, a press operation, a click operation, a long press operation, or the like.
For example, as shown in fig. 2, on the camera preview interface, the user uses two fingers to perform a sliding operation in a downward arrow direction in the left diagram, the terminal performs interface switching to display the ultra-wide-angle shooting preview interface, as shown in the right diagram in the figure, the target control 10 and the shooting mode adjustment control 20 are displayed on the ultra-wide-angle shooting preview interface, both of which are displayed in the same area, the target control 10 is represented by a solid circle, and the shooting mode adjustment control 20 is represented by a dotted circle, and the adjustment of the four shooting modes, i.e., the beauty mode, the filter mode, the dynamic photo mode, and the HDR mode, can be implemented in the figure. In this case, the preview image on the super-wide-angle shooting preview interface is in the default display view angle ratio, that is, the user displays the preview image in the default display view angle ratio when entering the super-wide-angle shooting preview interface for multiple times under different conditions.
And secondly, when the super-wide-angle shooting preview interface is opened, displaying the view angle of the preview image according to the proportion of the display view angle set by the user before
In this case, before step 101, the method further includes:
receiving a third input of the user; and responding to the third input, determining a first proportion of a display visual angle of the shooting preview interface, wherein the acquisition time of the first proportion is earlier than the input time of the third input, and the time interval between the acquisition time of the first proportion and the input time of the third input is minimum, and displaying the shooting preview interface according to the first proportion.
It should be noted that the third input may be a slide input, a press input, a click input, a long press input, or the like, that is, the third input is an operation performed by the user on the interface of the terminal to call up the shooting preview interface, and specifically, the user may enter the ultra-wide-angle shooting preview interface through a slide operation, a press operation, a click operation, a long press operation, or the like.
It should be noted that, in this case, the terminal needs to store the ratio of the display viewing angle, for example, the terminal may store the ratio of the display viewing angle adjusted last time according to the setting of the user; it should also be noted that the terminal may also collect the user's needs in real time, and store the proportion of one display viewing angle most used (or most interesting) by the user.
For example, as shown in fig. 3, on the camera preview interface, the user uses two fingers to perform a sliding operation along the left arrow direction in the left diagram, the terminal performs interface switching, and displays an ultra-wide-angle shooting preview interface, as shown in the right diagram in the figure, a target control 10 and a shooting mode adjustment control 20 are displayed on the ultra-wide-angle shooting preview interface, both of which are displayed in the same area, the target control 10 is represented by a solid circle, and the shooting mode adjustment control 20 is represented by a dotted circle, and the adjustment of four shooting modes, i.e., a beauty mode, a filter mode, a dynamic photo mode, and an HDR mode, can be implemented in the figure. In this case, the preview image on the super-wide-angle shooting preview interface is the ratio of the display view angle adjusted last time, that is, when the user enters the super-wide-angle shooting preview interface for multiple times under different conditions, the preview image is displayed according to the ratio of the previous display view angle.
It should be noted that, in this way, the operation time of the user can be reduced by directly entering the mode of setting the ratio of the viewing angle, and the user can perform the photographing operation by entering the super-wide angle photographing preview interface.
In both cases, the third input may be distinguished by different user operations, such as a sliding operation, a pressing operation; it is also possible to use different operating characteristics for distinguishing, for example, the user uses a sliding operation in both cases, only the direction of the sliding operation is different, i.e. different cases are distinguished by different sliding directions.
It is further noted that, the adjusting of the size of the view angle of the target area in the shooting preview interface includes at least one of the following:
zooming out or magnifying the viewing angle;
enlarging the visual angle of a target area in a shooting preview interface;
and reducing the visual angle of the target area in the shooting preview interface.
For example, as shown in fig. 4, a solid circle on the ultra-wide-angle shooting preview interface represents the target control 10, and when the user drags the solid circle to rotate clockwise along an arrow in the figure, it represents that an operation of enlarging the angle of view is performed, and at this time, as shown in the right-side figure, the ratio of the angle of view of the preview image on the ultra-wide-angle shooting preview interface becomes large, and the ratio of the object in the preview image on the ultra-wide-angle shooting preview interface becomes small; when the user drags the solid line circle to rotate counterclockwise, the operation of reducing the angle of view is performed, and at this time, the ratio of the angle of view of the preview image on the ultra-wide-angle shooting preview interface becomes smaller, and the ratio of the object in the preview image on the ultra-wide-angle shooting preview interface becomes larger.
In the embodiment of the present invention, the adjustment of the photographing mode may also be implemented, for example, as shown in fig. 5, the photographing mode adjustment control 20 is represented by a dashed circle, and the adjustment of four photographing modes, i.e., a beauty mode, a filter mode, a dynamic photo mode, and an HDR mode, may be implemented, where the uppermost side of the photographing mode adjustment control 20 is regarded as the mode selected state, the left side indicates that the preview image is in the beauty mode, and if the user wants to adjust the photographing mode, the photographing mode that needs to be adjusted is pressed and adjusted to the selected state, the user drags the photographing mode adjustment control 20 to rotate the photographing mode in the direction of the arrow in the drawing, and adjusts the filter mode to the selected state, as shown in the right side drawing, at this time, the adjustment of the photographing mode is completed.
It should be further noted that, after the user performs a scale adjustment of the display viewing angle once, the adjustment may not meet the use requirement of the user, in the embodiment of the present invention, the cancellation of the adjustment may be implemented, specifically, the implementation process is as follows:
receiving a second input to the target control, and canceling the kth adjustment of the view angle of the target area in the shooting preview interface in response to the second input;
wherein the adjustment time of the k-th adjustment is earlier than the input time of the second input and has a minimum time interval with the input time of the second input; k is a positive integer.
It should be noted that the second input may be a slide input, a press input, a click input, a long press input, or the like, that is, the second input is an operation of canceling the adjustment performed by the user on the interface of the terminal, and specifically, the user may cancel the adjustment of the view angle ratio through a slide operation, a press operation, a click operation, a long press operation, or the like.
It should be noted that, in the embodiment of the present invention, previous adjustment is cancelled, for example, when a user performs adjustment of the size of a view angle once, but this adjustment does not meet the use requirement of the user, the user may cancel the current adjustment by performing a sliding operation on the target control.
For example, as shown in fig. 6, fig. 6 includes a target control 10 and a photographing mode adjustment control 20, which are displayed in the same area, the target control 10 is represented by a solid circle, the photographing mode adjustment control 20 is represented by a dotted circle, and the solid line circle is positioned inside the dotted line circle, when the user performs the scale adjustment once, the scale of the display viewing angle is enlarged and adjusted, however, the user is not satisfied with the current adjustment, and wants to return to the state before adjustment, at this time, the user drags the solid line circle in the drawing to slide it along the left arrow direction, and slides it outside the dotted line circle, at this time, the terminal cancels the last adjustment of the ratio of the viewing angle, the ratio of the viewing angle returns to the state before adjustment, as shown in the right-hand side of the figure, the view angle scale is reduced, and the scale of the object in the preview image on the ultra-wide-angle shooting preview interface is increased. It should be noted that, if the user wants to return to the proportional state before the revocation after the revocation in fig. 6 is performed, the solid line circle may be dragged to slide to the right side and slide outside the dotted line circle, and at this time, the proportion of the angle of view returns to the state before the revocation, that is, the proportion of the angle of view of the preview image is enlarged on the original basis, and the proportion of the object in the preview image on the super-wide-angle shooting preview interface becomes smaller.
It should be further noted that, in the embodiment of the present invention, when the angle of view of the shooting preview interface is adjusted, the preview image on the whole shooting preview interface may be adjusted, that is, the target area is the whole shooting preview interface, or a part of the preview image is adjusted, that is, the target area is a part of the shooting preview interface, which will be described below separately.
Firstly, adjusting the whole shooting preview interface
Specifically, in this case, the specific implementation manner of step 102 is:
acquiring the sliding direction and the sliding track of the sliding input;
and adjusting the size of the visual angle of the target area based on the sliding direction and the sliding track of the sliding input.
It should be noted that, in this case, the adjustment of the whole shooting preview interface is realized by performing sliding operations in different sliding directions on the target control, for example, when the user performs clockwise rotation on the target control, the angle of view of the whole shooting preview interface is enlarged, as shown in fig. 4 specifically; for example, when the user performs counterclockwise rotation on the target control, zooming out of the angle of view of the entire shooting preview interface is performed.
It should be noted that, by this way, the adjustment of the view angle of the whole shooting preview interface can be realized, so that the view angles of different areas have the same view angle, and a user can shoot images with the same view angle conveniently.
Secondly, adjusting the local shooting preview interface
Specifically, in this case, the specific implementation manner of step 102 is:
updating the display position of the target control in response to the sliding input;
and adjusting the visual angle size of a target area of a preset range including the final display position of the target control.
Specifically, in this case, the position of the target control is moved, and the preset range of the final display position of the target control may be set in advance by the user.
Specifically, the manner of adjusting the size of the view angle of the target area in the preset range including the final display position of the target control is as follows: acquiring the coverage area of the target control, and adjusting the visual angle of a target area in a preset range including the final display position of the target control based on the coverage area of the target control;
wherein the coverage area is positively correlated with the viewing angle size of the target area.
It should be noted that, in this case, the size of the view angle is adjusted according to the coverage area of the target control, that is, different coverage areas correspond to different view angle proportions; in the embodiment of the invention, the larger the coverage area is, the larger the visual angle of the target area is, and the smaller the coverage area is, the smaller the visual angle of the target area is.
In this way, the user drags the target control to a position of the preview image when the user wants to adjust the view angle of the position, and the view angle of the target area corresponding to the position is adjusted according to the coverage area of the target control.
For example, after the user presets to drag the target control 10 to a predetermined area, it is performed that the ratio of the viewing angles of the target area including the predetermined area is adjusted according to the coverage area of the target control, as shown in fig. 7, the target control 10 is represented by a solid circle, the user drags the solid circle to a predetermined position of the preview image along the arrow direction, the proportion of the viewing angle of the target area containing the predetermined position is adjusted according to the coverage area of the target control 10, for example, the coverage area of the target control 10 in the left side of fig. 7 is shown as a dashed box, the view angle ratio of the target area including the predetermined area where the target control 10 is located is adjusted according to the coverage area of the target control 10, and after the adjustment, as shown in the right side of fig. 7, the view angle of the target area is increased, that is, the ratio of the object in the preview image on the super-wide-angle shooting preview interface is decreased.
It should be further noted that the user may also adjust the view angle ratio of the target area by adjusting the coverage area of the target control, for example, if the user enlarges the coverage area of the target control, the view angle ratio of the target area is enlarged; and if the user reduces the coverage area of the target control, reducing the proportion of the visual angle of the target area.
For example, after the user presets dragging the target control to a preset area, the coverage area of the target control is reduced, the view angle of the target area is scaled down, as shown in fig. 8, the target control 10 is represented by a solid circle, and the user drags the solid circle to a predetermined position of the preview image, adjusts the area of the solid circle, the scale of the angle of view at the predetermined position is made to decrease as the area of the solid line circle becomes smaller, for example, in the left diagram of fig. 8, the coverage area of the target control 10 is adjusted from the original circle to an ellipse, the coverage area is reduced, the target area including the preset range of the final display position of the target control 10 before the adjustment is displayed without an object, after the coverage area of the target control 10 is reduced, the view angle scale is also reduced, as shown in the right-hand diagram of fig. 8, the target area indicated by the target control 10 in the right-hand drawing has been displayed with the object 1.
It should be noted that, in this case, different coverage areas of the target control correspond to different view angle proportions, for example, the coverage area of the target control includes the following reference values: 0.25 square centimeter, 1 square centimeter, 2.25 square centimeter, 4 square centimeter, respectively corresponding to the visual angle ratio of 0.75, 1, 1.25, 1.5, adjusting the coverage area to different sizes, then the visual angle ratio is correspondingly adjusted to the corresponding ratio size.
It should be noted that the view angle ratio of the target area can be rapidly adjusted to the specified size according to the coverage area of the target control, so that the view angle ratio of the target area can be conveniently adjusted.
It should be further noted that when the user does not need to perform super-wide-angle photographing, the terminal needs to exit the super-wide-angle photographing preview interface, in this case, the terminal may capture a specific operation performed by the user on the super-wide-angle photographing preview interface, and then return to the camera preview interface, for example, as shown in fig. 9, on the super-wide-angle photographing preview interface, the user performs a sliding operation in a direction of a downward arrow in the left diagram using two fingers, and the terminal performs interface switching to display the camera preview interface, as shown in the right diagram in fig. 9.
It should be noted that, by this way, the adjustment of the view angle size of the local area at any position of the shooting preview interface can be realized, so that one image shot by the user has different view angles, and the layering of the shot image is increased.
According to the embodiment of the invention, the proportion and the photographing mode of the visual angle are adjusted on the ultra-wide-angle photographing preview interface, so that the ultra-wide-angle photographing is conveniently carried out by a user according to the requirement, and the photographing experience of the user is improved.
As shown in fig. 10 to 16, an embodiment of the present invention further provides a terminal, including:
a first receiving module 1001, configured to receive a sliding input of a user on a target control;
an adjusting module 1002, configured to adjust a size of a view angle of a target area in a shooting preview interface in response to the sliding input;
wherein the target area is associated with a display position of the target control.
Specifically, the adjusting module 1002 is configured to implement at least one of the following:
zooming out or magnifying the viewing angle;
enlarging the visual angle of a target area in a shooting preview interface;
and reducing the visual angle of the target area in the shooting preview interface.
Optionally, the adjusting module 1002 includes:
an updating unit 10021, configured to update the display position of the target control in response to the sliding input;
the first adjusting unit 10022 is configured to adjust a viewing angle size of a target area including a preset range of a final display position of the target control.
Further, the first adjusting unit 10022 includes:
an obtaining subunit 100221, configured to obtain a coverage area of the target control;
an adjusting subunit 100222, configured to adjust, based on a coverage area of a target control, a size of a viewing angle of a target area in a preset range including a final display position of the target control;
wherein the coverage area is positively correlated with the viewing angle size of the target area.
Further, before the first adjusting unit 10022 adjusts the size of the angle of view of the target area including the preset range of the final display position of the target control, the adjusting module 1002 further includes:
a receiving unit 10023, configured to receive a first input to the target control;
the second adjusting unit 10024 is configured to adjust a coverage area of the target control on the photo preview boundary in response to the first input.
Optionally, the adjusting module 1002 includes:
an acquiring unit 10025, configured to acquire a sliding direction and a sliding trajectory of the sliding input;
a third adjusting unit 10026 is configured to adjust the size of the angle of view of the target area based on the sliding direction and the sliding trajectory of the sliding input.
Optionally, the terminal further includes:
a second receiving module 1003, configured to receive a second input to the target control;
the execution module 1004 is configured to cancel the kth adjustment of the view angle size of the target area in the shooting preview interface in response to the second input;
wherein the adjustment time of the k-th adjustment is earlier than the input time of the second input and has a minimum time interval with the input time of the second input; k is a positive integer.
Optionally, before the first receiving module 1001 receives a sliding input of a user on a target control, the method further includes:
a third receiving module 1005, configured to receive a third input from the user;
a determining module 1006, configured to determine, in response to the third input, a first proportion of a display viewing angle of the shooting preview interface, where an acquisition time of the first proportion is earlier than an input time of the third input and a time interval between the acquisition time and the input time of the third input is minimum;
a display module 1007, configured to display a shooting preview interface according to the first ratio.
The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the method embodiment of fig. 1, and is not described herein again to avoid repetition. The terminal of the embodiment of the invention receives the sliding input of the user on the target control, responds to the sliding input, adjusts the visual angle size of the target area in the shooting preview interface, determines different target areas through the sliding input of the target control and the display position of the target control, can adjust the visual angle size of any target area, and is more flexible in adjusting the visual angle size, thereby facilitating the user to take a picture at a super wide angle according to the requirement.
Fig. 17 is a schematic diagram of a hardware structure of a terminal for implementing an embodiment of the present invention.
The terminal 170 includes but is not limited to: radio frequency unit 1710, network module 1720, audio output unit 1730, input unit 1740, sensors 1750, display unit 1760, user input unit 1770, interface unit 1780, memory 1790, processor 1711, and power supply 1712. Those skilled in the art will appreciate that the terminal configuration shown in fig. 17 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 1711 is configured to receive a sliding input of the user on the target control;
responding to the sliding input, and adjusting the visual angle of a target area in a shooting preview interface;
wherein the target area is associated with a display position of the target control.
The terminal of the embodiment of the invention receives the sliding input of the user on the target control, responds to the sliding input, adjusts the visual angle size of the target area in the shooting preview interface, determines different target areas through the sliding input of the target control and the display position of the target control, can adjust the visual angle size of any target area, and is more flexible in adjusting the visual angle size, thereby facilitating the user to take a picture at a super wide angle according to the requirement.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1710 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data in the processor 1711; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1710 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 1720, such as assisting the user in emailing, browsing web pages, and accessing streaming media.
The audio output unit 1730 may convert audio data received by the radio frequency unit 1710 or the network module 1720 or stored in the memory 1790 into an audio signal and output as sound. Also, the audio output unit 1730 may also provide audio output related to a specific function performed by the terminal 170 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1730 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1740 is used to receive an audio or video signal. The input Unit 1740 may include a Graphics Processing Unit (GPU) 1741 and a microphone 1742, and the Graphics processor 1741 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1760. The image frames processed by the graphic processor 1741 may be stored in the memory 1790 (or other storage medium) or transmitted via the radio frequency unit 1710 or the network module 1720. The microphone 1742 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1710 in case of a phone call mode.
The terminal 170 also includes at least one sensor 1750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display 1761 according to the brightness of ambient light, and a proximity sensor that turns off the display 1761 and/or a backlight when the terminal 170 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 1750 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 1760 is used to display information input by the user or information provided to the user. The Display unit 176 may include a Display panel 1761, and the Display panel 1761 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1770 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 1770 includes a touch panel 1771 and other input devices 1772. The touch panel 1771, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1771 (e.g., operations by a user on or near the touch panel 1771 using a finger, a stylus, or any suitable object or attachment). The touch panel 1771 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1711, and receives and executes commands sent by the processor 1711. In addition, the touch panel 1771 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1771, the user input unit 177 may also include other input devices 1772. In particular, other input devices 1772 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1771 can overlie the display 1761 such that when a touch event is detected at or near the touch panel 1771, the touch event is transmitted to the processor 1711 to determine the type of touch event, and the processor 1711 can provide a corresponding visual output at the display 1761 based on the type of touch event. Although the touch panel 1771 and the display panel 1761 are shown in fig. 17 as two separate components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1771 and the display panel 1761 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 1780 is an interface for connecting an external device with the terminal 170. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1780 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 170 or may be used to transmit data between the terminal 170 and an external device.
The memory 1790 may be used to store software programs as well as various data. The memory 1790 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Additionally, the memory 1790 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1711 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1790 and calling data stored in the memory 1790, thereby monitoring the entire terminal. Processor 1711 may include one or more processing units; preferably, the processor 1711 may integrate an application processor, which handles primarily the operating system, user interface, and applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1711.
The terminal 170 may also include a power supply 1712 (e.g., a battery) for powering the various components, and preferably, the power supply 1712 may be logically coupled to the processor 1711 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the terminal 170 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 1711, a memory 1790, and a computer program stored in the memory 1790 and capable of running on the processor 1711, where the computer program, when executed by the processor 1711, implements each process of the preview image display adjustment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the preview image display adjustment method, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (14)

1. A preview image display adjustment method is characterized by comprising the following steps:
receiving sliding input of a user on a target control displayed on a shooting preview interface;
responding to the sliding input, and adjusting the visual angle of a target area in a shooting preview interface;
displaying the adjusted preview image on the shooting preview interface;
the adjusting the view angle size of the target area in the shooting preview interface in response to the sliding input comprises:
updating the display position of the target control in response to the sliding input;
and adjusting the visual angle size of a target area of a preset range including the final display position of the target control.
2. The preview image display adjustment method of claim 1, wherein the adjusting of the size of the angle of view of the target area in the capture preview interface comprises at least one of:
enlarging the visual angle of a target area in a shooting preview interface;
and reducing the visual angle of the target area in the shooting preview interface.
3. The preview image display adjustment method of claim 1, wherein the adjusting of the size of the angle of view of the target area including the preset range of the final display position of the target control comprises:
acquiring the coverage area of the target control;
adjusting the visual angle size of a target area in a preset range including the final display position of the target control based on the coverage area of the target control;
wherein the coverage area is positively correlated with the viewing angle size of the target area.
4. The preview image display adjustment method of claim 1, further comprising, before the adjusting a view angle size of a target area including a preset range of a final display position of the target control:
receiving a first input to the target control;
and responding to the first input, and adjusting the coverage area of the target control on the photographing preview boundary.
5. The preview image display adjustment method according to claim 1, further comprising:
receiving a second input to the target control;
in response to the second input, undoing the kth adjustment of the view angle size of the target area in the shooting preview interface;
wherein the adjustment time of the k-th adjustment is earlier than the input time of the second input and has a minimum time interval with the input time of the second input; k is a positive integer.
6. The preview image display adjustment method of claim 1, further comprising, prior to said receiving a user slide input on a target control:
receiving a third input of the user;
responding to the third input, determining a first proportion of a display visual angle of a shooting preview interface, wherein the acquisition time of the first proportion is earlier than the input time of the third input and the time interval between the acquisition time of the first proportion and the input time of the third input is minimum;
and displaying a shooting preview interface according to the first proportion.
7. A terminal, comprising:
the first receiving module is used for receiving sliding input of a user on a target control displayed on a shooting preview interface;
the adjusting module is used for responding to the sliding input and adjusting the size of the visual angle of the target area in the shooting preview interface;
the terminal is further configured to: displaying the adjusted preview image on the shooting preview interface;
the adjustment module includes:
the updating unit is used for responding to the sliding input and updating the display position of the target control;
and the first adjusting unit is used for adjusting the visual angle size of a target area of a preset range including the final display position of the target control.
8. The terminal of claim 7, wherein the adjusting module is configured to implement at least one of:
enlarging the visual angle of a target area in a shooting preview interface;
and reducing the visual angle of the target area in the shooting preview interface.
9. The terminal of claim 7, wherein the first adjusting unit comprises:
the acquisition subunit is used for acquiring the coverage area of the target control;
the adjusting subunit is configured to adjust, based on a coverage area of a target control, a view angle of a target area in a preset range including a final display position of the target control;
wherein the coverage area is positively correlated with the viewing angle size of the target area.
10. The terminal of claim 7, wherein before the first adjusting unit adjusts the size of the viewing angle of the target area including the preset range of the final display position of the target control, the adjusting module further comprises:
the receiving unit is used for receiving a first input of the target control;
and the second adjusting unit is used for responding to the first input and adjusting the coverage area of the target control on the photographing preview boundary.
11. The terminal of claim 7, further comprising:
the second receiving module is used for receiving a second input of the target control;
the execution module is used for responding to the second input and canceling the k-th adjustment of the visual angle of the target area in the shooting preview interface;
wherein the adjustment time of the k-th adjustment is earlier than the input time of the second input and has a minimum time interval with the input time of the second input; k is a positive integer.
12. The terminal of claim 7, before the first receiving module receives a user sliding input on a target control, further comprising:
the third receiving module is used for receiving a third input of the user;
the determining module is used for responding to the third input and determining a first proportion of a display visual angle of a shooting preview interface, wherein the acquisition time of the first proportion is earlier than the input time of the third input and the time interval between the acquisition time of the first proportion and the input time of the third input is minimum;
and the display module is used for displaying a shooting preview interface according to the first proportion.
13. A terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the preview image display adjustment method of any one of claims 1 to 6.
14. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps of the preview image display adjusting method according to any one of claims 1 to 6.
CN201910757130.2A 2019-08-16 2019-08-16 Preview image display adjustment method and terminal Active CN110505400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910757130.2A CN110505400B (en) 2019-08-16 2019-08-16 Preview image display adjustment method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910757130.2A CN110505400B (en) 2019-08-16 2019-08-16 Preview image display adjustment method and terminal

Publications (2)

Publication Number Publication Date
CN110505400A CN110505400A (en) 2019-11-26
CN110505400B true CN110505400B (en) 2021-09-07

Family

ID=68586610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910757130.2A Active CN110505400B (en) 2019-08-16 2019-08-16 Preview image display adjustment method and terminal

Country Status (1)

Country Link
CN (1) CN110505400B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148185A (en) * 2020-09-17 2020-12-29 维沃移动通信(杭州)有限公司 Image display method and device
CN112312021B (en) * 2020-10-30 2022-04-15 维沃移动通信有限公司 Shooting parameter adjusting method and device
CN112511751B (en) * 2020-12-04 2021-10-29 维沃移动通信(杭州)有限公司 Shooting method and device, electronic equipment and readable storage medium
CN112738402B (en) * 2020-12-30 2022-03-15 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and medium
CN112738403B (en) * 2020-12-30 2023-12-05 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and medium
CN112887617B (en) * 2021-01-26 2022-12-20 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN116952252B (en) * 2023-09-21 2024-02-27 深圳库犸科技有限公司 Method for adjusting moving path, terminal equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996044A (en) * 2009-08-24 2011-03-30 三星电子株式会社 Method and apparatus for controlling zoom using a touch screen
CN102281399A (en) * 2011-08-12 2011-12-14 广东步步高电子工业有限公司 Digital photographic equipment with touch screen and zooming method of digital photographic equipment
CN103905716A (en) * 2012-12-27 2014-07-02 三星电子(中国)研发中心 Photographic device and method for dynamically processing viewfinder image during picture taking
CN104184985A (en) * 2013-05-27 2014-12-03 华为技术有限公司 Method and device for acquiring image
CN104731449A (en) * 2009-05-19 2015-06-24 索尼公司 Digital image processing device and associated methodology of performing touch-based image scaling
CN107408008B (en) * 2015-12-30 2019-06-07 深圳市大疆灵眸科技有限公司 Zoom control method, system, device and memory, aircraft

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468253A (en) * 2014-09-28 2016-04-06 中兴通讯股份有限公司 Mobile terminal interface content display method and apparatus and terminal
AU2016252993B2 (en) * 2015-04-23 2018-01-04 Apple Inc. Digital viewfinder user interface for multiple cameras
KR101678861B1 (en) * 2015-07-28 2016-11-23 엘지전자 주식회사 Mobile terminal and method for controlling the same
US9912860B2 (en) * 2016-06-12 2018-03-06 Apple Inc. User interface for camera effects
CN109495681A (en) * 2017-09-12 2019-03-19 天津三星通信技术研究有限公司 The method and apparatus for obtaining image
CN107817939B (en) * 2017-10-27 2023-02-07 维沃移动通信有限公司 Image processing method and mobile terminal
US10630903B2 (en) * 2018-01-12 2020-04-21 Qualcomm Incorporated Systems and methods for image exposure
CN108184070B (en) * 2018-03-23 2020-09-08 维沃移动通信有限公司 Shooting method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731449A (en) * 2009-05-19 2015-06-24 索尼公司 Digital image processing device and associated methodology of performing touch-based image scaling
CN101996044A (en) * 2009-08-24 2011-03-30 三星电子株式会社 Method and apparatus for controlling zoom using a touch screen
CN102281399A (en) * 2011-08-12 2011-12-14 广东步步高电子工业有限公司 Digital photographic equipment with touch screen and zooming method of digital photographic equipment
CN103905716A (en) * 2012-12-27 2014-07-02 三星电子(中国)研发中心 Photographic device and method for dynamically processing viewfinder image during picture taking
CN104184985A (en) * 2013-05-27 2014-12-03 华为技术有限公司 Method and device for acquiring image
CN107408008B (en) * 2015-12-30 2019-06-07 深圳市大疆灵眸科技有限公司 Zoom control method, system, device and memory, aircraft

Also Published As

Publication number Publication date
CN110505400A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
CN110505400B (en) Preview image display adjustment method and terminal
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN108471498B (en) Shooting preview method and terminal
CN108495029B (en) Photographing method and mobile terminal
CN110896451B (en) Preview picture display method, electronic device and computer readable storage medium
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN109032445B (en) Screen display control method and terminal equipment
CN109005286B (en) Display control method and folding screen terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN110213440B (en) Image sharing method and terminal
CN110933306A (en) Method for sharing shooting parameters and electronic equipment
CN109104566B (en) Image display method and terminal equipment
CN111147752B (en) Zoom factor adjusting method, electronic device, and medium
CN111010512A (en) Display control method and electronic equipment
CN111562896B (en) Screen projection method and electronic equipment
CN111031234B (en) Image processing method and electronic equipment
CN108174110B (en) Photographing method and flexible screen terminal
CN110830713A (en) Zooming method and electronic equipment
CN110798621A (en) Image processing method and electronic equipment
CN109246351B (en) Composition method and terminal equipment
CN111405181B (en) Focusing method and electronic equipment
CN111246111B (en) Photographing method, electronic device, and medium
CN110708475B (en) Exposure parameter determination method, electronic equipment and storage medium
CN110536005B (en) Object display adjustment method and terminal

Legal Events

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