CN101799735B - Primary handwriting hand input display method - Google Patents

Primary handwriting hand input display method Download PDF

Info

Publication number
CN101799735B
CN101799735B CN2009101053306A CN200910105330A CN101799735B CN 101799735 B CN101799735 B CN 101799735B CN 2009101053306 A CN2009101053306 A CN 2009101053306A CN 200910105330 A CN200910105330 A CN 200910105330A CN 101799735 B CN101799735 B CN 101799735B
Authority
CN
China
Prior art keywords
ordinate
play amount
point
length
primary
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.)
Expired - Fee Related
Application number
CN2009101053306A
Other languages
Chinese (zh)
Other versions
CN101799735A (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, many mobile phones for example, PDA, MID (Mobile Internet Device, mobile internet device) etc. equipment can utilize easily input message of handwriting functions, even the hand-written pattern of former person's handwriting appearred keeping, namely, to show that according to user's self person's handwriting the literal of input and picture are (certain, because writing speed, the impact of the factors such as sweep velocity, what finally show is a kind of fitting effect lines close to user self person's handwriting), this mode can keep self style of user significantly, has to use preferably impression.Yet the display effect of the former person's handwriting handwriting input on the most equipment is all level and smooth not, even can see square tooth effect clearly; And, when hand-written speed is very fast, if the sweep velocity of equipment touch-screen is fast not, the J curve effectJ of breakpoint is arranged in the middle of will occurring, affected the writing effect of former person's handwriting.
Therefore, provide a kind of real necessity that belongs to of method of optimizing the original 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 described point with respect to the step direction of 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 link points according to step direction and step-length;
Steps d connects above-mentioned Best link point and demonstration successively.
More specifically, be to set up the position that sweeps described point after rectangular coordinate system is also determined take previous scanning point as initial point among the described step a, and then definite step direction.
More specifically, described step b is further comprising the steps:
Step b1 calculates 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 is further comprising the steps:
Step b21, if the horizontal ordinate side-play amount greater than the ordinate side-play amount, then with the horizontal ordinate side-play amount divided by the ordinate side-play amount and with the whole processing of resultization, and then obtain step-length on the horizontal ordinate, and the step-length on the ordinate is a pixel;
Step b22, if the ordinate side-play amount greater than the horizontal ordinate side-play amount, then with the ordinate side-play amount divided by the horizontal ordinate side-play amount and with the whole processing of resultization, and then obtain step-length on the ordinate, and the step-length on the horizontal ordinate is a pixel.
More specifically, the whole processing of describedization is adopted into a rule.
More specifically, in the process of the Best link point in determining described step c, sweep 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 is until the transverse and longitudinal coordinate figure sweeps abscissa value and the ordinate value of described point after all reaching.
Primary handwriting hand input display method provided by the present invention can according to after sweep described point and previous scanning point position relationship 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 schematic 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, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit 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 described point with respect to the step direction of 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 link points according to step direction and step-length;
Step 13 connects above-mentioned Best link 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), to determine that at first point that the next one scans is with respect to the step direction from initial point, that is, need clear and definite initial point from where to close next analyzing spot.In Fig. 2, with initial point (x0, y0) set up rectangular coordinate system for true origin, writing pencil can be to continuing extension all around after initial point, 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 exactly the zone at a rear analyzing spot (previous analyzing spot is initial point) place, and then definite step direction.Below enumerate a better embodiment and set forth the position that sweeps described point (Xn, Yn) behind the how to confirm:
(1) 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) 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, sweeping the position of described point after then can further determining is in 2 zones.
If (Yn-Y0)/(Xn-X0)=1, sweeping the position of described point after then can further determining is on the A line segment;
If (Yn-Y0)/(Xn-X0)=0, sweeping the position of 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, and can both set up rectangular coordinate system take previous scanning point as initial 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, at completing steps 10, determined after the step direction how after previous scanning point (x0, y0) is transitioned into, to sweep the problem that described point (x1, y1) is the solution of step 11 needs.As preferred embodiment, in step 11, need to determine step-length according to the position coordinate data of former and later two analyzing spots, like this could be so that transition effect be more level and smooth and true to nature, specific practice is: the step-length of determining respectively the transverse and longitudinal both direction, 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) relatively X_Offset and Y_Offset are big or small, 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 (namely processes 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 the whole processing of resulting Y_Step value workization (when for example income value is integer 2, Y_Step=2 then), the step-length of directions X is a pixel.
Position coordinate data in Fig. 3 is as example, previous scanning point (x0, y0) with after sweep described point (x1, y1) position coordinate data following relation: X_Offset=6, Y_Offset=10 are arranged.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.Then determine some Best link points (being step 12) according to step direction obtained above and step-length, as shown in Figure 4, at Y_Step=2, in the situation of X_Step=1, from previous scanning point (x0, y0) sweep described point (x1 after being transitioned into, y1) mode is each Y-direction two pixels that advance, the pixel and directions X advances can obtain the Best link 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 the horizontal ordinate and the ordinate value that constantly check 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, end until the transverse and longitudinal coordinate all reaches namely, for example Y-direction reaches first the y1 value among Fig. 4, sweeps described point (x1 after therefore reaching, y1) before, 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, y0) to (x1, y1) force into the time, 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 is in this stepping process, whether the horizontal ordinate and the ordinate value that constantly check 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 ends until the transverse and longitudinal coordinate all reaches namely.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 obvious zigzag has then appearred in the final stage of Fig. 5.
After obtaining Best link point, do at last Graphics Processing and get final product (step 13).
The above only is preferred embodiment of the present invention, not in order to limit the present invention.All any modifications of doing 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 (3)

