CN101393494B - Method for assigning colors to handwriting - Google Patents
Method for assigning colors to handwriting Download PDFInfo
- Publication number
- CN101393494B CN101393494B CN2007101522085A CN200710152208A CN101393494B CN 101393494 B CN101393494 B CN 101393494B CN 2007101522085 A CN2007101522085 A CN 2007101522085A CN 200710152208 A CN200710152208 A CN 200710152208A CN 101393494 B CN101393494 B CN 101393494B
- Authority
- CN
- China
- Prior art keywords
- tracing point
- handwriting
- value
- input
- random variable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to a method for endowing a handwriting with color, which comprises the following steps: (a) at least one value among a position coordinate value of a tracing point, a system time value when the tracing point is inputted, and a random variable value is acquired when the handwriting is inputted; (b) RGB values of the tracing point are obtained according to a function of the RGB values of the tracing point with reference to the at least one value among the position coordinate value of the tracing point, the system time value when the tracing point is inputted, and the random variable value acquired in step (a); (c) the tracing point is displayed according to the RGB values obtained; and (d) judgment is made whether input of the handwriting is ended or not, and the process is ended if the judgment is made that the input of the handwriting is ended. The method can make the color of the handwriting more gorgeous and provide users with a colorful GUI (graphical user interface).
Description
Technical field
The present invention relates to a kind of method of assigning colors to handwriting.More particularly, relate to a kind of method of passing through the assigning colors to handwriting of change handwriting tracing point.
Background technology
Handwriting input is a kind of popular input mode of using on the present mobile device.The color of handwriting is generally black or white.Some handwriting has been realized single color, is red entirely as all person's handwritings.Single person's handwriting color is stiff not attractive in appearance concerning the user.
Some system provides the method for giving polychrome for handwriting tracks now, can make handwriting present multiple color, but the three primary colors of this method starting point (RGB) value is constant all the time, and just successively decrease or increase progressively according to a value in the handwriting tracks rgb value, be combined to form new rgb value with two other primary color value then, the mode underaction, color changes not obvious.Its shortcoming is: the rgb value of (1) person's handwriting starting point is constant all the time, and (2) because be the change rule of fixing, the person's handwriting color effect of twice input in front and back is identical or similar.
Therefore we need improve the method for giving the handwriting color, make the variation that shifts gears of the rgb value of handwriting starting point, the otherness of twice input person's handwriting color effect makes color more gorgeous before and after increasing, and offers user's colorful GUI (graphical user interface) interface.
Summary of the invention
The object of the present invention is to provide a kind of method of passing through three primary colors (RGB) the value assigning colors to handwriting of change handwriting tracing point.
According to the present invention, a kind of method of assigning colors to handwriting is provided, comprise step: (a) when the input handwriting, obtain the position coordinate value of tracing point, the system time value when importing this tracing point and at least one in the random variable values; (b) according to the rgb value that obtains this tracing point about the position coordinate value of the tracing point that obtains in step (a), system time value when importing this tracing point and at least one the function in the random variable values of the rgb value of tracing point; (c) show tracing point according to the rgb value that obtains; (d) confirm that whether the input handwriting finishes, if determine to finish, then finishes.
Step (d) also can comprise: do not finish if determine input, then get back to step (a).
Described function can satisfy condition: the rgb value that obtains changes with the position coordinate value of tracing point, system time value when importing this tracing point and at least one the change in the random variable values.
Described function can satisfy condition: the scope of three kinds of color values of the rgb value that obtains is [0,255].
Described random variable values can be a random number.
Described random variable values can be an external variable such as temperature, brightness, acceleration, writing speed.
Description of drawings
By the detailed description of carrying out below in conjunction with accompanying drawing, above and other objects of the present invention, characteristics and advantage will become apparent, wherein:
Fig. 1 illustrates the physical platform that a kind of method of assigning colors to handwriting is moved;
Fig. 2 illustrates the composition synoptic diagram of the LCD display part of PDA Phone;
Fig. 3 illustrates the process flow diagram that the three primary colors of tracing point (RGB) value according to an exemplary embodiment of the present invention changes with position coordinates and system time value;
Fig. 4 illustrates the process flow diagram that the rgb value of tracing point according to an exemplary embodiment of the present invention changes with position coordinates and random variable values;
Fig. 5 illustrates the process flow diagram that the rgb value of tracing point according to an exemplary embodiment of the present invention changes with system time value and random variable values;
Fig. 6 illustrates the process flow diagram that the rgb value of tracing point according to an exemplary embodiment of the present invention changes with position coordinates, system time value and random variable values;
Fig. 7 A is the diagrammatic sketch that uses the handwriting of traditional input method according to an exemplary embodiment of the present invention in PDA Phone; With
Fig. 7 B is the diagrammatic sketch that uses in PDA Phone according to an exemplary embodiment of the present invention according to the handwriting of input method of the present invention.
Embodiment
Below, describe embodiments of the invention in detail with reference to accompanying drawing.
The present invention can apply to various can carrying out on the equipment of handwriting input widely, on PDA, handwriting input mobile phone, Tablet PC, also can be used to have the equipment that computing power is arranged of external handwriting input device, as PC, and server etc.
Fig. 1 shows the common physical platform of the designed system's operation of the present invention: have the PDA 101 of touch-screen, the mobile phone 102 that touch-screen is arranged and Tablet PC 103.
Fig. 2 shows the areal distribution situation of display device LCD of the physical platform of the designed system of the present invention operation.For example when need carrying out handwriting input, the user (need import a note or write an Email) the composition synoptic diagram of the LCD display part of PDA Phone such as the user.
As shown in Figure 2, the content that input viewing area 201 is used for the explicit user input and confirms is such as short message content or Email content.
The handwriting input district can be divided into five zones: options region 202, candidate block 203, association block 204, input frame 205 and function key area 206.
Input frame 205 is input areas of user's handwriting, receives user's handwritten stroke input.Candidate block 203 offers a plurality of candidate of user, and the confession user further confirms the handwriting input pen mark and selects.Association block 204 offers the current T9 association word that is identified the person's handwriting correspondence of user.Options region 202 offers the selection of the multiple identification range of user, comprise all (identification range is the full character set that comprises Chinese, English, numbers and symbols), English (is divided into whole English character collection, capitalization English character collection and small letter English character collection), numeral and soft keyboard (being divided into digital soft keyboard, English soft keyboard and symbol soft keyboard).Function key area 206 offers the function key that the user uses always, directionkeys for example, and space bar, backspace keys etc. make the user more convenient to operate, quick.The user can customize function key in the option dialog box.
Describe exemplary embodiment of the present invention with reference to Fig. 3 in detail to Fig. 7 B below.
According to the present invention, the three primary colors of handwriting tracing point (RGB) values can be along with the position coordinates of tracing point (X, Y) change of at least one in value, system time value and the random variable values and changing.
Fig. 3 illustrates the process flow diagram that the rgb value of tracing point according to an exemplary embodiment of the present invention changes with position coordinates and system time value.
The rgb value of each tracing point of handwriting can be according to the position coordinates of this tracing point (X, Y) change of value and system time value t and changing.We can be described with a function expression, shown in equation 1.
(R, G, B)=(t) equation 1 for X, Y for F
In equation 1, (R, G, B) rgb value of a tracing point of expression handwriting; F (X, Y, t) the such class function of representative: three input variables are arranged, and X represents the horizontal ordinate of tracing point position, and Y represents the ordinate of tracing point position, the system time value during this tracing point of t representative input; (t) (B), rgb value changes with the change of X, Y, t the rgb value of output color function F, and 0≤R≤255,0≤G≤255,0≤B≤R255 for R, G for X, Y.
Equation 2 be according to an exemplary embodiment of the present invention function (R, G, B)=F (X, Y, example t).Wherein, R can change according to the value of X, and G can change according to the value of Y, and B can change according to the value of t, and its system of equations expression formula is as follows:
Certainly, in the present invention, function (R, G, B)=(X, Y t) are not limited thereto F, and it can be that the rgb value that makes about X, Y, t changes with the change of X, Y, t, and makes the arbitrary function of 0≤R≤255,0≤G≤255,0≤B≤R255.
With reference to Fig. 3,, when input frame 205 is write, obtain position coordinates (X, Y) value and the system time value t during input trajectory point of the tracing point of handwriting the user at step S301.At step S302, calculate the rgb value of the tracing point of this moment by equation 1.
At step S303, according to the rgb value of the tracing point that calculates at step S302 and show tracing point.At step S304, confirm whether the input handwriting finishes.If determine to finish, then finish; If determine not finish, then get back to step S301.
Fig. 4 illustrates the process flow diagram that the rgb value of tracing point according to an exemplary embodiment of the present invention changes with position coordinates and random variable values.
At step S401, when the user when input frame 205 is write, obtain the tracing point of handwriting position coordinates (X, Y) value and random variable values r.At step S402, calculate the rgb value of the tracing point of this moment by equation 3.
(R, G, B)=(r) equation 3 for X, Y for F
Equation 3 is that (X is Y) with the expression formula of the function of random variable values r for the coordinate about the tracing point of handwriting of three primary colors (RGB) value of indication handwriting tracing point.In equation 3, (R, G, B) rgb value of a tracing point of expression handwriting.F (X, Y, r) the such class function of representative: three input variables are arranged, and X represents the horizontal ordinate of tracing point position, and Y represents the ordinate of tracing point position, and r represents a random variable values; (t) (B), wherein rgb value changes with the change of X, Y, r the rgb value of output color function F, and 0≤R≤255,0≤G≤255,0≤B≤R255 for R, G for X, Y.
In the present invention, r can be a random number, also can be the external variable such as temperature, brightness, acceleration, writing speed etc.When r was external variable, the color of handwriting then can be subjected to the influence of surrounding environment.Such as, when r was writing speed, if carry out handwriting input with different writing speeds, then the color of handwriting can different changes occur according to writing speed, can give abundanter writing experience of user and enjoyment.
Equation 4 be according to an exemplary embodiment of the present invention function (R, G, B)=F (X, Y, example r).
In the present invention, and function (R, G, B)=(X, Y r) are not limited thereto F, and it can be that the rgb value that makes about X, Y, r changes and make the arbitrary function of 0≤R≤255,0≤G≤255,0≤B≤R255 with the change of X, Y, r.
At step S403, according to the rgb value demonstration tracing point of the tracing point that calculates at step S402.At step S404, confirm whether the input handwriting finishes.If determine to finish, then finish; If determine not finish, then get back to step S401.
Fig. 5 illustrates the process flow diagram that the rgb value of tracing point according to an exemplary embodiment of the present invention changes with system time value and random variable values.
At step S501, when the user when input frame 205 is write, system time value t and random variable values r.At step S502, calculate the rgb value of the tracing point of this moment by equation 5.
(R, G, B)=(t, r) equation 5 for F
Equation 5 is expression formulas of funtcional relationship between the system time value of tracing point of three primary colors (RGB) value of indication handwriting tracing point and handwriting and the random variable values t.In equation 5, (R, G, B) rgb value of a tracing point of expression handwriting.F (t, r) the such class function of representative: two input variables are arranged, the system time value when t represents input trajectory point, r represents a random variable values; (t, r) (B), rgb value changes with the change of t, r the rgb value of output color function F, and 0≤R≤255,0≤G≤255,0≤B≤R255 for R, G.
Equation 6 be according to an exemplary embodiment of the present invention function (R, G, B)=F (t, example r).
In the present invention, and function (R, G, B)=(t r) is not limited thereto F, and it can be that the rgb value that makes about t, r changes with the change of t, r, and makes the arbitrary function of 0≤R≤255,0≤G≤255,0≤B≤R255
At step S503, according to the rgb value demonstration tracing point of the tracing point that calculates at step S502.At step S504, confirm whether the input handwriting finishes.If determine to finish, then finish; If determine not finish, then get back to step S501.
Fig. 6 illustrates the process flow diagram that the rgb value of tracing point according to an exemplary embodiment of the present invention changes with position coordinates, system time value and random variable values.
At step S601, when the user when input frame 205 is write, obtain the tracing point of handwriting position coordinates (X, Y) value and system time value t and random variable values r.At step S602, calculate the rgb value of the tracing point of this moment by equation 7.
(R, G, B)=F (X, Y, t, r) equation 7
Equation 7 is expression formulas of funtcional relationship between system time value, system time value t and the random variable values r of tracing point of three primary colors (RGB) value of indication handwriting tracing point and handwriting.In equation 7, (R, G, B) rgb value of a tracing point of expression handwriting.F (t, r) the such class function of representative: four input variables are arranged, and X represents the horizontal ordinate of tracing point position, and Y represents the ordinate of tracing point position for X, Y, the system time value when t represents input trajectory point, and r represents a random variable values; Function F (X, Y, t, r) (B), rgb value changes with the change of X, Y, t, r the rgb value of output color, and 0≤R≤255,0≤G≤255,0≤B≤R255 for R, G.
Equation 8 be according to an exemplary embodiment of the present invention function (R, G, B)=F (X, Y, t, example r).
In the present invention, and function (R, G, B)=(t r) is not limited thereto F for X, Y, and it can be that the rgb value that makes about X, Y, t, r changes with the change of X, Y, t, r, and makes the arbitrary function of 0≤R≤255,0≤G≤255,0≤B≤R255
At step S603, according to the rgb value demonstration tracing point of the tracing point that calculates at step S602.At step S604, confirm whether the input handwriting finishes.If determine to finish, then finish; If determine not finish, then get back to step S601.
Fig. 7 A is the diagrammatic sketch that uses the handwriting of traditional input method according to an exemplary embodiment of the present invention in PDA Phone; Fig. 7 B is the diagrammatic sketch that uses in PDA Phone according to an exemplary embodiment of the present invention according to the handwriting of input method of the present invention.With reference to Fig. 7 A, use traditional input method single in the handwriting color of " car " word of input frame 205 inputs, do not change, not attractive in appearance.With reference to Fig. 7 B, use the method according to this invention abundant in the change color of each tracing point of the person's handwriting color of " car " word of input frame 205 inputs.Its person's handwriting is compared with the handwriting that uses traditional input method, and color is rich and varied, and is more attractive in appearance.
The invention provides a kind of new method of assigning colors to handwriting, make the rgb value randomly changing of handwriting starting point, the otherness of twice input person's handwriting color effect makes color more gorgeous before and after increasing, and offers user's colorful GUI (graphical user interface) interface.
Although specifically shown and described the present invention with reference to its exemplary embodiment, but it should be appreciated by those skilled in the art, under situation about not breaking away from, can carry out various changes on form and the details to it by the spirit and scope of the present invention of claims definition.
Claims (5)
1. the method for an assigning colors to handwriting comprises step:
(a) when the input handwriting, obtain the position coordinate value of tracing point, the system time value when importing this tracing point and at least one in the random variable values;
(b) according to the tristimulus values that obtains this tracing point about the position coordinate value of the tracing point that obtains in step (a), system time value when importing this tracing point and at least one the function in the random variable values of the tristimulus values of tracing point;
(c) tristimulus values according to this tracing point that obtains shows this tracing point; With
(d) confirm whether the input handwriting finishes, if determine to finish, then finishes,
Wherein, described function satisfies condition: the tristimulus values that obtains changes with the position coordinate value of tracing point, system time value when importing this tracing point and at least one the change in the random variable values.
2. the method for claim 1, wherein step (d) also comprises: do not finish if determine input, then get back to step (a).
3. the method for claim 1, wherein described function satisfies condition: the scope of three kinds of color values of the tristimulus values that obtains is [0,255].
4. the method for claim 1, wherein described random variable values is a random number.
5. the method for claim 1, wherein described random variable values is an external variable as temperature, brightness, acceleration or writing speed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101522085A CN101393494B (en) | 2007-09-19 | 2007-09-19 | Method for assigning colors to handwriting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101522085A CN101393494B (en) | 2007-09-19 | 2007-09-19 | Method for assigning colors to handwriting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101393494A CN101393494A (en) | 2009-03-25 |
CN101393494B true CN101393494B (en) | 2011-01-12 |
Family
ID=40493809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101522085A Active CN101393494B (en) | 2007-09-19 | 2007-09-19 | Method for assigning colors to handwriting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101393494B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI460609B (en) * | 2012-06-06 | 2014-11-11 | Kye Systems Corp | An input system, the device and the method of changing color according to the color of the ambient |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101872259B (en) * | 2010-06-03 | 2012-01-25 | 中国人民解放军第二炮兵工程学院 | Natural interaction pen capable of automatically inputting written contents and handwriting detection method |
CN103488281A (en) * | 2013-01-05 | 2014-01-01 | 罗朝劲 | Reinforced handwriting input scheme |
CN103824372A (en) * | 2014-03-10 | 2014-05-28 | 北京壹平台科技有限公司 | Hand-shaking number selection method adopting MT (mobile terminal) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1402127A (en) * | 2001-08-15 | 2003-03-12 | 天瀚科技股份有限公司 | Method for assigning color to handwriting trace of handwriting input device |
-
2007
- 2007-09-19 CN CN2007101522085A patent/CN101393494B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1402127A (en) * | 2001-08-15 | 2003-03-12 | 天瀚科技股份有限公司 | Method for assigning color to handwriting trace of handwriting input device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI460609B (en) * | 2012-06-06 | 2014-11-11 | Kye Systems Corp | An input system, the device and the method of changing color according to the color of the ambient |
Also Published As
Publication number | Publication date |
---|---|
CN101393494A (en) | 2009-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100517205C (en) | Synchronous multi-dimensional speed-increasing space-saving system display method for IT field | |
KR101846238B1 (en) | Chinese character input apparatus and controlling method thereof | |
CN101251781A (en) | Virtual keyboard performing input and function operations through mobile phones transverse screen status display | |
CN101266533A (en) | Input method for touch screen | |
CN102339211A (en) | Pinyin six-sliding input method | |
CN101393494B (en) | Method for assigning colors to handwriting | |
CN101572746A (en) | Method for inputting characters on touch screen of internet-enabled mobile phone through virtual keyboard | |
CN106126140B (en) | A kind of method, apparatus and electronic equipment of rendering type | |
CN101996020B (en) | Method and device for displaying virtual keyboard | |
KR101872879B1 (en) | Keyboard for typing chinese character | |
KR101216840B1 (en) | Keyboard layout and input system for japanese | |
CN101986250B (en) | Sliding pen input system based on virtual keyboard | |
CN102177486A (en) | Communication device with multilevel virtual keyboard | |
CN105869194A (en) | Writing input method and device, and mobile device | |
CN101533311A (en) | Strokes type Chinese character input method | |
US20060116135A1 (en) | Morphology-based text entry system | |
KR101380502B1 (en) | Device method to input korean character with drag in electrical appliances with touch screens | |
KR101282760B1 (en) | User interface apparatus and method for providing acegi keyboard layout | |
KR20120056582A (en) | Chinese pinyin input device on touch screen panel | |
CN106155343A (en) | Chinese character input method and device | |
JP2017536630A6 (en) | Kanji input method and apparatus | |
CN102063239A (en) | Three-dimensional screen keyboard system and input method thereof | |
CN104156170A (en) | Chinese pinyin input method and system based on touch screen fixed path vowels | |
CN104765473A (en) | Optimized spelling code input method | |
KR20100027195A (en) | Method for korean alphabet input apparatus for consonant note-recognition and vowel touch-recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |