CN113220198A - Parameter adjusting method and device - Google Patents

Parameter adjusting method and device Download PDF

Info

Publication number
CN113220198A
CN113220198A CN202110500445.6A CN202110500445A CN113220198A CN 113220198 A CN113220198 A CN 113220198A CN 202110500445 A CN202110500445 A CN 202110500445A CN 113220198 A CN113220198 A CN 113220198A
Authority
CN
China
Prior art keywords
parameter
image beautification
predetermined image
adjustment
predetermined
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
Application number
CN202110500445.6A
Other languages
Chinese (zh)
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110500445.6A priority Critical patent/CN113220198A/en
Publication of CN113220198A publication Critical patent/CN113220198A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a parameter adjusting method and device. The parameter adjusting method comprises the following steps: determining the rotation direction of the terminal under an adjusting interface of preset image beautifying parameters; based on the direction of rotation, predetermined image beautification parameters are adjusted. Through the method and the device, the problems that parameter adjustment is difficult to complete by one hand and the adjustment precision is poor in the related technology are solved.

Description

Parameter adjusting method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a parameter adjusting method and apparatus.
Background
At present, when an Application program (APP, abbreviated as APP) on the market is used for a user to use a function on the APP, the parameter corresponding to the function needs to be manually adjusted, and if the size of a terminal where the APP is located is large, adjustment of the parameter cannot be completed by one hand, and the adjustment precision is difficult to guarantee through manual adjustment. For example, when the functions such as beauty are used, the user needs to manually drag or click the beauty intensity progress bar to trigger parameter adjustment, so that fine adjustment of beauty parameters is realized, however, the click and drag events of the beauty intensity progress bar need to be completed by two hands, so that the user who is accustomed to operating equipment by one hand is not friendly, especially for a large-screen mobile phone, and when the user holds the mobile phone, the user cannot complete beauty parameter adjustment by one hand; moreover, the problem that the response range of the progress bar area is not controlled accurately easily occurs, so that a user needs to adjust the progress bar for many times to reach the parameter value required by the user.
Disclosure of Invention
The present disclosure provides a parameter adjusting method and device, so as to at least solve the problems of difficulty in parameter adjustment and poor adjusting precision in the related art by one hand.
According to a first aspect of the embodiments of the present disclosure, there is provided a parameter adjusting method, including: determining the rotation direction of the terminal under an adjusting interface of preset image beautifying parameters; based on the direction of rotation, predetermined image beautification parameters are adjusted.
Optionally, adjusting the predetermined image beautification parameter based on the rotation direction comprises: determining an adjustment mode of the predetermined image beautification parameter based on the rotation direction, wherein the adjustment mode comprises increasing the predetermined image beautification parameter, decreasing the predetermined image beautification parameter or maintaining the predetermined image beautification parameter; and adjusting the preset image beautifying parameters according to the determined adjusting mode and the preset adjusting speed.
Optionally, determining an adjustment manner of the predetermined image beautification parameter based on the rotation direction includes: determining to increase a predetermined image beautification parameter when the rotation direction is a first direction rotation taking a predetermined reference axis as a central axis; determining to reduce and adjust the preset image beautification parameters when the rotation direction is a second direction which takes the preset reference axis as a central axis; and when the terminal is not rotated, determining to keep the preset image beautification parameters.
Optionally, adjusting the predetermined image beautification parameter at a predetermined adjustment speed according to the determined adjustment mode, comprising at least one of the following steps: when the preset image beautification parameters are determined to be reduced, the preset image beautification parameters are adjusted in a mode of reducing the preset value per unit time until an adjustment ending command is received or the preset image beautification parameters reach a lowest preset threshold value; upon determining to increase the predetermined image beautification parameter, adjusting the predetermined image beautification parameter by increasing the predetermined value per unit time until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold.
Optionally, adjusting the predetermined image beautification parameter at a predetermined adjustment speed according to the determined adjustment mode, comprising at least one of the following steps: when the preset image beautification parameter is determined to be reduced, reducing the preset image beautification parameter at an adjusting speed which is in direct proportion to the absolute value of the angular speed until an adjusting ending command is received or the preset image beautification parameter reaches a lowest preset threshold value; upon determining to increase the predetermined image beautification parameter, increasing the predetermined image beautification parameter at an adjustment speed proportional to an absolute value of the angular velocity until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold.
Optionally, the adjusting means comprises increasing the predetermined image beautification parameter, decreasing the predetermined image beautification parameter, and maintaining the predetermined image beautification parameter.
Alternatively, the rotation direction of the terminal is determined based on an angular velocity or angle at which the terminal rotates around a predetermined reference axis as a central axis.
Optionally, the angular velocity is acquired by a gyroscope internal to the terminal.
Optionally, determining the rotation direction of the terminal according to the angular velocity includes: when the angular speed is larger than a preset threshold value, determining that the rotation direction of the terminal is a first direction rotation taking a preset reference axis as a central axis; determining that the terminal is not rotated when the angular velocity is equal to a predetermined threshold; and when the angular velocity is less than the preset threshold value, determining the rotation direction of the terminal to be a second direction rotation by taking the preset reference shaft as a central axis.
Optionally, the predetermined reference axis is an axis perpendicular to the terminal plane or an axis parallel to the terminal plane.
According to a second aspect of the embodiments of the present disclosure, there is provided a parameter adjusting apparatus, including: the acquisition unit is used for determining the rotation direction of the terminal under the regulation interface of the preset image beautification parameters; and the adjusting unit is used for adjusting the preset image beautifying parameters based on the rotating direction.
Optionally, the adjusting unit is further configured to determine an adjusting manner of the predetermined image beautification parameter based on the rotation direction, where the adjusting manner includes increasing the predetermined image beautification parameter, decreasing the predetermined image beautification parameter, or maintaining the predetermined image beautification parameter; and adjusting the preset image beautifying parameters according to the determined adjusting mode and the preset adjusting speed.
Optionally, the adjusting unit is further configured to determine to increase the predetermined image beautification parameter when the rotation direction is a first direction rotating around a predetermined reference axis as a central axis; determining to reduce and adjust the preset image beautification parameters when the rotation direction is a second direction which takes the preset reference axis as a central axis; and when the terminal is not rotated, determining to keep the preset image beautification parameters.
Optionally, the adjusting unit is further configured to perform at least one of the following steps: when the preset image beautification parameters are determined to be reduced, the preset image beautification parameters are adjusted in a mode of reducing the preset value per unit time until an adjustment ending command is received or the preset image beautification parameters reach a lowest preset threshold value; upon determining to increase the predetermined image beautification parameter, adjusting the predetermined image beautification parameter by increasing the predetermined value per unit time until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold.
Optionally, the adjusting unit is further configured to perform at least one of the following steps: when the preset image beautification parameter is determined to be reduced, reducing the preset image beautification parameter at an adjusting speed which is in direct proportion to the absolute value of the angular speed until an adjusting ending command is received or the preset image beautification parameter reaches a lowest preset threshold value; and when the preset image beautification parameter is determined to be increased, increasing the preset image beautification parameter at an adjusting speed which is in direct proportion to the absolute value of the angular speed according to the determined adjusting mode until an adjusting ending command is received or the preset image beautification parameter reaches a maximum preset threshold value.
Optionally, the adjusting means comprises increasing the predetermined image beautification parameter, decreasing the predetermined image beautification parameter, and maintaining the predetermined image beautification parameter.
Alternatively, the rotation direction of the terminal is determined based on an angular velocity or angle at which the terminal rotates around a predetermined reference axis as a central axis.
Optionally, the angular velocity is acquired by a gyroscope internal to the terminal.
Optionally, the obtaining unit is further configured to determine, when the angular velocity is greater than a predetermined threshold, that the rotation direction of the terminal is a first direction rotation around a predetermined reference axis as a central axis; determining that the terminal is not rotated when the angular velocity is equal to a predetermined threshold; and when the angular velocity is less than the preset threshold value, determining the rotation direction of the terminal to be a second direction rotation by taking the preset reference shaft as a central axis.
Optionally, the predetermined reference axis is an axis perpendicular to the terminal plane or an axis parallel to the terminal plane.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the parameter adjustment method according to the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by at least one processor, cause the at least one processor to perform a parameter adjustment method as described above according to the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by a processor, implement a parameter adjustment method according to the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the parameter adjusting method and device disclosed by the invention, the adjustment of the preset image beautifying parameter (such as the beautifying degree) is controlled through the acquired rotation direction of the terminal, the preset image beautifying parameter can be adjusted by one hand, the individual requirement of a user for controlling the terminal by one hand is met, and meanwhile, the problem that the user has large finger touch screen area range and is difficult to realize the fine adjustment of the preset image beautifying parameter can be avoided by controlling the preset image beautifying parameter through the rotation direction. Therefore, the method and the device solve the problems that parameter adjustment is difficult and adjustment precision is poor when the parameter adjustment is completed by one hand in the related art.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic diagram illustrating an implementation scenario of a parameter adjustment method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating beauty APP parameter adjustment according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a parameter adjustment method according to an exemplary embodiment;
FIG. 4 is a schematic diagram of a three-dimensional coordinate system shown in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating a rotational direction and beauty parameter adjustment relationship, according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating a parameter adjustment apparatus according to an exemplary embodiment;
fig. 7 is a block diagram of an electronic device 700 according to an embodiment of the disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The embodiments described in the following examples do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In this case, the expression "at least one of the items" in the present disclosure means a case where three types of parallel expressions "any one of the items", "a combination of any plural ones of the items", and "the entirety of the items" are included. For example, "include at least one of a and B" includes the following three cases in parallel: (1) comprises A; (2) comprises B; (3) including a and B. For another example, "at least one of the first step and the second step is performed", which means that the following three cases are juxtaposed: (1) executing the step one; (2) executing the step two; (3) and executing the step one and the step two.
The parameter adjusting method provided by the disclosure can be applied to a beautifying APP on a terminal, for example, so as to meet the requirement of a user for adjusting the beautifying intensity by operating the terminal with one hand. Of course, the parameter adjustment method provided by the present disclosure can also be applied to any possible parameter adjustment on the terminal.
Fig. 1 is a schematic diagram illustrating an implementation scenario of a parameter adjustment method according to an exemplary embodiment of the present disclosure, as shown in fig. 1, the implementation scenario includes a server 100 and a user terminal 110, where the number of the user terminals is not limited to 1, and includes not limited to a mobile phone, a personal computer, and the like, the user terminal may install a beauty APP, and is not limited to the beauty APP, which is only described herein by taking the beauty APP as an example, the server may be one server, or a server cluster may be formed by several servers, or a cloud computing platform or a virtualization center.
Under the adjusting interface of the beauty parameters, the server 100 obtains the angular speed of the user terminal 110 rotating by taking a preset reference axis as a central axis, wherein the preset reference axis is an axis perpendicular to the plane of the terminal, then, the rotating direction of the terminal is determined according to the obtained angular speed, and then the beauty parameters of the beauty APP on the user terminal 110 are adjusted based on the determined rotating direction, so that the beauty parameters can be adjusted by one hand, the personalized requirements of the user on controlling the terminal by one hand are met, meanwhile, the beauty parameters are controlled by the angular speed, and the problems that the range of the area of a touch screen of a finger of the user is large and fine adjustment of the beauty parameters is difficult to achieve are solved. Of course, the implementation scenario of fig. 1 is only an example, and the present disclosure does not limit the implementation scenario of the parameter adjustment method, and furthermore, the above-mentioned obtaining of the rotation direction through the angular velocity is also only an optional solution, and the rotation direction may also be obtained through the angle of the terminal rotation.
Fig. 2 is a schematic diagram illustrating adjustment of a beauty APP parameter according to an exemplary embodiment, as shown in fig. 2, a user terminal 110 takes a mobile phone as an example, a beauty APP is installed on the mobile phone, and a user realizes adjustment of the beauty APP parameter by rotating the mobile phone.
Hereinafter, a parameter adjustment method and apparatus according to an exemplary embodiment of the present disclosure will be described in detail with reference to fig. 3 to 6.
Fig. 3 is a flow chart illustrating a parameter adjustment method according to an exemplary embodiment, as shown in fig. 3, the parameter adjustment method includes the steps of:
in step S301, the rotation direction of the terminal is determined under an adjustment interface of a predetermined image beautification parameter. The above manner of acquiring the rotation direction may be various, such as acquiring by an angular velocity of the terminal rotating around the predetermined reference axis as a central axis, and acquiring by an angle of the terminal rotating around the predetermined reference axis as a central axis, and the manner of acquiring the rotation direction in the present disclosure may be any possible manner. The predetermined image beautification parameter may be any parameter that can be adjusted by the terminal by applying the parameter adjusting method of the present disclosure, including but not limited to definition, brightness, a face-beautifying degree, a volume, and the like. The predetermined image beautification parameter may be a predetermined image beautification parameter of a picture, a parameter of a real-time object in a camera, or a parameter of audio or video.
The determination process of the rotation direction is described below by taking the determination of the rotation direction based on the angular velocity and the determination of the rotation direction based on the angle as an example, respectively.
According to an exemplary embodiment of the present disclosure, the rotation direction of the terminal may be determined based on an angular velocity at which the terminal rotates with a predetermined reference axis as a central axis, wherein the predetermined reference axis is an axis perpendicular to a plane of the terminal or an axis parallel to the plane of the terminal. In order to facilitate the determination of the rotation direction of the terminal according to the angular velocity, the correspondence between the angular velocity and the rotation direction may be preset in advance. The angular velocity may be an angular velocity at which the terminal rotates around a predetermined reference axis as a central axis, the predetermined reference axis being an axis perpendicular to a forward plane of the terminal, and particularly, refer to a three-dimensional coordinate system shown in fig. 4.
According to an exemplary embodiment of the present disclosure, the above angular velocity may be acquired by a gyroscope inside the terminal. The angular velocity is obtained through the gyroscope, the accuracy of the obtained angular velocity can be improved, and therefore the fine adjustment capability of the preset image beautifying parameters is guaranteed to be more refined by the user through the real-time angular velocity. For example, the terminal gyroscope interface may be called to obtain the angular velocity ω of the terminal rotating around the predetermined reference axis as the central axis in the three-dimensional coordinate system. It should be noted that, at present, mobile phones on the market all provide an interface for acquiring Gyroscope (gyro) data, and therefore, acceleration is acquired by calling a gyro interface, which is very convenient and fast.
According to an exemplary embodiment of the present disclosure, determining the rotation direction of the terminal according to the angular velocity may be implemented as follows: when the angular speed is larger than a preset threshold value, determining that the rotation direction of the terminal is a first direction rotation taking a preset reference axis as a central axis; determining that the terminal is not rotated when the angular velocity is equal to a predetermined threshold; and when the angular velocity is less than the preset threshold value, determining the rotation direction of the terminal to be a second direction rotation by taking the preset reference shaft as a central axis. For example, the predetermined threshold may be set to 0 when the angular velocity is obtained by the gyroscope, and when the angular velocity ω >0, it indicates that the user is rotating the mobile phone in the first direction around the predetermined reference axis as the center axis; when the angular speed omega is 0, indicating that the user does not rotate the mobile phone by taking the preset reference axis as a central axis; when the angular velocity ω <0, it indicates that the user is rotating the cellular phone in the second direction with the predetermined reference axis as the center axis. Through this embodiment, can be convenient, quick confirm the direction of rotation based on angular velocity. The preset threshold may be replaced by a preset range, such as [ -1, 1], the first direction may be a clockwise direction, and the second direction may be a counterclockwise direction, and the present disclosure does not limit the corresponding relationship.
It should be noted that, in the present embodiment, the rotation direction of the terminal is determined according to the angular velocity in the following two ways: (1) detecting a real-time angular velocity, and determining the rotation direction of the terminal based on the real-time changing angular velocity as long as the angular velocity is not equal to 0; (2) and when detecting that the angular speed at a certain moment is not equal to 0, determining the rotating direction based on the angular speed at the certain moment.
According to an exemplary embodiment of the present disclosure, the rotation direction of the terminal may also be determined based on an angle by which the terminal is rotated with a predetermined reference axis as a central axis, wherein the predetermined reference axis is an axis perpendicular to a plane of the terminal or an axis parallel to the plane of the terminal. In order to determine the rotation direction of the terminal according to the angle, the corresponding relationship between the angle and the rotation direction may be preset in advance. The angle may be an angle of rotation of the terminal about a predetermined reference axis, which is an axis perpendicular to a forward plane of the terminal, and referring to the three-dimensional coordinate system shown in fig. 4, the manner of acquiring the angle may be any possible manner.
According to an exemplary embodiment of the present disclosure, determining the rotation direction of the terminal according to the angle may be implemented as follows: when the angle is larger than a preset angle or a preset angle range, determining that the rotation direction of the terminal is a first direction rotation taking a preset reference axis as a central axis; when the angle is equal to a preset angle or a preset angle range, determining that the terminal does not rotate; and when the angular speed is greater than the preset angle or the preset angle range, determining that the rotation direction of the terminal is a second direction rotation taking the preset reference axis as a central axis. For example, the predetermined angle may be set to 0, and when the angle >0, it indicates that the user is rotating the mobile phone in the first direction with the predetermined reference axis as the center axis; when the angle is 0, indicating that the user does not rotate the mobile phone by taking the preset reference axis as a central axis; when the angle is <0, it indicates that the user is rotating the mobile phone in a second direction around the predetermined reference axis as a center axis. Through this embodiment, can be convenient, quick confirm the rotation direction based on the angle. The above-mentioned preset threshold value may be replaced with a preset range, such as [ -1 °, 1 ° ] and the like.
Returning to fig. 3, in step S302, predetermined image beautification parameters are adjusted based on the rotation direction. The corresponding relationship between the rotation direction and the predetermined image beautification parameter adjustment mode can be preset.
According to an exemplary embodiment of the present disclosure, adjusting the predetermined image beautification parameter based on the rotation direction may be achieved by: determining an adjustment mode of a predetermined image beautification parameter based on the rotation direction; and adjusting the preset image beautifying parameters according to the determined adjusting mode and the preset adjusting speed. Through this embodiment, confirm the adjustment mode based on the rotation mode, and then according to the adjustment mode with predetermined speed adjustment parameter, adjustment parameter that can convenient and fast. It should be noted that, the above adjusting manners may include, but are not limited to: increase the predetermined image beautification parameter, decrease the predetermined image beautification parameter, or maintain the predetermined image beautification parameter.
According to an exemplary embodiment of the present disclosure, the adjustment manner of the predetermined image beautification parameter may be determined based on the rotation direction by: determining to increase preset image beautification parameters when the rotation direction is a first direction rotation taking a preset reference axis as a central axis; determining to reduce and adjust the preset image beautification parameters when the rotation direction is a second direction which takes the preset reference axis as a central axis; and when the terminal is not rotated, determining to keep the preset image beautification parameters.
According to an exemplary embodiment of the present disclosure, adjusting the predetermined image beautification parameter at the predetermined adjustment speed according to the determined adjustment manner may include at least one of the following steps: when the preset image beautification parameters are determined to be reduced, the preset image beautification parameters are adjusted in a mode of reducing the preset value per unit time until an adjustment ending command is received or the preset image beautification parameters reach a lowest preset threshold value; upon determining to increase the predetermined image beautification parameter, adjusting the predetermined image beautification parameter by increasing the predetermined value per unit time until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold. Through the embodiment, the parameter is adjusted in a mode of increasing or decreasing the preset value per unit time, so that the function of adjusting the parameter can be well controlled, namely, the preset image beautification parameter is accurately adjusted through controlling time. The adjustment end command may be a preset instruction.
For example, taking the adjustment of the beauty parameter as an example, the range of the beauty intensity progress bar may be set to 0-100, and when it is determined that the user rotates the mobile phone in the first direction with the predetermined reference axis as the center axis, that is, it is determined to decrease the beauty parameter, the beauty APP decreases the beauty intensity of 0.01 per millisecond until the beauty intensity is 0 or an adjustment end command is received.
It should be noted that, in this embodiment, the predetermined image beautification parameter is adjusted in a manner of decreasing the predetermined value per unit time until the adjustment end command is received or the predetermined image beautification parameter reaches the minimum predetermined threshold value, which can be determined in two ways: (1) detecting a real angular velocity, and adjusting the preset image beautification parameter in a manner of reducing the preset value per unit time as long as the angular velocity is always greater than 0, namely, when the rotation direction is always the first direction rotation, until an adjustment ending command is received or the preset image beautification parameter reaches a minimum preset threshold value, wherein at the moment, the adjustment ending command can be that the angular velocity is not greater than 0, and if the angular velocity is detected to be equal to or less than 0, and the like; (2) when the angular velocity at a certain moment is detected to be not equal to 0, if the angular velocity at a certain moment is larger than 0, the rotation direction is determined to be the first direction rotation, the preset image beautifying parameter is adjusted in a mode of reducing the preset value per unit time until the adjustment finishing command or the preset image beautifying parameter reaches the lowest preset threshold value.
For another example, taking the beauty parameter as an example, and still setting the range of the beauty intensity progress bar to be 0-100, when it is determined that the user rotates the mobile phone in the second direction with the predetermined reference axis as the center axis, that is, it is determined to increase the beauty parameter, the beauty APP increases the beauty intensity of 0.01 per millisecond until the beauty intensity is 0 or an adjustment end command is received.
It should be noted that, in this embodiment, the predetermined image beautification parameter is adjusted by increasing the predetermined value per unit time until the adjustment end command is received or the predetermined image beautification parameter reaches the minimum predetermined threshold value, which may be determined by the following two ways: (1) detecting the real angular velocity, as long as the angular velocity is less than 0 all the time, namely rotating the terminal all the time, the rotating direction is the second direction rotating all the time, at this time, adjusting the preset image beautification parameter in a manner of increasing the preset value per unit time until receiving an adjustment end command or the preset image beautification parameter reaches the lowest preset threshold value, fig. 5 shows a relationship between the rotating direction and the beautification parameter adjustment, which is equivalent to the above-mentioned adjusting manner, and as shown in fig. 5, the beautification parameter is increased or decreased as the terminal is continuously rotated. At this time, the adjustment end command may be that the angular velocity is not less than 0, such as detecting that the angular velocity is equal to 0 or greater than 0; (2) when the angular velocity at a certain moment is detected to be not equal to 0, if the angular velocity at a certain moment is smaller than 0, the rotation direction is determined to be the second direction rotation, the preset image beautifying parameter is adjusted in a mode of increasing a preset value per unit time until an adjustment finishing command or the preset image beautifying parameter reaches the lowest preset threshold value.
According to an exemplary embodiment of the present disclosure, adjusting the predetermined image beautification parameter at the predetermined adjustment speed according to the determined adjustment manner may include at least one of the following steps: when the preset image beautification parameter is determined to be reduced, reducing the preset image beautification parameter at an adjusting speed which is in direct proportion to the absolute value of the angular speed until an adjusting ending command is received or the preset image beautification parameter reaches a lowest preset threshold value; upon determining to increase the predetermined image beautification parameter, increasing the predetermined image beautification parameter at an adjustment speed proportional to an absolute value of the angular velocity until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold. For example, where it is determined to increase the predetermined image beautification parameter, the rate at which the predetermined image beautification parameter is adjusted is also proportionally increased when the absolute value of angular velocity is increased, and the rate at which the predetermined image beautification parameter is adjusted is also proportionally decreased when the absolute value of angular velocity is decreased.
In summary, the present disclosure provides a parameter adjusting method, for example, a method for fine adjustment of beauty parameters through a gyroscope, a gyroscope device provided in a mobile phone system may be utilized, and an angular velocity caused by rotating a mobile phone may be detected through the gyroscope device, so that a sliding beauty intensity progress bar is implemented based on the angular velocity, fine adjustment of beauty parameters is implemented, convenience of user operation may be improved, a requirement of a user to adjust beauty intensity by operating the mobile phone with one hand may be met, another hand of the user may be released, and meanwhile, a predetermined image beautification parameter may be controlled through the angular velocity, which may avoid a problem that a range of a user's finger touch screen area is large and fine adjustment of the predetermined image beautification parameter is difficult to implement. .
Fig. 6 is a block diagram illustrating a parameter adjusting apparatus according to an exemplary embodiment. Referring to fig. 6, the apparatus includes an acquisition unit 60 and an adjustment unit 62.
An obtaining unit 60, configured to determine a rotation direction of the terminal under an adjustment interface of a predetermined image beautification parameter; an adjusting unit 62 for adjusting the predetermined image beautification parameter based on the rotation direction.
According to an exemplary embodiment of the present disclosure, the adjusting unit 62 is further configured to determine an adjusting manner of the predetermined image beautification parameter based on the rotation direction; and adjusting the preset image beautifying parameters according to the determined adjusting mode and the preset adjusting speed.
According to an exemplary embodiment of the present disclosure, the adjusting unit 62 is further configured to determine to increase the predetermined image beautification parameter when the rotation direction is a first direction rotation around a predetermined reference axis as a central axis; determining to reduce and adjust the preset image beautification parameters when the rotation direction is a second direction which takes the preset reference axis as a central axis; and when the terminal is not rotated, determining to keep the preset image beautification parameters.
According to an exemplary embodiment of the present disclosure, the adjusting unit 62 is further configured to perform at least one of the following steps: when the preset image beautification parameters are determined to be reduced, the preset image beautification parameters are adjusted in a mode of reducing the preset value per unit time until an adjustment ending command is received or the preset image beautification parameters reach a lowest preset threshold value; upon determining to increase the predetermined image beautification parameter, adjusting the predetermined image beautification parameter by increasing the predetermined value per unit time until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold.
According to an exemplary embodiment of the disclosure, the adjusting unit is further configured to perform at least one of the following steps: when the preset image beautification parameter is determined to be reduced, reducing the preset image beautification parameter at an adjusting speed which is in direct proportion to the absolute value of the angular speed until an adjusting ending command is received or the preset image beautification parameter reaches a lowest preset threshold value; upon determining to increase the predetermined image beautification parameter, increasing the predetermined image beautification parameter at an adjustment speed proportional to an absolute value of the angular velocity until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold.
Optionally, the adjusting means comprises increasing the predetermined image beautification parameter, decreasing the predetermined image beautification parameter, and maintaining the predetermined image beautification parameter.
According to an exemplary embodiment of the present disclosure, the rotation direction of the terminal is determined based on an angular velocity or angle at which the terminal rotates with a predetermined reference axis as a central axis.
According to an exemplary embodiment of the present disclosure, the above angular velocity is acquired by a gyroscope inside the terminal.
According to an exemplary embodiment of the present disclosure, the obtaining unit 60 is further configured to determine, when the angular velocity is greater than a predetermined threshold, that the rotation direction of the terminal is a first direction rotation around a predetermined reference axis as a central axis; determining that the terminal is not rotated when the angular velocity is equal to a predetermined threshold; and when the angular velocity is less than the preset threshold value, determining the rotation direction of the terminal to be a second direction rotation by taking the preset reference shaft as a central axis.
According to an exemplary embodiment of the present disclosure, the predetermined reference axis is an axis perpendicular to the terminal plane or an axis parallel to the terminal plane.
According to an embodiment of the present disclosure, an electronic device may be provided. Fig. 7 is a block diagram of an electronic device 700 including at least one memory 701 having a set of computer-executable instructions stored therein and at least one processor 702 that, when executed by the at least one processor, performs a parameter adjustment method in accordance with embodiments of the present disclosure, according to embodiments of the present disclosure.
By way of example, the electronic device 700 may be a PC computer, tablet device, personal digital assistant, smartphone, or other device capable of executing the set of instructions described above. The electronic device 1000 need not be a single electronic device, but can be any collection of devices or circuits that can execute the above instructions (or sets of instructions) individually or in combination. The electronic device 700 may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with local or remote (e.g., via wireless transmission).
In the electronic device 700, the processor 702 may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processor 702 may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, or the like.
The processor 702 may execute instructions or code stored in memory, where the memory 701 may also store data. The instructions and data may also be transmitted or received over a network via a network interface device, which may employ any known transmission protocol.
The memory 701 may be integrated with the processor 702, for example, by having RAM or flash memory disposed within an integrated circuit microprocessor or the like. Further, memory 702 may comprise a stand-alone device, such as an external disk drive, storage array, or any other storage device usable by a database system. The memory 701 and the processor 702 may be operatively coupled or may communicate with each other, e.g., through I/O ports, network connections, etc., such that the processor 702 can read files stored in the memory 701.
In addition, the electronic device 700 may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the electronic device may be connected to each other via a bus and/or a network.
According to an embodiment of the present disclosure, there may also be provided a computer-readable storage medium, wherein when executed by at least one processor, instructions in the computer-readable storage medium cause the at least one processor to perform the parameter adjustment method of the embodiment of the present disclosure. Examples of the computer-readable storage medium herein include: read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD + RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD + RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or compact disc memory, Hard Disk Drive (HDD), solid-state drive (SSD), card-type memory (such as a multimedia card, a Secure Digital (SD) card or a extreme digital (XD) card), magnetic tape, a floppy disk, a magneto-optical data storage device, an optical data storage device, a hard disk, a magnetic tape, a magneto-optical data storage device, a hard disk, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, A solid state disk, and any other device configured to store and provide a computer program and any associated data, data files, and data structures to a processor or computer in a non-transitory manner such that the processor or computer can execute the computer program. The computer program in the computer-readable storage medium described above can be run in an environment deployed in a computer apparatus, such as a client, a host, a proxy device, a server, and the like, and further, in one example, the computer program and any associated data, data files, and data structures are distributed across a networked computer system such that the computer program and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by one or more processors or computers.
According to an embodiment of the present disclosure, there is provided a computer program product including computer instructions that, when executed by a processor, implement a parameter adjustment method of an embodiment of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for parameter adjustment, comprising:
determining the rotation direction of the terminal under an adjusting interface of preset image beautifying parameters;
adjusting the predetermined image beautification parameter based on the rotation direction.
2. The parameter adjustment method of claim 1, wherein the adjusting the predetermined image beautification parameter based on the rotation direction comprises:
determining an adjustment mode of the preset image beautification parameter based on the rotation direction;
and adjusting the preset image beautification parameters according to the determined adjusting mode and the preset adjusting speed.
3. The parameter adjustment method of claim 2, wherein determining the manner in which the predetermined image beautification parameter is adjusted based on the rotation direction comprises:
determining to increase the predetermined image beautification parameter when the rotation direction is a first direction rotation taking a predetermined reference axis as a central axis;
determining to reduce the predetermined image beautification parameter when the rotation direction is a second direction rotating around a predetermined reference axis as a central axis;
determining to maintain the predetermined image beautification parameters when the terminal is not rotated.
4. The parameter adjustment method of claim 2, wherein said adjusting the predetermined image beautification parameter at a predetermined adjustment speed based on the determined adjustment mode comprises at least one of:
upon determining to decrease the predetermined image beautification parameter, adjusting the predetermined image beautification parameter by decreasing the predetermined value per unit time until an adjustment end command is received or the predetermined image beautification parameter reaches a minimum predetermined threshold;
upon determining to increase the predetermined image beautification parameter, adjusting the predetermined image beautification parameter by increasing a predetermined value per unit time until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold.
5. The parameter adjustment method of claim 2, wherein said adjusting the predetermined image beautification parameter at a predetermined adjustment speed based on the determined adjustment mode comprises at least one of:
upon determining to decrease the predetermined image beautification parameter, decreasing the predetermined image beautification parameter at an adjustment speed proportional to an absolute value of angular velocity until an end-of-adjustment command is received or the predetermined image beautification parameter reaches a minimum predetermined threshold;
upon determining to increase the predetermined image beautification parameter, increasing the predetermined image beautification parameter at an adjustment speed proportional to an absolute value of angular velocity until an end of adjustment command is received or the predetermined image beautification parameter reaches a maximum predetermined threshold.
6. A parameter adjustment method according to claim 2, wherein the adjustment mode comprises increasing the predetermined image beautification parameter, decreasing the predetermined image beautification parameter, maintaining the predetermined image beautification parameter.
7. A parameter adjusting apparatus, comprising:
the acquisition unit is used for determining the rotation direction of the terminal under the regulation interface of the preset image beautification parameters;
and the adjusting unit is used for adjusting the preset image beautification parameters based on the rotation direction.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the parameter adjustment method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by at least one processor, cause the at least one processor to perform a parameter adjustment method according to any one of claims 1 to 6.
10. A computer program product comprising computer instructions, characterized in that the computer instructions, when executed by a processor, implement the parameter adjustment method according to any one of claims 1 to 6.
CN202110500445.6A 2021-05-08 2021-05-08 Parameter adjusting method and device Pending CN113220198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110500445.6A CN113220198A (en) 2021-05-08 2021-05-08 Parameter adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110500445.6A CN113220198A (en) 2021-05-08 2021-05-08 Parameter adjusting method and device

