CN101799735A - Primary handwriting hand input display method - Google Patents

Primary handwriting hand input display method Download PDF

Info

Publication number
CN101799735A
CN101799735A CN200910105330A CN200910105330A CN101799735A CN 101799735 A CN101799735 A CN 101799735A CN 200910105330 A CN200910105330 A CN 200910105330A CN 200910105330 A CN200910105330 A CN 200910105330A CN 101799735 A CN101799735 A CN 101799735A
Authority
CN
China
Prior art keywords
ordinate
play amount
point
primary
length
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.)
Granted
Application number
CN200910105330A
Other languages
Chinese (zh)
Other versions
CN101799735B (en
Inventor
陈吾云
王志光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN2009101053306A priority Critical patent/CN101799735B/en
Publication of CN101799735A publication Critical patent/CN101799735A/en
Application granted granted Critical
Publication of CN101799735B publication Critical patent/CN101799735B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a primary handwriting hand input display method, comprising the following steps: step a. determining the stepping direction of the next scanning point relative to the previous scanning point; step b. determining the step length according to the position coordinate data of the two scanning points; step c. determining a plurality of optimal connecting points according to the stepping direction and the step length; and step d. connecting and displaying the optimal connecting points in turn. The primary handwriting hand input display method can determine the step length and the stepping direction according to the position relation and the offset of the next scanning point and the previous scanning point, and the obtained connecting line is very smooth and vivid, thereby satisfying the requirement of primary handwriting hand input.

Description

A kind of primary handwriting hand input display method
Technical field
The present invention relates to the handwriting input field, especially a kind of primary handwriting hand input display method.
Background technology
Nowadays a lot of portable handheld electronic devices all has handwriting functions, for example many mobile phones, PDA, MID (Mobile Internet Device, mobile internet device) etc. equipment can utilize handwriting functions input information easily, even the hand-written pattern of former person's handwriting appearred keeping, promptly, to show that according to user's self person's handwriting the literal of input and picture are (certain, because writing speed, the influence of factors such as sweep velocity, what finally show is the fitting effect lines of a kind of user of approaching self person's handwriting), this mode can keep self style of user significantly, has use experience preferably.Yet the display effect of the former person's handwriting handwriting input on present most of equipment is all level and smooth inadequately, even can see square tooth effect clearly; And, when hand-written speed is very fast,, the J curve effectJ of breakpoint is arranged in the middle of will occurring if the sweep velocity of equipment touch-screen is fast inadequately, influenced the writing effect of former person's handwriting.
Therefore, provide a kind of real necessity that belongs to of method of optimizing hand-written former person's handwriting display effect.
Summary of the invention
The purpose of this invention is to provide a kind of primary handwriting hand input display method, be intended to solve the relatively poor technological deficiency of former person's handwriting handwriting input display effect that prior art exists.
Primary handwriting hand input display method provided by the invention may further comprise the steps:
Step a sweeps the step direction of described point with respect to previous scanning point after determining;
Step b determines step-length according to the position coordinate data of former and later two analyzing spots;
Step c determines some best tie points according to step direction and step-length;
Steps d connects above-mentioned best tie point and demonstration successively.
More specifically, be to be that initial point is set up the position that sweeps described point after rectangular coordinate system is also determined with the previous scanning point among the described step a, and then definite step direction.
More specifically, described step b further may further comprise the steps:
Step b1 calculates the horizontal ordinate side-play amount and the ordinate side-play amount of former and later two analyzing spots;
Step b2 compares the size of horizontal ordinate side-play amount and ordinate side-play amount and calculates step-length.
More specifically, described step b2 further may further comprise the steps:
Step b21 is if the horizontal ordinate side-play amount greater than the ordinate side-play amount, then the horizontal ordinate side-play amount is put in order processing divided by the ordinate side-play amount and with the resultization, and then obtain the step-length on the horizontal ordinate, and the step-length on the ordinate is a pixel;
Step b22 is if the ordinate side-play amount greater than the horizontal ordinate side-play amount, then the ordinate side-play amount is put in order processing divided by the horizontal ordinate side-play amount and with the resultization, and then obtain the step-length on the ordinate, and the step-length on the horizontal ordinate is a pixel.
More specifically, the whole processing of describedization adopts a rule.
More specifically, in the process of the best tie point in determining described step c, sweep the abscissa value or the ordinate value of described point after whether the abscissa value of the up-to-date point that continuous inspection obtains and ordinate value reach, the no longer stepping that reaches, the continuation stepping that does not reach sweeps the abscissa value and the ordinate value of described point after horizontal ordinate value all reaches.
Primary handwriting hand input display method provided by the present invention can according to after sweep described point and previous scanning point position relation and side-play amount determine step-length and step direction, the connecting line that obtains is very level and smooth and true to nature, has satisfied the demand of former person's handwriting handwriting input.
Description of drawings
Fig. 1 is the schematic flow sheet of primary handwriting hand input display method of the present invention;
Fig. 2 is the synoptic diagram that the present invention determines step direction;
Fig. 3 is the position view of former and later two analyzing spots of preferred embodiment of the present invention;
Fig. 4 is the analyzing spot connection diagram behind the employing primary handwriting hand input display method of the present invention;
Fig. 5 is the analyzing spot connection diagram when not adopting primary handwriting hand input display method of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Shown in Fig. 1, the preferred embodiment of primary handwriting hand input display method provided by the invention comprises following core procedure:
Step 10 in the handwritten input information process, sweeps the step direction of described point with respect to previous scanning point after determining;
Step 11 is determined step-length according to the position coordinate data of former and later two analyzing spots;
Step 12 is determined some best tie points according to step direction and step-length;
Step 13 connects above-mentioned best tie point and demonstration successively.
Elaborate above steps below in conjunction with Fig. 2-5.
Shown in Fig. 2, after handwriting input begins, determined after the position of initial point (calling " initial point " in the following text), at first to determine point that the next one scans with respect to step direction from initial point, that is, need clear and definite initial point from where near next analyzing spot.In Fig. 2, with initial point (x0, y0) set up rectangular coordinate system for true origin, writing pencil can continue to extend after initial point to all around, the next analyzing spot that writing pencil produces can drop in the 1-8 zone on (8 zones) or the A-H line segment (8 line segments) totally totally, in step 10, at first determine the zone at a back analyzing spot (previous analyzing spot is an initial point) place exactly, and then definite step direction.Below enumerate a preferred implementation set forth sweep after how determining described point (Xn, position Yn):
(1) as if Xn-X0>=0, the position that sweeps described point after then can determining is in first and second quadrant (comprising axis of ordinates);
(2) as if Yn-Y0>=0, the position that sweeps described point after then can further determining is in first quartile (comprising H, B).
(3) if (Yn-Y0)/(Xn-X0)>1, the position that sweeps described point after then can further determining is in 1 zone;
If (Yn-Y0)/(Xn-X0)<1, the position that sweeps described point after then can further determining is in 2 zones.
If (Yn-Y0)/(Xn-X0)=1, the position that sweeps described point after then can further determining is on the A line segment;
If (Yn-Y0)/(Xn-X0)=0, the position that sweeps described point after then can further determining is on the B line segment;
If Xn=X0 and Yn-Y0>=0, the position that sweeps described point after then further determining is on the H line segment;
Therefore, can find by above-mentioned example no matter how writing pencil moves, can both be that initial point is set up rectangular coordinate system with the previous scanning point, by to above-mentioned similar comparison and calculating, sweep the position of described point and then definite step direction after determining.
Shown in Fig. 3,, determined after the step direction that how (x0, (x1 is that step 11 needs the problem that solves y1) y0) to sweep described point after carrying out the transition to from previous scanning point at completing steps 10.As preferred embodiment, in step 11, need determine step-length according to the position coordinate data of former and later two analyzing spots, could make that like this transition effect is more level and smooth and true to nature, specific practice is: the step-length of determining horizontal vertical both direction respectively, and then carry out transition according to this step-length and connect, specifically comprise following step:
(1) calculate horizontal stroke, the ordinate side-play amount of former and later two analyzing spots:
X_Offset=X1-X0,Y_Offset=Y1-Y0.
(2) compare X_Offset and Y_Offset size, if if X_Offset>Y_Offset, then can determine the step-length X_Step=X_Offset/Y_Offset of horizontal ordinate (directions X), to calculate the whole processing of resulting X_Step value workization (promptly handles according to advancing a rule, for example income value is 2.1 o'clock, X_Step=3 then), the step-length of ordinate (Y direction) is a pixel.Same, if X_Offset<Y_Offset then can determine the step-length Y_Step=Y_Offset/X_Offset of Y direction, will calculate that resulting Y_Step value workization is whole to be handled (when for example income value is integer 2, Y_Step=2 then), the step-length of directions X is a pixel.
With the position coordinate data among Fig. 3 is example, previous scanning point (x0, y0) with after sweep described point (x1, position coordinate data y1) have following relation: X_Offset=6, Y_Offset=10.According to said method, because X_Offset<Y_Offset, so the step-length Y_Step=Y_Offset/X_Offset of Y direction, approximate 1.7, after advancing method processing, Y_Step=2, and X_Step=1.Determine that according to above-mentioned step direction that obtains and step-length some best tie points (are step 12) then, as shown in Figure 4, at Y_Step=2, under the situation of X_Step=1, from previous scanning point (x0, y0) sweep described point (x1 after carrying out the transition to, y1) mode is each Y direction two pixels that advance, the pixel and directions X advances can obtain best tie point and be followed successively by: (x0+1, y0+2), (x0+2, y0+4), (x0+3, y0+6), (x0+4, y0+8), (x0+5, y0+10), in this stepping process, whether horizontal ordinate and the ordinate value of constantly checking resulting up-to-date point reach x1 value and y1 value, if reach, then in this side up no longer stepping, the continuation stepping that does not reach, all reach promptly up to horizontal ordinate and to end, for example the Y direction reaches the y1 value earlier among Fig. 4, sweeps described point (x1 after therefore reaching, y1) before, the Y direction halts once.
Shown in Fig. 5, beneficial effect for clearer elaboration said process, disclosed the scheme of carrying out 2 connections with prior art among Fig. 5: as shown in Figure 5, (x0 is y0) to (x1 is when y1) forcing into, the step-length of directions X and Y direction all is 1 o'clock, the point that exists in the middle of can finding is followed successively by: (x0+1, y0+1), (x0+2, y0+2), (x0+3, y0+3) ... same, in this stepping process, whether horizontal ordinate and the ordinate value of constantly checking the up-to-date point that obtains reach x1 value and y1 value, the no longer stepping that reaches, the continuation stepping that does not reach all reaches promptly up to horizontal ordinate and to end.The path of comparison diagram 4 and two kinds of different lines of Fig. 5 obviously adopts the line effect of Fig. 4 of the present invention more level and smooth and true to nature, and tangible zigzag has then appearred in the final stage of Fig. 5.
After obtaining best tie point, do display process at last and get final product (step 13).
The above only is preferred embodiment of the present invention, not in order to restriction the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the protection domain of claim of the present invention.

Claims (6)

1. primary handwriting hand input display method is characterized in that may further comprise the steps:
Step a sweeps the step direction of described point with respect to previous scanning point after determining;
Step b determines step-length according to the position coordinate data of former and later two analyzing spots;
Step c determines some best tie points according to step direction and step-length;
Steps d connects above-mentioned best tie point and demonstration successively.
2. primary handwriting hand input display method according to claim 1 is characterized in that: be to be that initial point is set up the position that sweeps described point after rectangular coordinate system is also determined with the previous scanning point among the described step a, and then definite step direction.
3. primary handwriting hand input display method according to claim 2 is characterized in that: described step b further may further comprise the steps:
Step b1 calculates the horizontal ordinate side-play amount and the ordinate side-play amount of former and later two analyzing spots;
Step b2 compares the size of horizontal ordinate side-play amount and ordinate side-play amount and calculates step-length.
4. primary handwriting hand input display method according to claim 3 is characterized in that: described step b2 further may further comprise the steps:
Step b21 is if the horizontal ordinate side-play amount greater than the ordinate side-play amount, then the horizontal ordinate side-play amount is put in order processing divided by the ordinate side-play amount and with the resultization, and then obtain the step-length on the horizontal ordinate, and the step-length on the ordinate is a pixel;
Step b22 is if the ordinate side-play amount greater than the horizontal ordinate side-play amount, then the ordinate side-play amount is put in order processing divided by the horizontal ordinate side-play amount and with the resultization, and then obtain the step-length on the ordinate, and the step-length on the horizontal ordinate is a pixel.
5. primary handwriting hand input display method according to claim 4 is characterized in that: the whole processing of describedization adopts a rule.
6. primary handwriting hand input display method according to claim 3, it is characterized in that: in the process of the best tie point in determining described step c, sweep the abscissa value or the ordinate value of described point after whether the abscissa value of the up-to-date point that continuous inspection obtains and ordinate value reach, the no longer stepping that reaches, the continuation stepping that does not reach sweeps the abscissa value and the ordinate value of described point after horizontal ordinate value all reaches.
CN2009101053306A 2009-02-10 2009-02-10 Primary handwriting hand input display method Expired - Fee Related CN101799735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101053306A CN101799735B (en) 2009-02-10 2009-02-10 Primary handwriting hand input display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101053306A CN101799735B (en) 2009-02-10 2009-02-10 Primary handwriting hand input display method

Publications (2)

Publication Number Publication Date
CN101799735A true CN101799735A (en) 2010-08-11
CN101799735B CN101799735B (en) 2013-04-10

Family

ID=42595432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101053306A Expired - Fee Related CN101799735B (en) 2009-02-10 2009-02-10 Primary handwriting hand input display method

Country Status (1)

Country Link
CN (1) CN101799735B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923439A (en) * 2010-09-19 2010-12-22 汉王科技股份有限公司 Method for processing handwriting and device thereof
CN105653124A (en) * 2015-12-23 2016-06-08 广州视睿电子科技有限公司 Handwriting effect simulation method and apparatus
CN107728907A (en) * 2017-09-26 2018-02-23 马新禹 A kind of written handwriting generation method and device
CN108021331A (en) * 2017-12-20 2018-05-11 广州视源电子科技股份有限公司 A kind of gap removing method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2939147B2 (en) * 1994-12-29 1999-08-25 シャープ株式会社 Handwritten character input display device and method
CN1183436C (en) * 2002-04-03 2005-01-05 摩托罗拉公司 Method and apparatus for direction determination and identification of hand-written character
CN100538612C (en) * 2005-12-16 2009-09-09 宇龙计算机通信科技(深圳)有限公司 Hand-written input system and method with vigour of style in writing effect

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923439A (en) * 2010-09-19 2010-12-22 汉王科技股份有限公司 Method for processing handwriting and device thereof
CN101923439B (en) * 2010-09-19 2012-06-06 汉王科技股份有限公司 Method for processing handwriting and device thereof
CN105653124A (en) * 2015-12-23 2016-06-08 广州视睿电子科技有限公司 Handwriting effect simulation method and apparatus
WO2017107474A1 (en) * 2015-12-23 2017-06-29 广州视睿电子科技有限公司 Method and apparatus for simulating handwriting effect
CN105653124B (en) * 2015-12-23 2018-12-28 广州视睿电子科技有限公司 Person's handwriting effect simulation method and device
CN107728907A (en) * 2017-09-26 2018-02-23 马新禹 A kind of written handwriting generation method and device
CN107728907B (en) * 2017-09-26 2020-03-20 马新禹 Handwriting generating method and device
CN108021331A (en) * 2017-12-20 2018-05-11 广州视源电子科技股份有限公司 A kind of gap removing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN101799735B (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN103217436B (en) Backlight module group defect detection method and equipment
CN102081803B (en) Method for implementing writing style of original handwriting
CN110531875B (en) Writing stroke generation method, terminal equipment and storage medium
JP5722482B2 (en) Image processing system and image processing method
CN101923439B (en) Method for processing handwriting and device thereof
US9354775B2 (en) Interaction method for dynamic wallpaper and desktop component
CN105046213A (en) Method for augmenting reality
CN105493023A (en) Manipulation of content on a surface
CN106648581B (en) Page display method and device
CN105302464B (en) System and method for scribing flow type document
CN101799735B (en) Primary handwriting hand input display method
CN101656037B (en) Method for displaying large-format picture on small screen equipment and small screen equipment
CN101763234A (en) Method and device for simulating various screen resolutions
CN106530219A (en) Image splicing method and device
CN112396032B (en) Writing detection method and device, storage medium and electronic equipment
CN101573684B (en) Method for visualizing a change caused by scrolling in a scrolling direction of a section of a text and/or graphic displayed on an optical display means
KR20230021150A (en) Method, apparatus, apparatus and storage medium for generating road annotation
CN103329083A (en) Method for the operator control of a matrix touchscreen
CN103530026A (en) Webpage pop-up box positioning method and device
CN102023759B (en) Writing and locating method of active pen
CN115589786A (en) Method, device and system for recognizing hand-drawn figure and computer readable storage medium
Huang et al. A visual detection method for PCI blockage and coke size distribution in tuyere raceway
CN102375994A (en) Method and device for detecting and reducing correctness of order of strokes of written Chinese character
JP2011210160A5 (en) Image processing method, image processing apparatus, and program
CN113221742B (en) Video split screen line determining method, device, electronic equipment, medium and program product

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130410

Termination date: 20200210