CN111327832A - Photographing parameter adjusting method and device, electronic equipment and readable storage medium - Google Patents
Photographing parameter adjusting method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN111327832A CN111327832A CN202010246693.8A CN202010246693A CN111327832A CN 111327832 A CN111327832 A CN 111327832A CN 202010246693 A CN202010246693 A CN 202010246693A CN 111327832 A CN111327832 A CN 111327832A
- Authority
- CN
- China
- Prior art keywords
- photographing
- touch
- angle
- parameter
- rotation angle
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000004590 computer program Methods 0.000 claims description 7
- 238000013507 mapping Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 13
- 238000004364 calculation method Methods 0.000 description 9
- 230000003796 beauty Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the application provides a photographing parameter adjusting method and device, electronic equipment and a readable storage medium, and relates to the technical field of intelligent photographing. The method comprises the steps of firstly displaying a shooting preview interface, wherein the shooting preview interface comprises a rotatable shooting parameter adjusting key which is in a wheel disc-like shape. And then, receiving touch operation of a user on the photographing parameter adjusting key, and determining a touch rotation angle according to the touch operation. Then adjust the parameter of shooing according to the touch rotation angle, can also carry out quick adjustment to the parameter of shooing when need not to use both hands to operate, convenience of customers uses.
Description
Technical Field
The application relates to the technical field of intelligent photographing, in particular to a photographing parameter adjusting method and device, electronic equipment and a readable storage medium.
Background
The mobile phone photographing is an important part of human life, and with the increasing customized demands of people on mobile phone photographing, various photographing settings come into being, such as different photographing modes, filters, beauty, makeup, AR stickers and the like. People can adjust the photographing parameters of the photographing settings to achieve the desired photographing effect.
However, in the current photographing parameter adjusting mode, photographing needs to be stopped in some photographing scenes, and photographing is performed after the photographing parameters are adjusted by using two hands, so that the problem that one-hand operation is not easy to happen, and photographing experience is affected. Meanwhile, when the photographing parameters are adjusted each time, adjacent photographing settings can only be switched, and the problem that quick switching is not supported exists.
Disclosure of Invention
In view of the above, embodiments of the present application provide a photographing parameter adjusting method, a photographing parameter adjusting apparatus, an electronic device, and a readable storage medium to solve the above problem.
The embodiment of the application can be realized as follows:
in a first aspect, an embodiment provides a photographing parameter adjusting method, where the method includes:
displaying a shooting preview interface, wherein the shooting preview interface comprises a rotatable shooting parameter adjusting key in a wheel-like shape;
receiving touch operation of a user on the photographing parameter adjusting key, and determining a touch rotation angle according to the touch operation;
and adjusting the photographing parameters according to the touch rotation angle.
In an optional embodiment, the preview shooting interface further includes a shooting key, where the shooting key is located in the shooting parameter adjustment key, and the method further includes:
and receiving touch operation of a user on the photographing key, and photographing according to the touch operation and the photographing parameters.
In an optional embodiment, the step of determining the touch rotation angle according to the touch operation includes:
determining an initial touch position and a termination touch position of a user according to the touch operation;
determining an initial angle according to the initial touch position, and determining a termination angle according to the termination touch position;
and taking the difference value of the termination angle and the initial angle as the touch rotation angle.
In an optional embodiment, the step of determining an initial angle according to the initial touch position and determining a termination angle according to the termination touch position includes:
acquiring a preset zero initial line, wherein any one endpoint of the zero initial line is a wheel disc central point;
taking an included angle between a connecting line formed by the initial touch position and the wheel disc central point and the zero initial line as the initial angle;
and taking the included angle between the connecting line formed by the termination touch position and the wheel disc central point and the zero initial line as the termination angle.
In an optional embodiment, the photographing parameters include a numerical parameter and a category parameter, and the photographing parameter adjustment key displays values of at least one category or at least a part of range;
the step of adjusting the photographing parameters according to the touch rotation angle comprises the following steps:
determining a numerical value to be adjusted or a numerical value to be moved of the photographing parameter based on a preset mapping relation between the touch rotation angle and the photographing parameter;
acquiring the current numerical value and the current category of the photographing parameter;
taking the sum of the value to be adjusted and the current value as a new value of the photographing parameter; or,
and updating the current category to a new category according to the number to be moved based on the preset sequence of the categories included in the photographing parameters.
In an alternative embodiment, the touch rotation angle is an arbitrary angle.
In an alternative embodiment, the touch rotation angle is-360 ° -360 °.
In a second aspect, an embodiment provides a photographing parameter adjusting apparatus, which is applied to an electronic device, and the apparatus includes:
the display module is used for displaying a shooting preview interface, wherein the shooting preview interface comprises a rotatable shooting parameter adjusting key in a wheel-like shape;
the receiving module is used for receiving touch operation of a user on the photographing parameter adjusting key and determining a touch rotation angle according to the touch operation;
and the adjusting module is used for adjusting the photographing parameters according to the touch rotation angle.
In a third aspect, an embodiment provides an electronic device, which includes a processor, a memory and a bus, where the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor and the memory communicate with each other through the bus, and the processor executes the machine-readable instructions to perform the steps of the photographing parameter adjusting method in any one of the foregoing embodiments.
In a fourth aspect, embodiments provide a readable storage medium, in which a computer program is stored, and the computer program is executed to implement the photographing parameter adjusting method according to any one of the foregoing embodiments.
The embodiment of the application provides a photographing parameter adjusting method, a photographing parameter adjusting device, electronic equipment and a readable storage medium. Therefore, the photographing parameters can be quickly adjusted while operation is not needed by both hands, and operation is convenient for a user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram of a photographing parameter adjusting method in the prior art according to an embodiment of the present application.
Fig. 2 is a second schematic diagram of a photographing parameter adjusting method according to the prior art provided in the embodiment of the present application.
Fig. 3 is a third schematic diagram of a photographing parameter adjusting method in the prior art according to an embodiment of the present application.
Fig. 4 is a block diagram of an electronic device according to an embodiment of the present application.
Fig. 5 is a flowchart of a photographing parameter adjusting method according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a photographing parameter adjusting method according to an embodiment of the present application.
Fig. 7 is a second schematic diagram of a photographing parameter adjusting method according to an embodiment of the present application.
Fig. 8 is a schematic diagram illustrating calculation of an initial angle and a final angle according to an embodiment of the present disclosure.
Fig. 9 is a third schematic diagram of a photographing parameter adjusting method according to an embodiment of the present application.
Fig. 10 is a fourth schematic diagram of a photographing parameter adjusting method according to an embodiment of the present application.
Fig. 11 is a functional block diagram of a photographing parameter adjusting apparatus according to an embodiment of the present application.
Icon: 100-an electronic device; 110-a memory; 120-a processor; 130-photographing parameter adjusting device; 131-a display module; 132-a receiving module; 133-an adjustment module; 10-shooting preview interface; 11-shooting parameter adjusting key; 12-photograph button.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which the present invention product is usually put into use, it is only for convenience of describing the present application and simplifying the description, but it is not intended to indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation and be operated, and thus, should not be construed as limiting the present application.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
As described in the background art, when photographing with a mobile phone becomes an important part of human life, with the increasing demand for customizing the photographing with the mobile phone, various photographing settings, such as different photographing modes, filters, beauty, make-up, AR stickers, etc., come into play. People can adjust the photographing parameters of the photographing settings to achieve the desired photographing effect.
At present, three methods are generally used to adjust the photographing parameters to achieve the desired photographing effect. Referring to fig. 1, in the first method, the photographing parameters are adjusted by clicking a menu. The user may click on different options of the menu to adjust the photographing parameters. For example, different types of makeup styles may be selected by clicking on a menu in the preview page.
Referring to fig. 2, in the second mode, the slide bar is used to adjust the photographing parameters. After a user selects a certain type of photographing mode, the user can adjust specific parameters by dragging a sliding bar included in the preview page. For example, after the user selects the type "small head", the user adjusts the scale of the reduced head by dragging a sliding bar in the preview page.
Referring to fig. 3, thirdly, the photographing parameters are adjusted by sliding switching. The user can adjust the photographing parameters by sliding left or right on the preview page. For example, different types of filter types may be selected by sliding left or right as indicated by the arrows shown in dashed lines in FIG. 3.
However, aiming at the mode of adjusting the photographing parameters by clicking the menu and adjusting the photographing parameters by the sliding rod, the photographing needs to be stopped in some photographing scenes, and after the photographing parameters are adjusted by using two hands, the photographing is carried out again, so that the problem that the photographing experience is not easy to operate by one hand is solved, and the photographing experience is influenced.
Meanwhile, aiming at the mode of adjusting the photographing parameters by adopting sliding switching, when the photographing parameters are adjusted each time, adjacent photographing settings can only be switched, and the problem that quick switching is not supported exists.
In view of the above, embodiments of the present application provide a photographing parameter adjusting method, an apparatus, an electronic device, and a readable storage medium, in which a manner of adjusting parameters is set as a wheel, and the photographing parameters are adjusted by rotating the wheel, so as to improve the above problem, and the above scheme is described in detail below.
Referring to fig. 4, fig. 4 is a block diagram of an electronic device 100 according to an embodiment of the present disclosure. The device may include a processor 120, a memory 110, a photographing parameter adjusting apparatus 130, and a bus, where the memory 110 stores machine readable instructions executable by the processor 120, when the electronic device 100 runs, the processor 120 and the memory 110 communicate with each other through the bus, and the processor 120 executes the machine readable instructions and performs the steps of the photographing parameter adjusting method.
The memory 110, the processor 120, and other components are electrically connected to each other directly or indirectly to enable signal transmission or interaction.
For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The photographing parameter adjusting means 130 includes at least one software function module that can be stored in the memory 110 in the form of software or firmware (firmware). The processor 120 is configured to execute an executable module stored in the memory 110, such as a software function module or a computer program included in the photographing parameter adjusting apparatus 130.
The Memory 110 may be, but is not limited to, a Random ACCess Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 120 may be an integrated circuit chip having signal processing capabilities. The processor 120 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and so on.
But may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In the embodiment of the present application, the memory 110 is used for storing a program, and the processor 120 is used for executing the program after receiving the execution instruction. The method defined by the process disclosed in any of the embodiments of the present application can be applied to the processor 120, or implemented by the processor 120.
In the embodiment of the present application, the electronic device 100 may be, but is not limited to, a smart phone, a personal computer, a tablet computer, or the like having a processing function.
It will be appreciated that the configuration shown in figure 4 is merely illustrative. Electronic device 100 may also have more or fewer components than shown in FIG. 4, or a different configuration than shown in FIG. 4. The components shown in fig. 4 may be implemented in hardware, software, or a combination thereof.
As a possible implementation manner, an embodiment of the present application provides a method for adjusting a photographing parameter, please refer to fig. 5 and fig. 6 in combination, where fig. 5 is a flowchart of the method for adjusting a photographing parameter provided in the embodiment of the present application, and fig. 6 is one of schematic diagrams of the method for adjusting a photographing parameter provided in the embodiment of the present application.
It should be understood that, in other embodiments, the order of some steps in the photographing parameter adjusting method described in this embodiment may be interchanged according to actual needs, or some steps may be omitted or deleted. The specific process shown in fig. 5 is described in detail below with reference to fig. 6.
And step S1, displaying the shooting preview interface 10, wherein the shooting preview interface 10 includes a rotatable shooting parameter adjusting key 11 in a wheel-like shape.
In step S2, a touch operation of the user on the photographing parameter adjustment key 11 is received, and the touch rotation angle is determined according to the touch operation.
And step S3, adjusting the photographing parameters according to the touch rotation angle.
The touch rotation angle may be any angle. The user can rotate the photographing parameter adjusting key 11 by any angle, rotate a plurality of turns or a circle, and also rotate clockwise or anticlockwise.
As an alternative mode, the touch rotation angle in the embodiment of the application can be-360 degrees. The user can rotate the photographing parameter adjusting key 11 clockwise or counterclockwise by one turn.
For example, the user performs a touch operation on the photographing parameter adjustment key 11, so that the photographing parameter adjustment key 11 rotates counterclockwise by 90 degrees, that is, the touch rotation angle is 90 °, and if the current photographing mode corresponding to the photographing parameter is the a mode, the photographing mode is adjusted to another mode according to the touch rotation angle.
The embodiment of the application sets up the button of adjusting the parameter of shooing into the mode of similar rim plate, changes the rim plate angle through the rotation, adjusts the parameter of shooing, need not to use both hands to carry out the operation and can also carry out quick adjustment, convenience of customers operation to the parameter of shooing.
Further, in some shooting scenes, the shooting parameter adjusting mode in the prior art hardly supports keeping the shooting angle and meanwhile conveniently modifies the shooting parameters, a user often needs to take the mobile phone back to a position close to the body to take a picture, when the user takes the mobile phone to take a picture, due to the existence of other keys, the available space of the commonly used shooting key is small, and the user is not easy to click the shooting key.
In view of the above, the embodiments of the present application provide another possible implementation manner. Referring to fig. 7, fig. 7 is a second schematic diagram of a photographing parameter adjusting method according to an embodiment of the present application.
The shooting preview interface 10 further comprises a shooting key 12, wherein the shooting key 12 is located in the shooting parameter adjusting key 11.
The method for adjusting the photographing parameters provided by the embodiment of the application further comprises the following steps:
and receiving the touch operation of the user on the photographing key 12, and photographing according to the touch operation and the photographing parameters.
For example, after the user adjusts the photographing parameters by using the photographing parameter adjustment key 11, the user can take a picture according to the adjusted photographing parameters by touching the photographing key 12.
It is understood that the shape of photographing key 12 may be circular, triangular, square, rectangular, trapezoidal, etc.
Further, when the user uses the photographing parameter adjusting key 11 to adjust the photographing parameters, the photographing key 12 inside the photographing parameter adjusting key 11 can be hidden, so that the occurrence of mistaken touch can be avoided, and the user experience is improved.
In the embodiment of the application, the photographing key 12 and the photographing adjusting parameter key are integrated, so that the available space of the photographing key 12 is enlarged, the user can conveniently modify the photographing parameter while keeping the photographing angle, meanwhile, the available space of the photographing button caused by the existence of other setting buttons cannot be too large, and the problem that the photographing button is not easy to click when the mobile phone is taken for photographing is solved.
As one embodiment, determining the touch rotation angle according to the touch operation may be achieved by the following method.
First, an initial touch position and a termination touch position of a user are determined according to a touch operation.
Then, an initial angle is determined according to the initial touch position, and an end angle is determined according to the end touch position.
And finally, taking the difference value of the termination angle and the initial angle as the touch rotation angle.
For example, if the initial angle determined from the initial touch position is 15 °, and the end angle determined from the end touch position is 30 °, the difference between the end angle and the initial angle, that is, 30 ° -15 °, is 15 °, which is the touch rotation angle, that is, the angle by which the photographing parameter adjustment key 11 is rotated by the touch operation of the user.
The determination of the initial angle according to the initial touch position and the determination of the termination angle according to the termination touch position can be realized by the following methods:
firstly, a preset zero-degree initial line is obtained, wherein any end point of the zero-degree initial line is a wheel disc center point.
And taking an included angle between a connecting line formed by the initial touch position and the wheel disc central point and the zero initial line as an initial angle.
And taking the included angle between the connecting line formed by the termination touch position and the wheel disc central point and the zero initial line as a termination angle.
Wherein, any end point of the zero initial line is the central point of the wheel disc, that is, the geometric central point of the photographing parameter adjusting key 11. The zero degree initial line may be any line that passes through the center point of the wheel. For example, the zero degree initial line may be the same line as the extending direction of the photographing preview interface 10 or a line perpendicular to the extending direction of the photographing preview interface 10.
For example, in the embodiment of the present application, in the manner shown in fig. 8, a line perpendicular to the extending direction of the shooting preview interface 10 is taken as the zero-degree initial line L0, and if the initial touch position is point a, an included angle between a connecting line L1 formed by point a and the wheel center point O and the zero-degree initial line L0 is 30 °, that is, the initial angle is 30 °. If the termination touch position is point B, an included angle between a connecting line L2 formed by the point B and the wheel center point O and the zero initial line L0 is 120 °, it can be determined that the termination angle is 120 °.
Therefore, the initial angle and the termination angle can be quickly and conveniently obtained through the included angle between the connecting line formed by the initial touch position and the wheel disc central point and the zero initial line and the included angle between the termination touch position and the wheel disc central point and the zero initial line.
Further, in the embodiment of the present application, the photographing parameters include a numerical parameter and a category parameter, and at least one category or at least a partial range of numerical values is displayed on the photographing parameter adjusting key 11.
The type parameter may be set for a photographing mode, a filter type, a beauty style, a make-up style, an AR sticker, and the like, and for such parameter type, the photographing parameter adjustment key 11 in the embodiment of the present application may be as shown in fig. 6.
The numerical parameters can be set for the classification parameters in a further refinement. For example, adjustment of beauty parameters, adjustment of face thinning parameters, adjustment of filter parameters, and the like. For such parameter types, the photographing parameter adjusting key 11 in the embodiment of the present application may be as shown in fig. 9. Similarly, for the numerical parameters, as shown in fig. 10, in the preview shooting interface 10, the shooting key 12 can be disposed in the shooting parameter adjusting key 11, so as to integrate the shooting key 12 and the shooting parameter adjusting key 11, thereby improving the shooting experience.
Further, as an alternative embodiment, the manner of displaying the category of at least one photographing parameter on the photographing parameter adjusting key 11 may be as shown in fig. 6, only a part of the categories are displayed on the photographing preview interface 10, and the other categories are hidden. For example, if 20 types of filter categories can be provided for selection, only 5 types of categories are fixedly displayed on the photographing parameter adjustment key 11, so as to ensure that the user can clearly view each category in the case of too many categories.
As another alternative, all the categories of the photographing parameters may be displayed on the photographing preview interface 10. For example, if 6 filter categories are available for selection, a complete photographing parameter adjustment key 11 may be displayed on the display preview interface to display all 6 categories (not shown).
In the embodiment of the application, when the photographing parameter to be adjusted is a numerical parameter, the step of adjusting the photographing parameter according to the touch rotation angle can be realized by the following method:
firstly, determining a value to be adjusted of the photographing parameter based on a preset mapping relation between the touch rotation angle and the photographing parameter.
Then, the current value of the photographing parameter is obtained.
And finally, taking the sum of the value to be adjusted and the current value as a new value of the photographing parameter.
When the photographing parameter to be adjusted is a numerical parameter, the value to be adjusted of the photographing parameter can be determined by the following preset mapping relationship between the touch rotation angle and the photographing parameter.
And obtaining a unit angle of each numerical value of the preset photographing parameter, rounding a quotient obtained by dividing the touch rotation angle by the unit angle, and taking a result obtained by calculation as a numerical value to be adjusted of the photographing parameter.
It should be understood that the unit angle of each numerical value can be set in advance according to actual requirements, and is not limited herein.
For example, if the photographing parameter has a value range of 0 to 100, the unit angle of each preset value is 1.8 °, the current value is 20, if the touch rotation angle is 15 °, the quotient obtained by dividing the touch rotation angle by the unit angle is rounded, and the calculation result is 8, it is determined that the value to be adjusted is 8.
The value 8 to be adjusted is added to the current value 20 to obtain a calculation result of 28, and then the new value of the adjusted photographing parameter can be determined to be 28.
For another example, if the photographing parameter has a value range of 0 to 100, the unit angle of each preset value is 1.8 °, the current value is 20, if the touch rotation angle is-15 °, the quotient obtained by dividing the touch rotation angle by the unit angle is rounded, and the calculation result is-8, it is determined that the value to be adjusted is-8.
And adding the value-8 to be adjusted and the current value 20 to obtain a calculation result of 12, and determining that the new value of the adjusted photographing parameter is 12.
Therefore, the user can freely rotate the photographing parameter adjusting key 11 according to the self requirement, and the current numerical value of the photographing parameter is the required numerical value or category quickly without multiple operations.
As another embodiment, when the photographing parameter to be adjusted is a type parameter, the step of adjusting the photographing parameter according to the touch rotation angle may be implemented by:
firstly, determining the number of the photographing parameters to be moved based on the preset mapping relation between the touch rotation angle and the photographing parameters.
Then, the current category of the photographing parameter is acquired.
And finally, updating the current category to a new category according to the number to be moved based on the preset sequence of the categories included in the photographing parameters.
When the photographing parameter to be adjusted is a type parameter, the number of the photographing parameter to be moved can be determined by the following preset mapping relationship between the touch rotation angle and the photographing parameter.
And obtaining a unit angle of each category of the preset photographing parameters, rounding a quotient obtained by dividing the touch rotation angle by the unit angle, and taking a result obtained by calculation as the number to be moved of the photographing parameters.
It is understood that the unit angle of each category can be set in advance according to actual requirements, and is not limited herein.
For example, if the photographing parameters have 6 categories, the predetermined sequence is a category a, a category B, a category C, a category D, a category E, and a category F. And the preset unit angle of each category is 60 degrees, the current category is B category, if the touch rotation angle is 130 degrees, the integer is taken by the quotient obtained by dividing the touch rotation angle by the unit angle, and the calculation result is 2, then the number to be moved can be determined to be 2. It may be determined that, based on the preset ordering of the categories included in the photographing parameters, the current category B is updated to a new category D according to the number to be moved 2.
For another example, if the photographing parameters have 6 categories, the predetermined sequence is a category a, a category B, a category C, a category D, a category E, and a category F. And the preset unit angle of each category is 60 degrees, the current category is B category, if the touch rotation angle is-130 degrees, the integer is taken by the quotient obtained by dividing the touch rotation angle by the unit angle, and the calculation result is-2, the number to be moved can be determined to be-2. It can be determined that the current category B is updated to a new category F according to the number-2 to be moved based on the preset ordering of the categories included in the photographing parameters.
In this way, the user can rotate the photographing parameter adjusting key 11 according to the own requirement, and quickly adjust the current category of the photographing parameter to the desired category without multiple operations.
Based on the same inventive concept, please refer to fig. 11 in combination, an embodiment of the present application further provides a photographing parameter adjusting device corresponding to the photographing parameter adjusting method, and the device includes:
and the display module 131 is configured to display the shooting preview interface 10, where the shooting preview interface 10 includes a rotatable shooting parameter adjusting key 11 in a wheel-like shape.
The receiving module 132 is configured to receive a touch operation of a user on the photographing parameter adjusting key 11, and determine a touch rotation angle according to the touch operation.
And the adjusting module 133 is configured to adjust the photographing parameter according to the touch rotation angle.
Because the principle of the device in the embodiment of the present application for solving the problem is similar to the method for adjusting the photographing parameter in the embodiment of the present application, the implementation principle of the device can refer to the implementation principle of the method, and repeated details are not repeated.
The embodiment also provides a readable storage medium, in which a computer program is stored, and when the computer program is executed, the photographing parameter adjusting method is implemented.
To sum up, the embodiment of the present application provides a photographing parameter adjusting method, a photographing parameter adjusting device, an electronic device, and a readable storage medium, in which the method first displays a photographing preview interface 10, and the photographing preview interface 10 includes a rotatable photographing parameter adjusting key 11 in a wheel-like shape. Then, the touch operation of the user on the photographing parameter adjusting key 11 is received, and the touch rotation angle is determined according to the touch operation. Then adjust the parameter of shooing according to the touch rotation angle, can also carry out quick adjustment to the parameter of shooing when need not to use both hands to operate, convenience of customers operation.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A photographing parameter adjusting method is characterized by comprising the following steps:
displaying a shooting preview interface, wherein the shooting preview interface comprises a rotatable shooting parameter adjusting key in a wheel-like shape;
receiving touch operation of a user on the photographing parameter adjusting key, and determining a touch rotation angle according to the touch operation;
and adjusting the photographing parameters according to the touch rotation angle.
2. The method for adjusting photographing parameters of claim 1, wherein the preview interface further comprises a photographing key, wherein the photographing key is located within the photographing parameter adjusting key, and the method further comprises:
and receiving touch operation of a user on the photographing key, and photographing according to the touch operation and the photographing parameters.
3. The photographing parameter adjusting method according to claim 1, wherein the step of determining the touch rotation angle according to the touch operation includes:
determining an initial touch position and a termination touch position of a user according to the touch operation;
determining an initial angle according to the initial touch position, and determining a termination angle according to the termination touch position;
and taking the difference value of the termination angle and the initial angle as the touch rotation angle.
4. The photographing parameter adjusting method according to claim 3, wherein the step of determining an initial angle according to the initial touch position and determining an end angle according to the end touch position comprises:
acquiring a preset zero initial line, wherein any one endpoint of the zero initial line is a wheel disc central point;
taking an included angle between a connecting line formed by the initial touch position and the wheel disc central point and the zero initial line as the initial angle;
and taking the included angle between the connecting line formed by the termination touch position and the wheel disc central point and the zero initial line as the termination angle.
5. The method of claim 1, wherein the photographing parameters comprise a numerical parameter and a category parameter, and at least one category or at least a partial range of numerical values is displayed on the photographing parameter adjusting button;
the step of adjusting the photographing parameters according to the touch rotation angle comprises the following steps:
determining a numerical value to be adjusted or a numerical value to be moved of the photographing parameter based on a preset mapping relation between the touch rotation angle and the photographing parameter;
acquiring the current numerical value and the current category of the photographing parameter;
taking the sum of the value to be adjusted and the current value as a new value of the photographing parameter; or,
and updating the current category to a new category according to the number to be moved based on the preset sequence of the categories included in the photographing parameters.
6. The photographing parameter adjusting method according to claim 1, wherein the touch rotation angle is an arbitrary angle.
7. The photographing parameter adjustment method according to claim 6, wherein the touch rotation angle is-360 ° -360 °.
8. The utility model provides a parameter adjustment device shoots, its characterized in that is applied to electronic equipment, the device includes:
the display module is used for displaying a shooting preview interface, wherein the shooting preview interface comprises a rotatable shooting parameter adjusting key in a wheel-like shape;
the receiving module is used for receiving touch operation of a user on the photographing parameter adjusting key and determining a touch rotation angle according to the touch operation;
and the adjusting module is used for adjusting the photographing parameters according to the touch rotation angle.
9. An electronic device, comprising a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate with each other via the bus, and the processor executes the machine-readable instructions to perform the steps of the photographing parameter adjusting method according to any one of claims 1 to 7.
10. A readable storage medium, wherein a computer program is stored in the readable storage medium, and when executed, the computer program implements the photographing parameter adjusting method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010246693.8A CN111327832A (en) | 2020-03-31 | 2020-03-31 | Photographing parameter adjusting method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010246693.8A CN111327832A (en) | 2020-03-31 | 2020-03-31 | Photographing parameter adjusting method and device, electronic equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111327832A true CN111327832A (en) | 2020-06-23 |
Family
ID=71167743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010246693.8A Pending CN111327832A (en) | 2020-03-31 | 2020-03-31 | Photographing parameter adjusting method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111327832A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115022441A (en) * | 2021-03-03 | 2022-09-06 | 荣耀终端有限公司 | Electronic device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010010098A1 (en) * | 2008-07-21 | 2010-01-28 | Dav | Method for haptic feedback control |
CN102053782A (en) * | 2009-10-26 | 2011-05-11 | 奥多比公司 | Zoom adjustment process |
JP2012048325A (en) * | 2010-08-24 | 2012-03-08 | Canon Inc | Information processing device, control method of the same, program and storage medium |
CN102693074A (en) * | 2011-02-10 | 2012-09-26 | 索尼计算机娱乐公司 | Input device, information processing device, and input-value-acquiring method |
CN103713809A (en) * | 2012-09-29 | 2014-04-09 | 中国移动通信集团公司 | Dynamic generating method and dynamic generating device for annular menu of touch screen |
CN104156149A (en) * | 2014-07-18 | 2014-11-19 | 小米科技有限责任公司 | Method and device for adjusting photographing parameters |
US20160041671A1 (en) * | 2013-05-21 | 2016-02-11 | Calsonic Kansei Corporation | Touch-sensitive vehicle display device |
CN105892854A (en) * | 2016-03-30 | 2016-08-24 | 乐视控股(北京)有限公司 | Photographing parameter menu loading method and device |
CN106454114A (en) * | 2016-11-15 | 2017-02-22 | 维沃移动通信有限公司 | Shooting method and mobile terminal |
CN107924113A (en) * | 2016-06-12 | 2018-04-17 | 苹果公司 | User interface for camera effect |
CN108141633A (en) * | 2015-10-26 | 2018-06-08 | 索尼公司 | Operation input equipment, information processing equipment, information processing method and program |
CN108170359A (en) * | 2017-12-27 | 2018-06-15 | 北京传嘉科技有限公司 | Prompt operation processing method, device and mobile terminal |
CN110661945A (en) * | 2018-06-29 | 2020-01-07 | 佳能株式会社 | Electronic equipment |
-
2020
- 2020-03-31 CN CN202010246693.8A patent/CN111327832A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010010098A1 (en) * | 2008-07-21 | 2010-01-28 | Dav | Method for haptic feedback control |
CN102053782A (en) * | 2009-10-26 | 2011-05-11 | 奥多比公司 | Zoom adjustment process |
JP2012048325A (en) * | 2010-08-24 | 2012-03-08 | Canon Inc | Information processing device, control method of the same, program and storage medium |
CN102693074A (en) * | 2011-02-10 | 2012-09-26 | 索尼计算机娱乐公司 | Input device, information processing device, and input-value-acquiring method |
CN103713809A (en) * | 2012-09-29 | 2014-04-09 | 中国移动通信集团公司 | Dynamic generating method and dynamic generating device for annular menu of touch screen |
US20160041671A1 (en) * | 2013-05-21 | 2016-02-11 | Calsonic Kansei Corporation | Touch-sensitive vehicle display device |
CN104156149A (en) * | 2014-07-18 | 2014-11-19 | 小米科技有限责任公司 | Method and device for adjusting photographing parameters |
CN108141633A (en) * | 2015-10-26 | 2018-06-08 | 索尼公司 | Operation input equipment, information processing equipment, information processing method and program |
CN105892854A (en) * | 2016-03-30 | 2016-08-24 | 乐视控股(北京)有限公司 | Photographing parameter menu loading method and device |
CN107924113A (en) * | 2016-06-12 | 2018-04-17 | 苹果公司 | User interface for camera effect |
CN106454114A (en) * | 2016-11-15 | 2017-02-22 | 维沃移动通信有限公司 | Shooting method and mobile terminal |
CN108170359A (en) * | 2017-12-27 | 2018-06-15 | 北京传嘉科技有限公司 | Prompt operation processing method, device and mobile terminal |
CN110661945A (en) * | 2018-06-29 | 2020-01-07 | 佳能株式会社 | Electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115022441A (en) * | 2021-03-03 | 2022-09-06 | 荣耀终端有限公司 | Electronic device |
CN115022441B (en) * | 2021-03-03 | 2023-08-25 | 荣耀终端有限公司 | Electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3345077B1 (en) | Foldable electronic device including hidden display and information display method thereof | |
US10891034B2 (en) | Apparatus and method of operating wearable device | |
EP3959595B1 (en) | Electronic device for providing execution screen of application and method for operating the same | |
CN106372110B (en) | Recommendation method of application program and mobile terminal | |
US20060152480A1 (en) | Handheld electronic device, user interface and method employing an input wheel disposed at about a 45 degree angle | |
JP7141583B2 (en) | Garment design support device, garment design support program, garment design support system, garment design support method, and garment manufacturing method | |
KR101861593B1 (en) | Apparatus and method for operating in portable terminal | |
CN106453949B (en) | A kind of method and mobile terminal creating schedule | |
CN109032898A (en) | A kind of display methods of icon, device, equipment and storage medium | |
KR102580692B1 (en) | Electronic device with metal frame antenna | |
CN105867788A (en) | Information display method and terminal | |
WO2013179652A1 (en) | Portable terminal, control method and program | |
CN106341530B (en) | Payment page switching method and mobile terminal | |
CN111327832A (en) | Photographing parameter adjusting method and device, electronic equipment and readable storage medium | |
CN106970752A (en) | A kind of screenshotss method and mobile terminal | |
US20160307267A1 (en) | Alerting Method For Assisting User in Performing Disciplined Operations in Security Trading | |
CN107295218B (en) | A kind of image processing method and mobile terminal | |
WO2022041606A1 (en) | Method and apparatus for adjusting display position of control | |
US11311171B2 (en) | Electronic device including rotatable member and method for operating same | |
CN106503625B (en) | A kind of method and mobile terminal detecting hair distribution situation | |
CN103577051B (en) | The method and device of control menu | |
CN106502652B (en) | A kind of method for switching theme and server | |
TWI750407B (en) | Device and method of displaying a sell/buy ratio chart | |
CN112631501A (en) | Display method and display device of touch function control and electronic equipment | |
EP3067792A1 (en) | Icon display method of wearable intelligent device and related device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200623 |
|
RJ01 | Rejection of invention patent application after publication |