Publications (1)

Publication Number Publication Date
CN113220198A true CN113220198A (en) 2021-08-06

Family

ID=77093973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110500445.6A Pending CN113220198A (en) 2021-05-08 2021-05-08 Parameter adjusting method and device

Country Status (1)

Country Link
CN (1) CN113220198A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155364A (en) * 2016-06-30 2016-11-23 零度智控(北京)智能科技有限公司 Parameter adjustment control, method and controlled plant
CN106445334A (en) * 2016-09-06 2017-02-22 广东欧珀移动通信有限公司 Adjustment method and adjustment system for display interface
US20190068877A1 (en) * 2017-08-28 2019-02-28 Boe Technology Group Co., Ltd. Mobile terminal image synthesis method, mobile terminal image synthesis apparatus and mobile terminal
CN208760555U (en) * 2018-03-30 2019-04-19 比亚迪股份有限公司 Vehicle-mounted display terminal system and vehicle with it
CN112153281A (en) * 2020-09-14 2020-12-29 维沃移动通信有限公司 Image processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155364A (en) * 2016-06-30 2016-11-23 零度智控(北京)智能科技有限公司 Parameter adjustment control, method and controlled plant
CN106445334A (en) * 2016-09-06 2017-02-22 广东欧珀移动通信有限公司 Adjustment method and adjustment system for display interface
US20190068877A1 (en) * 2017-08-28 2019-02-28 Boe Technology Group Co., Ltd. Mobile terminal image synthesis method, mobile terminal image synthesis apparatus and mobile terminal
CN208760555U (en) * 2018-03-30 2019-04-19 比亚迪股份有限公司 Vehicle-mounted display terminal system and vehicle with it
CN112153281A (en) * 2020-09-14 2020-12-29 维沃移动通信有限公司 Image processing method and device