1. primary handwriting hand input display method is characterized in that may further comprise the steps:
Step a sweeps described point with respect to the step direction of 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 link points according to step direction and step-length;
Steps d connects above-mentioned Best link point and demonstration successively;
Described step b is further comprising the steps:
Step b1 calculates 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;
Described step b2 is further comprising the steps:
Step b21, if the horizontal ordinate side-play amount greater than the ordinate side-play amount, then with the horizontal ordinate side-play amount divided by the ordinate side-play amount and with the whole processing of resultization, and then obtain step-length on the horizontal ordinate, and the step-length on the ordinate is a pixel;
Step b22, if the ordinate side-play amount greater than the horizontal ordinate side-play amount, then with the ordinate side-play amount divided by the horizontal ordinate side-play amount and with the whole processing of resultization, and then obtain step-length on the ordinate, and the step-length on the horizontal ordinate is a pixel;
In the process of the Best link point in determining described step c, sweep 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 is until the transverse and longitudinal coordinate figure sweeps abscissa value and the ordinate value of described point after all reaching.
2. primary handwriting hand input display method according to claim 1 is characterized in that: among the described step a be set up rectangular coordinate system take previous scanning point as initial point and determine after sweep the position of described point and then definite step direction.
3. primary handwriting hand input display method according to claim 1, it is characterized in that: the whole processing of describedization is adopted into a rule.
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 CN101799735A (en) 2010-08-11
CN101799735B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923439B (en) * 2010-09-19 2012-06-06 汉王科技股份有限公司 Method for processing handwriting and device thereof
CN105653124B (en) * 2015-12-23 2018-12-28 广州视睿电子科技有限公司 Person's handwriting effect simulation method and device
CN107728907B (en) * 2017-09-26 2020-03-20 马新禹 Handwriting generating method and device
CN108021331B (en) * 2017-12-20 2021-01-22 广州视源电子科技股份有限公司 Gap eliminating method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0720084A2 (en) * 1994-12-29 1996-07-03 Sharp Kabushiki Kaisha Input and display apparatus for handwritten characters
CN1448831A (en) * 2002-04-03 2003-10-15 摩托罗拉公司 Method and apparatus for direction determination and identification of hand-written character
CN1983143A (en) * 2005-12-16 2007-06-20 宇龙计算机通信科技(深圳)有限公司 Handwritting input system with stroke effect and its method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0720084A2 (en) * 1994-12-29 1996-07-03 Sharp Kabushiki Kaisha Input and display apparatus for handwritten characters
CN1448831A (en) * 2002-04-03 2003-10-15 摩托罗拉公司 Method and apparatus for direction determination and identification of hand-written character
CN1983143A (en) * 2005-12-16 2007-06-20 宇龙计算机通信科技(深圳)有限公司 Handwritting input system with stroke effect and its method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2005-92256A 2005.04.07

Also Published As

Publication number Publication date
CN101799735A (en) 2010-08-11

Similar Documents

Publication Publication Date Title
US20240078646A1 (en) Image processing method, image processing apparatus, and non-transitory storage medium
CN102081803B (en) Method for implementing writing style of original handwriting
CN110531875B (en) Writing stroke generation method, terminal equipment and storage medium
CN101251784B (en) Laser pen indication and luminescent spot track recognizing method
CN205140493U (en) Control display screen carries out device of screen switching anyhow
CN101799735B (en) Primary handwriting hand input display method
US20140089858A1 (en) Interaction method for dynamic wallpaper and desktop component
US9183428B2 (en) Method and device for implementing original handwriting trace, and electronic device
CN105493023A (en) Manipulation of content on a surface
US8830258B2 (en) Generating strokes in real-time on an electronic paper display
CN105930464B (en) Web rich media cross-screen adaptation method and device
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
CN106155540B (en) Electronic brush pen pen shape treating method and apparatus
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
CN106095294A (en) Method and the system thereof of stroke is synchronized between different platform
CN113505762A (en) Table identification method and device, terminal and storage medium
CN110235176B (en) Image processing method and device, data transmission method and device and storage medium
CN103530026A (en) Webpage pop-up box positioning method and device
EP1708141A3 (en) Character image generation
CN107562331A (en) A kind of display methods of handwriting, device, equipment and storage medium
CN103838429A (en) Method and system for conducting drawing on touch screen to achieve writing brush effect
CN102074025B (en) Image stylized drawing method and device
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

Granted publication date: 20130410

Termination date: 20200210

CF01 Termination of patent right due to non-payment of annual fee