CN107885431A - A kind of image processing method and user terminal - Google Patents

A kind of image processing method and user terminal Download PDF

Info

Publication number
CN107885431A
CN107885431A CN201711087496.0A CN201711087496A CN107885431A CN 107885431 A CN107885431 A CN 107885431A CN 201711087496 A CN201711087496 A CN 201711087496A CN 107885431 A CN107885431 A CN 107885431A
Authority
CN
China
Prior art keywords
touch
user terminal
touch information
track
point
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
CN201711087496.0A
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.)
Fujian Cnfol Information Technology Co Ltd
Original Assignee
Fujian Cnfol 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 Fujian Cnfol Information Technology Co Ltd filed Critical Fujian Cnfol Information Technology Co Ltd
Priority to CN201711087496.0A priority Critical patent/CN107885431A/en
Publication of CN107885431A publication Critical patent/CN107885431A/en
Pending legal-status Critical Current

Links

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/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

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 embodiment of the present application discloses a kind of image processing method and user terminal, is drawn on the subscriber terminal for saving user the time of circular pattern, lifts Consumer's Experience.The embodiment of the present application method includes:When user terminal is in drawing interface, the user terminal obtains touch information, the touch information is used for the touch operation that instruction user is carried out on the user terminal, the user terminal judges whether the touch information is effective target touch information, if, then the user terminal determines the center of circle and radius according to the target touch information, and the user terminal generates circular pattern according to the center of circle and the radius.The embodiment of the present application additionally provides a kind of user terminal, is drawn on the subscriber terminal for saving user the time of circular pattern, lifts Consumer's Experience.

Description