Similar Documents

Publication Publication Date Title
US8730269B2 (en) Interpreting a gesture-based instruction to selectively display a frame of an application user interface on a mobile computing device
US20150348493A1 (en) Method of controlling display and electronic device for providing the same
US9331911B2 (en) Resizing resource allocation in a computing environment
US9244748B2 (en) Operating system user activity profiles
US9766913B2 (en) Method and system for managing peripheral devices for virtual desktops
US10156985B2 (en) Pressure-sensitive touch screen display and method
US12019591B2 (en) Opening unsupported file types through remoting sessions
JP6626528B2 (en) Mobile cloud system, its operation method, and cloud server
WO2015026936A1 (en) Opening unsupported file types through remoting sessions
US12041133B1 (en) System and method for controlling remote sessions executing on other devices
US8990363B1 (en) Decomposition and recomposition for cross-platform display
US9521190B2 (en) Dynamic session transformation
GB2528567A (en) Presenting user interface on a first device based on detection of a second device within a proximity to the first device
US20150378704A1 (en) Converting desktop applications into cloud services
JP2018512899A (en) Method and terminal for performing virtual character turn
WO2014168849A1 (en) Providing content rotation during scroll action
US10678422B2 (en) Automatic generation of a client pressure profile for a touch screen device
US9106612B1 (en) Decomposition and recomposition for cross-platform display
US20160283126A1 (en) Optimization of disk images for thin provisioned disks
US20160148342A1 (en) Movement of displayed element from one display to another
US9813506B2 (en) Distributed self-served application remoting
CN113220198A (en) Parameter adjusting method and device
US9817490B2 (en) Presenting user interface based on location of input from body part
US10303269B2 (en) Screen orientation adjustment
US20150160795A1 (en) Visualizing migration of a resource of a distributed computing environment

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: 20210806

RJ01 Rejection of invention patent application after publication