A kind of image processing method and user terminal
Technical field
The application is related to user terminal field, more particularly to a kind of image processing method and user terminal.
Background technology
Nowadays with the development of science and technology the user terminal such as mobile phone, computer or tablet personal computer is increasingly popularized, painting In terms of figure, drawn by user terminal, people are without by typical graphics instruments such as paper, pen, ruler or compasses, operation is more again It is convenient.
When drawing circular pattern, existing user terminal can typically provide a circular template and be selected for user, use Family can select circular shuttering and the circular shuttering is placed on the drawing interface of user terminal, then again to the circular shuttering The operation such as correspondingly moved or scaled.
But, the size for the circular shuttering that mapping software provides all is fixed, and user is placed on by the circular shuttering After the drawing interface of user terminal, adjustment is often further zoomed in and out to it according to the actual requirements, causes user drawing The bowlder cost time is more, and Consumer's Experience is poor.
The content of the invention
The embodiment of the present application provides a kind of image processing method and user terminal, for saving user on the subscriber terminal The time of circular pattern is drawn, lifts Consumer's Experience.
The image processing method that the embodiment of the present application first aspect provides, including:
When user terminal is in drawing interface, the user terminal obtains touch information, and the touch information is used to refer to Show the touch operation that user is carried out on the user terminal;
The user terminal judges whether the touch information is effective target touch information;
If so, then the user terminal determines the center of circle and radius according to the target touch information;
The user terminal generates circular pattern according to the center of circle and the radius.
Alternatively, the user terminal judges whether the touch information is that effective target touch information includes:
The user terminal judges whether the touch information is touch point and a touch rail that position is fixed Mark, the touch point are the position fixation that the user carries out touching generation on the drawing interface of the user terminal Point, the touch track are that the user is touched on the drawing interface of the user terminal and slides one section of rail of generation Mark, the touch point and the touch track are misaligned;
If so, then the user terminal determines that the touch information is effective target touch information, the target touches Information includes the touch point and the touch track.
Alternatively, the user terminal determines that the center of circle and radius include according to the target touch information:
The user terminal determines that the touch point is the center of circle;
The user terminal determines the radius according to the touch track.
Alternatively, the user terminal determines that the radius includes according to the touch track:
The user terminal obtains the track initial point and trail termination point of the touch track, and the track initial point is The original position of the touch track, the trail termination point are the final position of the touch track;
The user terminal determines the size of angle, and the angle is that the track initial point connection center of circle generates First line segment and trail termination point connect the angle between the second line segment of the center of circle generation;
When the angle is more than threshold value, the user terminal determines the length between the track initial point and the center of circle Spend for the radius.
Alternatively, the user terminal judges whether the touch information is that effective target touch information includes:
The user terminal judges whether the touch information is a touch line, and the touch line is the user in institute State the line segment that generation is touched and slided on the drawing interface of user terminal;
If so, then the user terminal determines that the touch information is effective target touch information, the target touches Information includes the touch line.
Alternatively, the user terminal determines that the center of circle and radius include according to the target touch information:
The user terminal determines that the starting point of the touch line is the center of circle;
The user terminal determines that the length of the touch line is the radius.
The user terminal that the embodiment of the present application second aspect provides, including:
Acquiring unit, for when user terminal is in drawing interface, obtaining touch information, the touch information is used to refer to Show the touch operation that user is carried out on the user terminal;
Judging unit, for judging whether the touch information is effective target touch information;
Determining unit, for when the touch information is effective target touch information, being touched and being believed according to the target Breath determines the center of circle and radius;
Generation unit, for generating circular pattern according to the center of circle and the radius.
Alternatively, the judging unit includes:
Judge module, for judging whether the touch information is touch point and a touch rail that position is fixed Mark, the touch point are the position fixation that the user carries out touching generation on the drawing interface of the user terminal Point, the touch track are that the user is touched on the drawing interface of the user terminal and slides one section of rail of generation Mark, the touch point and the touch track are misaligned;
Or,
For judging whether the touch information is a touch line, the touch line is that the user is whole in the user Touched on the drawing interface at end and slide a line segment of generation;
First determining module, for when having the touch point and the touch track, determining that the touch information is Effective target touch information, the target touch information include the touch point and the touch track;
Or,
For when there is the touch line, it to be effective target touch information to determine the touch information, and the target is touched Touching information includes the touch line.
Alternatively, the determining unit includes:
Second determining module, for determining that the touch point is the center of circle;
Or,
For determining that the starting point of the touch line is the center of circle;
3rd determining module, for determining the radius according to the touch track;
Or,
For determining that the length of the touch line is the radius.
Alternatively, the 3rd determining module includes:
Acquisition submodule, for obtaining the track initial point and trail termination point of the touch track, the track initial Point is the original position of the touch track, and the trail termination point is the final position of the touch track;
First determination sub-module, for determining the size of angle, the angle is that the track initial point connects the circle The first line segment and trail termination point of heart generation connect the angle between the second line segment of the center of circle generation;
Second determination sub-module, for when the angle is more than threshold value, determining the track initial point and the center of circle Between length be the radius.
As can be seen from the above technical solutions, the embodiment of the present application has advantages below:
In the present embodiment, user terminal obtains touch information, and the touch information can be in drawing circle with indicating user terminal The touch operation that user is carried out on the subscriber terminal during face, subsequent user terminal judge whether the touch information is effective target Touch information, if so, then user terminal can determine the center of circle and radius according to target touch information and according to the center of circle and radius Circular pattern is generated, using this method for drawing circle, the touch that user can be according to demands of individuals by being carried out to user terminal Operation freely defines the center of circle and radius, saves the time that adjustment is subsequently zoomed in and out to circular pattern, improves Consumer's Experience.
Brief description of the drawings
Fig. 1 is one embodiment schematic diagram of image processing method in the embodiment of the present application;
Fig. 2 is another embodiment schematic diagram of image processing method in the embodiment of the present application;
Fig. 3 (a) is the schematic diagram of a scenario that user terminal is determined as effective touch information in the embodiment of the present application;
Fig. 3 (b) is the schematic diagram of a scenario that user terminal generates circular pattern according to touch information in the embodiment of the present application;
Fig. 4 is another embodiment schematic diagram of image processing method in the embodiment of the present application;
Fig. 5 is another schematic diagram of a scenario that user terminal is determined as effective touch information in the embodiment of the present application;
Fig. 6 is one embodiment schematic diagram of user terminal in the embodiment of the present application;
Fig. 7 is another embodiment schematic diagram of user terminal in the embodiment of the present application;
Fig. 8 is the structural representation of user terminal in the embodiment of the present application.
Embodiment
The embodiment of the present application provides a kind of image processing method and user terminal, for saving user on the subscriber terminal The time of circular pattern is drawn, lifts Consumer's Experience.
In the user terminal, the user terminal can be mobile phone, tablet personal computer, wearable set for the embodiment of the present application application Standby, augmented reality (augmented reality, AR) virtual reality (virtual reality, VR) equipment, notebook electricity Brain, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), net book, individual digital help Managing (personal digital assistant, PDA) etc. has user equipment of touch function, the embodiment of the present application to this not Impose any restrictions.
It is understood that can be provided with mapping software on user terminal, mapping software can typically provide a circular diagram The template of case selects for user, and user chooses template and template is placed on drawing interface, further carries out position or contracting again Adjustment is put, except this mode, the embodiment of the present application provides another method for drawing circular pattern on the subscriber terminal.
The idiographic flow in the embodiment of the present application is described below, referring to Fig. 1, in the embodiment of the present application at image One embodiment of reason method includes:
101st, user terminal obtains touch information.
When user terminal is in drawing interface, user terminal can get corresponding touch according to the touch operation of user Touch information, it is to be understood that the user terminal described in the present embodiment is furnished with touch-screen, user on the subscriber terminal all Touch information can be generated by such as clicking on or slide operation.
It should be noted that the touch information can be a touch point or one section of touch track or it is multiple touch Touch a little or a plurality of touch track, or be any combination of touch point and touch track, do not limit herein specifically.
102nd, user terminal judges whether touch information is effective information, if so, step 103 is then performed, if it is not, then performing Step 101.
User terminal can judge whether the touch information is effective information after getting touch information, it is to be understood that Any touch operation that user is carried out on the subscriber terminal can all generate touch information, and user terminal needs to carry out touch information Identification is to filter out effective touch information, the influence for avoiding the maloperation due to user from bringing.
103rd, user terminal determines the center of circle and radius according to touch information.
In the embodiment of the present application, when user terminal judges touch information for effective information, user terminal can be according to tactile Touch information and determine the center of circle and radius.
104th, user terminal generates circular pattern according to the center of circle and radius.
Can generates circular pattern according to the center of circle and radius after user terminal determines the center of circle and radius.
In the embodiment of the present application, user terminal obtains touch information, and the touch information can be in indicating user terminal and be painted The touch operation that user is carried out on the subscriber terminal during figure interface, subsequent user terminal judge whether the touch information is effective Target touch information, if so, then user terminal the center of circle and radius can be determined according to target touch information and according to the center of circle and Radius generates circular pattern, and using this method for drawing circle, user can be according to demands of individuals by carrying out to user terminal Touch operation freely defines the center of circle and radius, saves the time that adjustment is subsequently zoomed in and out to circular pattern, improves user Experience.
Based on above with respect to the embodiment shown in Fig. 1, it is a variety of that user terminal judges that the mode of effective touch information can have, Illustrate separately below.
First, user terminal judges whether touch information is touch point and a touch track that position is fixed.
Referring to Fig. 2, another embodiment of image processing method includes in the embodiment of the present application:
201st, user terminal obtains touch information.
In the embodiment of the present application, step 201 is similar with the step 101 in the embodiment shown in Fig. 1, specifically no longer superfluous herein State.
202nd, user terminal judges whether touch information is a fixed touch point and a touch track, if so, then Step 203 is performed, if it is not, then performing step 201.
In the embodiment of the present application, whether the touch information that user terminal judges to get is a fixed touch point and one Bar touch track, it is to be understood that the touch point is that user carries out touch operation generation on user terminal drawing interface The point that one position is fixed, the touch track are that user is touched on the drawing interface of user terminal and slides the one of generation Section track, specifically can be with Fig. 3 (a) Suo Shi.
It should be noted that the touch point and the touch track are misaligned, the touch track can be with a line segment, except this it Outer or other forms, for example, the touch track can also be one section of circular arc, are not limited specifically herein.
It should be noted that user can first touch one touch point of generation, then touch one touch track of generation, user One touch track of generation can also be first touched, then touches one touch point of generation, or user can touch generation simultaneously One touch point and a touch track, are not limited specifically herein.It is understood that if user, which first touches, generates one Individual touch point, user does not carry out touch operation and generates a touch track again in the duration of setting afterwards, and user terminal can To judge this operation for maloperation, and step 201 is re-executed, similarly, user first touches the feelings of one touch track of generation Condition is also similar, if user does not carry out one fixed touch point of touch operation generation again in the duration of setting, user is whole End can also judge this operation for maloperation, and re-execute step 201.
203rd, user terminal determines that touch point is the center of circle.
In the embodiment of the present application, when user terminal judges touch information for a fixed touch point and a touch track When, user terminal can determine that the touch point is the center of circle.
204th, user terminal determines radius according to touch track.
In the present embodiment, when user terminal judges touch information for a fixed touch point and a touch track, User terminal can determine radius according to touch track, and specifically as shown in Fig. 3 (b), user terminal can obtain the touch first The track initial point and trail termination point of track, track initial point are the original position of the touch track, and trail termination point is The final position of the touch track, the company between line and trail termination point and touch point between track initial point and touch point In an angle, user terminal can judge the angle meeting shape between line, only when the angle is more than preset value, User terminal can just judge that the touch track is effective touch track, and with this, to avoid user user, some unintentionally touch cunning Maloperation caused by dynamic, further, user terminal determines that the length between track initial point and touch point is radius.
It should be noted that user terminal set angle preset value can be π/6, in addition or other Value, is specifically defined by practical application, not limited herein.
It should be noted that the sequential relationship do not fixed between step 203 and step 204, can first carry out step 203, step 204 can also be first carried out, or step 203 and step 204 can be performed simultaneously, do not limit herein specifically.
205th, user terminal generates circular pattern according to the center of circle and radius.
Can generates circular pattern according to the center of circle and radius after user terminal determines the center of circle and radius.
2nd, user terminal judges whether touch information is a touch line.
Referring to Fig. 4, another embodiment of image processing method includes in the embodiment of the present application:
401st, user terminal obtains touch information.
In the embodiment of the present application, step 401 is similar with the step 101 in the embodiment shown in Fig. 1, specifically no longer superfluous herein State.
402nd, user terminal judges whether touch information is a touch line, if so, step 403 is then performed, if it is not, then holding Row step 401.
In the embodiment of the present application, whether the touch information that user terminal judges to get is a touch line, it is possible to understand that , the touch line is that user is touched on the drawing interface of user terminal and slides a line segment of generation, specifically may be used With as shown in Figure 5.
403rd, the starting point that user terminal determines to touch line is the center of circle.
In the embodiment of the present application, when user terminal judges that touch information touches line for one, user terminal can determine that The starting point of the touch line is the center of circle.
404th, the length that user terminal determines to touch line is radius.
In the embodiment of the present application, when user terminal judges that touch information touches line for one, user terminal can determine that The length of the touch line is radius.
It should be noted that sequential relationship of the step 404 with step 403 without fixation, can first carry out step 403, Step 404 can be first carried out, or step 403 and step 404 can be performed simultaneously, is not limited herein specifically.
405th, user terminal generates circular pattern according to the center of circle and radius.
Can generates circular pattern according to the center of circle and radius after user terminal determines the center of circle and radius.
The image processing method in the embodiment of the present application is described above, below to the use in the embodiment of the present application Family terminal is described:
Referring to Fig. 6, one embodiment of user terminal includes in the embodiment of the present application:
Acquiring unit 601, for when user terminal is in drawing interface, obtain touch information, touch information is used to refer to Show the touch operation that user is carried out on the subscriber terminal;
Judging unit 602, for judging whether touch information is effective target touch information;
Determining unit 603, for when touch information is effective target touch information, determined according to target touch information The center of circle and radius;
Generation unit 604, for generating circular pattern according to the center of circle and radius.
In the embodiment of the present application, acquiring unit 601 obtains touch information, and the touch information can be in indicating user terminal The touch operation that user is carried out on the subscriber terminal during drawing interface, subsequently determine whether unit 602 judge the touch information whether be Effective target touch information, if so, then determining unit 603 can determine the center of circle and radius according to the target touch information, enters And generation unit 604 generates circular pattern according to the circle and radius, using this method for drawing circle, user can be according to individual Demand freely defines the center of circle and radius by the touch operation carried out to user terminal, saves and subsequently circular pattern is contracted The time of adjustment is put, improves Consumer's Experience.
For ease of understanding, the user terminal in the embodiment of the present application is described in detail below, Fig. 7 please be participate in, this Shen User terminal another embodiment that please be in embodiment includes:
Acquiring unit 701, for when user terminal is in drawing interface, obtain touch information, touch information is used to refer to Show the touch operation that user is carried out on the subscriber terminal;
Judging unit 702, for judging whether touch information is effective target touch information;
Determining unit 703, for when touch information is effective target touch information, determined according to target touch information The center of circle and radius;
Generation unit 704, for generating circular pattern according to the center of circle and radius.
In the embodiment of the present application, judging unit 702 further comprises:
Judge module 7021, for judging whether touch information is touch point and a touch rail that position is fixed Mark, touch point are that user carries out touching the point that a position of generation is fixed, touch track on the drawing interface of user terminal Touched for user on the drawing interface of user terminal and slide one section of track of generation, touch point does not weigh with touch track Close;
Or,
For judging whether touch information is a touch line, it is that user is enterprising in the drawing interface of user terminal to touch line Row touches and slides a line segment of generation;
First determining module 7022, for when having touch point and touch track, determining that touch information is effective mesh Touch information is marked, target touch information includes touch point and touch track;
Or,
For when having, when touching line, it to be effective target touch information to determine touch information, and target touch information is including touching Touch line.
In the embodiment of the present application, determining unit 703 further comprises:
Second determining module 7031, for determining that touch point is the center of circle;
Or,
Starting point for determining to touch line is the center of circle;
3rd determining module 7032, for determining radius according to touch track;
Or,
Length for determining to touch line is radius.
In the embodiment of the present application, the 3rd determining module 7032 further comprises:
Acquisition submodule 70321, track initial point and trail termination point for obtaining touch track, track initial point are The original position of touch track, trail termination point are the final position of touch track;
First determination sub-module 70322, the size for determining angle, angle are that the track initial point connection center of circle generates Angle between first line segment and the second line segment of trail termination point connection center of circle generation;
Second determination sub-module 70323, for when angle is more than threshold value, determining the length between track initial point and the center of circle Spend for radius.
User terminal in the embodiment of the present application is described the angle of slave module functional entity above, below from hard The user terminal in the embodiment of the present application is described respectively for the angle of part processing, referring to Fig. 8, in the embodiment of the present application Another embodiment of user terminal includes:
The embodiment of the present application additionally provides user terminal, as shown in figure 8, for convenience of description, illustrate only and the application The related part of embodiment, particular technique details do not disclose, refer to the embodiment of the present application method part.The user terminal can Think including mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point Of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, so that user terminal is mobile phone as an example:
Fig. 8 is illustrated that the block diagram of the part-structure of the mobile phone related to the user terminal of the embodiment of the present application offer.Ginseng Fig. 8 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 810, memory 820, input block 830, display unit 840th, sensor 850, voicefrequency circuit 860, Wireless Fidelity (wireless fidelity, WiFi) module 870, processor 880, And the grade part of power supply 890.It will be understood by those skilled in the art that the handset structure shown in Fig. 8 is not formed to mobile phone Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 8:
RF circuits 810 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, handled to processor 880;In addition, it is sent to base station by up data are designed.Generally, RF circuits 810 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 810 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 820 can be used for storage software program and module, and processor 880 is stored in memory 820 by operation Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 820 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can store uses what is created according to mobile phone Data (such as voice data, phone directory etc.) etc.., can be with addition, memory 820 can include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input block 830 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 830 may include that contact panel 831 and other inputs are set Standby 832.Contact panel 831, also referred to as touch-screen, collect user on or near it touch operation (such as user use The operation of any suitable object such as finger, stylus or annex on contact panel 831 or near contact panel 831), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 831 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 880, and the order sent of reception processing device 880 and can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input Unit 830 can also include other input equipments 832.Specifically, other input equipments 832 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 840 can be used for display by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 840 may include display panel 841, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 841.Further, contact panel 831 can cover display panel 841, when contact panel 831 is detected thereon or attached After near touch operation, processor 880 is sent to determine the type of touch event, is followed by subsequent processing device 880 according to touch event Type corresponding visual output is provided on display panel 841.Although in fig. 8, contact panel 831 and display panel 841 It is the part independent as two to realize the input of mobile phone and input function, but in some embodiments it is possible to by touch-control Panel 831 is integrated with display panel 841 and realizes input and the output function of mobile phone.
Mobile phone may also include at least one sensor 850, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 841, proximity transducer can close display panel 841 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) acceleration Size, size and the direction of gravity are can detect that when static, (for example horizontal/vertical screen is cut available for the application of identification mobile phone posture Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as the gyroscope of configuration, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 860, loudspeaker 861, microphone 862 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 861, sound is converted to by loudspeaker 861 by road 860 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is turned after being received by voicefrequency circuit 860 Voice data is changed to, then after voice data output processor 880 is handled, through RF circuits 810 to be sent to such as another mobile phone, Or voice data is exported to memory 820 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 870 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 8 is shown WiFi module 870, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of application and omit.
Processor 880 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module being stored in memory 820, and call and be stored in memory 820 Data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 880 can wrap Include one or more processing units;Preferably, processor 880 can integrate application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 880.
Mobile phone also includes the power supply 890 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply pipe Reason system and processor 880 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In the embodiment of the present application, the processor 880 included by the user terminal can perform earlier figures 1, Fig. 2 and Fig. 4 Operation in illustrated embodiment performed by user terminal, specific here is omitted.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the application Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, read-only Memory), random access memory (RAM, random access memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
Described above, above example is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to before Embodiment is stated the application is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application.

Claims (13)

  1. A kind of 1. image processing method, it is characterised in that including:
    When user terminal is in drawing interface, the user terminal obtains touch information, and the touch information is used to indicate to use The touch operation that family is carried out on the user terminal;
    The user terminal judges whether the touch information is effective target touch information;
    If so, then the user terminal determines the center of circle and radius according to the target touch information;
    The user terminal generates circular pattern according to the center of circle and the radius.
  2. 2. according to the method for claim 1, it is characterised in that the user terminal judges whether the touch information is to have The target touch information of effect includes:
    The user terminal judges whether the touch information is touch point and a touch track that position is fixed, institute Touch point is stated to carry out touching the point fixed a position of generation, institute on the drawing interface of the user terminal for the user Touch track is stated to be touched on the drawing interface of the user terminal for the user and slide one section of track of generation, institute State touch point and the touch track is misaligned;
    If so, then the user terminal determines that the touch information is effective target touch information, the target touch information Including the touch point and the touch track.
  3. 3. according to the method for claim 2, it is characterised in that the user terminal determines according to the target touch information The center of circle and radius include:
    The user terminal determines that the touch point is the center of circle;
    The user terminal determines the radius according to the touch track.
  4. 4. according to the method for claim 3, it is characterised in that the user terminal is according to determining the touch track Radius includes:
    The user terminal obtains the track initial point and trail termination point of the touch track, and the track initial point is described The original position of touch track, the trail termination point are the final position of the touch track;
    The user terminal determines the size of angle, and the angle is that the track initial point connects the first of the center of circle generation Line segment and trail termination point connect the angle between the second line segment of the center of circle generation;
    When the angle is more than threshold value, the user terminal determines that the length between the track initial point and the center of circle is The radius.
  5. 5. according to the method for claim 1, it is characterised in that the user terminal judges whether the touch information is to have The target touch information of effect includes:
    The user terminal judges whether the touch information is a touch line, and the touch line is the user in the use Touched on the drawing interface of family terminal and slide a line segment of generation;
    If so, then the user terminal determines that the touch information is effective target touch information, the target touch information Including the touch line.
  6. 6. according to the method for claim 5, it is characterised in that the user terminal determines according to the target touch information The center of circle and radius include:
    The user terminal determines that the starting point of the touch line is the center of circle;
    The user terminal determines that the length of the touch line is the radius.
  7. A kind of 7. user terminal, it is characterised in that including:
    Acquiring unit, for when user terminal is in drawing interface, obtaining touch information, the touch information is used to indicate to use The touch operation that family is carried out on the user terminal;
    Judging unit, for judging whether the touch information is effective target touch information;
    Determining unit, it is true according to the target touch information for when the touch information is effective target touch information Centering and radius;
    Generation unit, for generating circular pattern according to the center of circle and the radius.
  8. 8. user terminal according to claim 7, it is characterised in that the judging unit includes:
    Judge module, for judging whether the touch information is touch point and a touch track that position is fixed, The touch point is that the user carries out touching the point that a position of generation is fixed on the drawing interface of the user terminal, The touch track is that the user is touched on the drawing interface of the user terminal and slides one section of track of generation, The touch point and the touch track are misaligned;
    Or,
    For judging whether the touch information is a touch line, the touch line is the user in the user terminal Touched on drawing interface and slide a line segment of generation;
    First determining module, for when having the touch point and the touch track, it to be effective to determine the touch information Target touch information, the target touch information includes the touch point and the touch track;
    Or,
    For when there is the touch line, it to be effective target touch information to determine the touch information, and the target touches letter Breath includes the touch line.
  9. 9. user terminal according to claim 8, it is characterised in that the determining unit includes:
    Second determining module, for determining that the touch point is the center of circle;
    Or,
    For determining that the starting point of the touch line is the center of circle;
    3rd determining module, for determining the radius according to the touch track;
    Or,
    For determining that the length of the touch line is the radius.
  10. 10. user terminal according to claim 9, it is characterised in that the 3rd determining module includes:
    Acquisition submodule, for obtaining the track initial point and trail termination point of the touch track, the track initial point is The original position of the touch track, the trail termination point are the final position of the touch track;
    First determination sub-module, for determining the size of angle, the angle is that the track initial point connects the center of circle life Into the first line segment and trail termination point connect angle between the second line segment of center of circle generation;
    Second determination sub-module, for when the angle is more than threshold value, determining between the track initial point and the center of circle Length be the radius.
  11. A kind of 11. user terminal, it is characterised in that including:
    Processor, memory, bus and input/output interface;
    Have program stored therein code in the memory;
    The processor performs following operation when calling the program code in the memory:
    When user terminal is in drawing interface, touch information is obtained, the touch information is used for instruction user in the user The touch operation carried out in terminal;
    Judge whether the touch information is effective target touch information;
    If so, the center of circle and radius are then determined according to the target touch information;
    According to the center of circle and radius generation circular pattern.
  12. 12. a kind of computer-readable recording medium, including instruction, when the instruction is run on computers so that computer Perform the method as described in any one in claim 1 to 6.
  13. 13. a kind of computer program product for including instruction, when run on a computer so that computer performs such as right It is required that the method in 1 to 6 described in any one.
CN201711087496.0A 2017-11-07 2017-11-07 A kind of image processing method and user terminal Pending CN107885431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711087496.0A CN107885431A (en) 2017-11-07 2017-11-07 A kind of image processing method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711087496.0A CN107885431A (en) 2017-11-07 2017-11-07 A kind of image processing method and user terminal

Publications (1)

Publication Number Publication Date
CN107885431A true CN107885431A (en) 2018-04-06

Family

ID=61779226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711087496.0A Pending CN107885431A (en) 2017-11-07 2017-11-07 A kind of image processing method and user terminal

Country Status (1)

Country Link
CN (1) CN107885431A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110175821A1 (en) * 2010-01-15 2011-07-21 Apple Inc. Virtual Drafting Tools
US20110210834A1 (en) * 2010-03-01 2011-09-01 Research In Motion Limited Method of providing tactile feedback and apparatus
CN103577101A (en) * 2012-07-30 2014-02-12 三星电子株式会社 Drawing input method based on multi-touch, and device
CN103946787A (en) * 2012-09-20 2014-07-23 卡西欧计算机株式会社 Figure drawing apparatus, figure drawing method and recording medium on which figure drawing programs are recorded
CN105408852A (en) * 2013-07-25 2016-03-16 三星电子株式会社 Method of processing input and electronic device thereof
US20170213366A1 (en) * 2016-01-21 2017-07-27 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Touch screen gesture for perfect simple line drawings

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110175821A1 (en) * 2010-01-15 2011-07-21 Apple Inc. Virtual Drafting Tools
US20110210834A1 (en) * 2010-03-01 2011-09-01 Research In Motion Limited Method of providing tactile feedback and apparatus
CN103577101A (en) * 2012-07-30 2014-02-12 三星电子株式会社 Drawing input method based on multi-touch, and device
CN103946787A (en) * 2012-09-20 2014-07-23 卡西欧计算机株式会社 Figure drawing apparatus, figure drawing method and recording medium on which figure drawing programs are recorded
CN105408852A (en) * 2013-07-25 2016-03-16 三星电子株式会社 Method of processing input and electronic device thereof
US20170213366A1 (en) * 2016-01-21 2017-07-27 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Touch screen gesture for perfect simple line drawings

Similar Documents

Publication Publication Date Title
CN107786732A (en) Terminal applies method for pushing, mobile terminal and computer-readable recording medium
CN106506321B (en) Group message processing method and terminal device
CN103813127B (en) A kind of video call method, terminal and system
CN106127152B (en) A kind of fingerprint template update method and terminal device
CN106341809B (en) A kind of data transmission method and equipment
CN110531915B (en) Screen operation method and terminal equipment
CN110673770B (en) Message display method and terminal equipment
CN104866110A (en) Gesture control method, mobile terminal and system
CN110941750A (en) Data linkage method and related device
CN106371749A (en) Method and device for terminal control
CN108228034A (en) Control method, mobile terminal and the computer readable storage medium of mobile terminal
CN111026305A (en) Audio processing method and electronic equipment
CN107832375A (en) Control method, terminal and the server that picture is shown
CN109164965A (en) Mobile terminal and its method, apparatus and readable storage medium storing program for executing for reducing screen interface
CN106658353A (en) Data migration method and mobile equipment
CN108196758A (en) Icon amplification method, mobile terminal and computer readable storage medium
CN107682448A (en) Exercise program method for pushing and terminal
CN106814934A (en) icon processing method and terminal device
CN107045418A (en) A kind of method, device, computer installation and the storage medium of information input
CN105940368A (en) Pattern lock unlocking method and terminal
CN107678822A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN104238931B (en) Information input method and device and electronic equipment
CN106777383B (en) File sorting method and intelligent terminal
CN106164840A (en) The display packing of a kind of keyboard, device and terminal unit
CN107708140A (en) Wireless network diversion processing method and Related product

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180406

WD01 Invention patent application deemed withdrawn after publication