CN100430876C - Pointer device and trace smoothing method - Google Patents
Pointer device and trace smoothing method Download PDFInfo
- Publication number
- CN100430876C CN100430876C CNB2004100038560A CN200410003856A CN100430876C CN 100430876 C CN100430876 C CN 100430876C CN B2004100038560 A CNB2004100038560 A CN B2004100038560A CN 200410003856 A CN200410003856 A CN 200410003856A CN 100430876 C CN100430876 C CN 100430876C
- Authority
- CN
- China
- Prior art keywords
- accumulated value
- displacement
- value
- default
- conditioned
- 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 - Lifetime
Links
- 238000009499 grossing Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 title claims description 37
- 238000006073 displacement reaction Methods 0.000 claims abstract description 81
- 230000001143 conditioned effect Effects 0.000 claims description 12
- 241000699666 Mus <mouse, genus> Species 0.000 description 53
- 238000010586 diagram Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 4
- 238000010276 construction Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 2
- 241000699660 Mus musculus Species 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Position Input By Displaying (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The present invention relates to a pointer device used for executing a track smoothing function, which comprises a track processing circuit receiving digitized displacement amount for the execution of an accumulation program to generate a displacement accumulated value, wherein when the displacement accumulated value satisfies a preset condition, the displacement accumulated value is outputted to a processing device so as to smooth the pointer on a movable display device and execute a reset program to reset the displacement saccumulated value.
Description
Technical field
The present invention relates to a kind of indicator device and trajectory smoothing method, particularly relate to a kind of trajectory smoothing method that has the indicator device of smooth trajectory function and be applicable to indicator device.
Background technology
In various computer peripheral equipments, the mouse person of being to use is one of the computer peripheral equipment of normal use, be mainly used to the computer input unit as a kind of form, be specially adapted to the application on the visual pattern, therefore mouse has become indispensable input tool at present.At present more common mouse is divided into two kinds of idler wheel mouse and optical mouse.Idler wheel mouse uses the physical construction of the roller microcontroller chip of arranging in pairs or groups again to handle displacement signal.The cmos image sensor that the optical mouse utilization has an optical guidance function replaces the physical construction of roller, and the microcontroller chip of arranging in pairs or groups is handled displacement signal.When mouse moves, the displacement of its time per unit can export computing machine in regular turn to, because the displacement of mouse is the result that the image sensor through the physical construction of idler wheel mouse or optical mouse quantizes, but not actual continuous path, therefore, even the track that mouse moves does not all have vertical line segment, might make that in through the process that quantizes vertical line segment occurs, it is former because angle too small can't detect, and the both direction of two-dimensional coordinate has error or the like when quantizing.
Trajectory diagram when Fig. 1 moves for conventional mouse.Conventional mouse directly as output valve, exports the displacement input value of institute's sensing to computing machine in regular turn.As shown in Figure 1, I is a starting point, and each displacement input value is the displacement with respect to last position, is input value P in regular turn
11(1,0), input value P
12(0,2), input value P
13(2,0), input value P
14(1,0), input value P
15(0,3), input value P
16(5,0) and input value P
17(0,5).When these input values by directly as output valve, and when exporting on the computer screen in regular turn, the track that shows on the screen just as shown in Figure 1, for zigzag and have the lines of right angle, many places turnover, this is not gratifying output result.
Summary of the invention
In view of this, purpose of the present invention just is to provide a kind of indicator device, in order to carry out the smooth trajectory function, comprising: the track treatment circuit, receive digitized displacement, and add up program to produce the displacement accumulated value in order to execution; Wherein,, then export described displacement accumulated value,, and carry out replacement process with the described displacement accumulated value of resetting in order to the pointer on the level and smooth mobile display device to treating apparatus when described displacement accumulated value satisfies when pre-conditioned.
The present invention more provides a kind of trajectory smoothing method, is applicable to indicator device, comprises the following steps: to provide the track treatment circuit, receives digitized displacement, carries out the program that adds up to produce the displacement accumulated value; Judge whether described displacement accumulated value satisfies pre-conditioned; And described pre-conditioned as if satisfying, then export described displacement accumulated value to treating apparatus, in order to the pointer on the level and smooth mobile display device, and carry out replacement process with the described displacement accumulated value of resetting.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, especially exemplified by several preferred embodiments, and conjunction with figs., be described in detail below:
Trajectory diagram when Fig. 1 moves for conventional mouse;
Fig. 2 represents mouse of the present invention and track treatment circuit figure;
Fig. 3 is the process flow diagram of trajectory smoothing method of the present invention;
The zone of exportable displacement accumulated value when Fig. 4 represents that the mouse of first embodiment of the invention moves;
Fig. 5 judges whether exportable process flow diagram of displacement accumulated value when moving for the mouse of first embodiment of the invention;
Fig. 6 represents the numerical value that flow process produced of the mouse of first embodiment of the invention according to Fig. 5;
Trajectory diagram when Fig. 7 moves for the mouse of first embodiment of the invention;
The zone of exportable displacement accumulated value when Fig. 8 represents that the mouse of second embodiment of the invention moves;
Fig. 9 judges whether exportable flow process of displacement accumulated value when moving for the mouse of second embodiment of the invention;
Figure 10 represents the numerical value that flow process produced of the mouse of second embodiment of the invention according to Fig. 9;
Trajectory diagram when Figure 11 moves for the mouse of second embodiment of the invention.
Embodiment
Fig. 2 represents the present invention's mouse 21 and track treatment circuit 22.As shown in Figure 2, mouse 21 has track treatment circuit 22, in order to carry out the smooth trajectory function.Fig. 3 is the process flow diagram of the present invention's trajectory smoothing method.As shown in Figure 3, this flow process is begun by step S1, in step S1, can produce the digitized displacement of mouse 21 when mouse 21 moves, and then, track treatment circuit 22 receives described digitized displacement.In step S2, track treatment circuit 22 is carried out the program that adds up to produce the displacement accumulated value.Then, in judging formula C, it is pre-conditioned that track treatment circuit 22 judges whether described displacement accumulated value satisfies, if then continue next procedure, otherwise get back to step S1 and wait for that mouse 21 moves once more.In step S3, the described displacement accumulated value of track treatment circuit 22 outputs makes that to computing machine the pointer on the computer screen can move more smoothly.At last, track treatment circuit 22 is carried out replacement process with the described displacement accumulated value of resetting, and waits for that mouse 21 moves once more.
First embodiment
When the mouse 21 of first embodiment of the invention moves, can produce displacement, after digitizing, be the original input value of described mouse 21 with respect to last position.Described mouse 21 has track treatment circuit 22, and described track treatment circuit 22 has more buffer unit (not shown go out) and processing unit (figure does not mark), described displacement can be added to accumulated value one by one, and with outcome record in described buffer unit, then described processing unit judges one by one whether present accumulated value exportable.
The zone of exportable displacement accumulated value when Fig. 4 represents that the mouse 21 of first embodiment of the invention moves.Wherein 2A is for forbidding the output area, and 2B is for allowing the output area.In other words, when the coordinate of present accumulated value belonged to point on the figure, this accumulated value was forbidden output (or temporarily not exporting), and when the coordinate of present accumulated value belonged to a little bigger on the figure, this accumulated value can be output.
Fig. 5 judges whether exportable flow process of displacement accumulated value when moving for the mouse 21 of first embodiment of the invention.Described processing unit can judge through flow process thus whether present accumulated value is exportable, and shown regional 2A, the 2B of its judged result and Fig. 4 is consistent.At first, when mouse 21 moves, can produce displacement, after digitizing, be original input value (X, Y) (the step S1) of described mouse 21 with respect to last position.Then, (X_acu Y_acu), that is carries out X_acu=X+X_acu and Y_acu=Y+Y_acu, and execution result is recorded in described buffer unit (step S2) described displacement to be added to accumulated value.Described then processing unit judges (whether X_acu Y_acu) can export present accumulated value, and its judgement formula (C1) is as shown in scheming to go up: if set up X_acu ≠ 0 and Y_acu ≠ 0, with present accumulated value (X_acu, Y_acu) output (step S3), and with present accumulated value (X_acu, Y_acu) replacement, feasible (X_acu, Y_acu)=(0,0) (step S4), and wait for that mouse 21 moves next time, if be false, then get back to first step (step S1).
Fig. 6 represents the numerical value that flow process produced of the mouse 21 of first embodiment of the invention according to Fig. 5.Calculating process of each line display wherein, if be the input value of present embodiment with the input value of Fig. 1, that is as shown in Figure 1, I is a starting point, and each displacement input value is the displacement with respect to last position, is input value P in regular turn
11(1,0), input value P
12(0,2), input value P
13(2,0), input value P
14(1,0), input value P
15(0,3), input value P
16(5,0) and input value P
17(0,5).As shown in Figure 6, when present accumulated value is (1,2), (3,3) and (5,5), satisfy the judgement formula of Fig. 5, so can be output.Get back to Fig. 4 and can also find that (1,2), (3,3) and (5,5) all belong to a little bigger on the figure, so can be output, this is consistent with the result via the judgement formula gained of Fig. 5.
Fig. 7 for the mouse 21 of first embodiment of the invention move trajectory diagram.As shown in Figure 7, the displacement that at last exports computing machine in regular turn to by mouse 21 is output valve P
51(1,2), output valve P
52(3,3) and output valve P
53(5,5), thus on the screen gained track for to be connected to P in regular turn by the I point
51, P
52And P
53Formed lines (solid line on the figure) are compared with untreated lines (dotted line on the figure), transfer less and seem more level and smooth in the right angle.
Second embodiment
When the mouse 21 of second embodiment of the invention moves, can produce displacement, after digitizing, be the original input value of described mouse 21 with respect to last position.Described mouse 21 has track treatment circuit 22, and described track treatment circuit 22 has more buffer unit (not shown go out) and processing unit (figure does not mark), described displacement can be added to accumulated value one by one, and with outcome record in described buffer unit, then described processing unit judges one by one whether present accumulated value exportable.
The zone of exportable displacement accumulated value when Fig. 8 represents that the mouse 21 of second embodiment of the invention moves.Wherein 6A is for forbidding the output area, and 6B is for allowing the output area.In other words, when the coordinate of present accumulated value belonged to point on the figure, this accumulated value was forbidden output (or temporarily not exporting), and when the coordinate of present accumulated value belonged to a little bigger on the figure, this accumulated value can be output.
Fig. 9 judges whether exportable flow process of displacement accumulated value when moving for the mouse 21 of second embodiment of the invention.Described processing unit can judge through flow process thus whether present accumulated value is exportable, and shown regional 6A, the 6B of its judged result and Fig. 8 is consistent.At first, when mouse 21 moves, can produce displacement, after digitizing, be original input value (X, Y) (the step S1) of described mouse 21 with respect to last position.Then, (X_acu Y_acu), that is carries out X_acu=X+X_acu and Y_acu=Y+Y_acu, and execution result is recorded in described buffer unit (step S2) described displacement to be added to accumulated value.Described then processing unit judges (whether X_acu Y_acu) can export present accumulated value.Its judgement formula has two, in first judgement formula (C2), if set up X_acu>4 or Y_acu>4, with present accumulated value (X_acu, Y_acu) output (step S3), and with present accumulated value (X_acu, Y_acu) replacement, feasible (X_acu, Y_acu)=(0,0) (step S4), and wait for that mouse 21 moves next time, if be false, then carry out next judgement formula.In second judgement formula (C3), if set up X_acu ≠ 0 and Y_acu ≠ 0 and (X_acu>2 or Y_acu>2), with present accumulated value (X_acu, Y_acu) output (step S3), and with present accumulated value (X_acu, Y_acu) reset, make (X_acu, Y_acu)=(0,0) (step S4), and wait for that mouse 21 moves next time, if be false, then gets back to first step (step S1).
Figure 10 represents the numerical value that flow process produced of the mouse 21 of second embodiment of the invention according to Fig. 9.Calculating process of each line display wherein, if be the input value of present embodiment with the input value of Fig. 1, that is as shown in Figure 1, I is a starting point, and each displacement input value is the displacement with respect to last position, is input value P in regular turn
11(1,0), input value P
12(0,2), input value P
13(2,0), input value P
14(1,0), input value P
15(0,3), input value P
16(5,0) and input value P
17(0,5).As shown in figure 10, when present accumulated value is (3,2), (1,3), (5,0) and (0,5), satisfy the judgement formula of Fig. 9, so can be output.Get back to Fig. 8 and can also find that (3,2), (1,3), (5,0) and (0,5) all belong to a little bigger on the figure, so can be output, this is consistent with the result via the judgement formula gained of Fig. 9.
Trajectory diagram when Figure 11 moves for the mouse 21 of second embodiment of the invention.As shown in figure 11, the displacement that at last exports computing machine in regular turn to by mouse 21 is output valve P
91(3,2), output valve P
92(1,3), output valve P
93(5,0) and output valve P
94(0,5), thus on the screen gained track for to be connected to P in regular turn by the I point
91, P
92, P
93And P
94Formed lines (solid line on the figure) are compared with untreated lines (dotted line on the figure), transfer less and seem more level and smooth in the right angle.
Need specify that herein except the employed judgement formulas of above two embodiment (seeing Fig. 5 and Fig. 9), mouse 21 of the present invention also can use other judgement formula,, make formed lines more level and smooth to produce different output valves.
Though the present invention discloses as above with preferred embodiment; so it is not in order to limit scope of the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the accompanying Claim scope person of defining.
Claims (10)
1. indicator device in order to carry out the smooth trajectory function, comprising:
The track treatment circuit receives digitized displacement, adds up program to produce the displacement accumulated value in order to execution;
Wherein,, then export described displacement accumulated value,, and carry out replacement process with the described displacement accumulated value of resetting in order to the pointer on the level and smooth mobile display device to treating apparatus when described displacement accumulated value satisfies when pre-conditioned.
2. indicator device as claimed in claim 1, wherein said pre-conditioned for described displacement accumulated value is arranged in the position range of coordinate space, wherein said coordinate space has bivector at least.
3. indicator device as claimed in claim 1, wherein said digitized displacement has a plurality of direction displacements, at least comprise first direction displacement and second direction displacement, described displacement accumulated value has a plurality of direction accumulated values, at least comprise first direction accumulated value and second direction accumulated value, and the described program that adds up is the extremely described first direction accumulated value of described first direction displacement that adds up, and the described second direction displacement that adds up is to described second direction accumulated value.
4. indicator device as claimed in claim 3 wherein saidly pre-conditionedly is not equal to first default value for described first direction accumulated value, and described second direction accumulated value is not equal to second default value.
5. indicator device as claimed in claim 3, wherein, describedly pre-conditionedly be not equal to first default value for described first direction accumulated value, and described second direction accumulated value is not equal to second default value, and described first direction accumulated value greater than the 3rd default value or described second direction accumulated value greater than the 4th default value, wherein, judge described pre-conditioned before, when described first direction accumulated value greater than the 5th default value or described second direction accumulated value during greater than the 6th default value, then export described displacement accumulated value to treating apparatus, in order to the pointer on the level and smooth mobile display device, and carry out replacement process with the described displacement accumulated value of resetting.
6. a trajectory smoothing method is applicable to indicator device, comprises the following steps:
The track treatment circuit is provided, receives digitized displacement, carry out the program that adds up to produce the displacement accumulated value;
Judge whether described displacement accumulated value satisfies pre-conditioned; And
Described pre-conditioned as if satisfying, then export described displacement accumulated value to treating apparatus, in order to the pointer on the level and smooth mobile display device, and carry out replacement process with the described displacement accumulated value of resetting.
7. trajectory smoothing method as claimed in claim 6, wherein said pre-conditioned for described displacement accumulated value is arranged in the position range of coordinate space, wherein said coordinate space has bivector at least.
8. trajectory smoothing method as claimed in claim 6, wherein said digitized displacement has a plurality of direction displacements, at least comprise first direction displacement and second direction displacement, described displacement accumulated value has a plurality of direction accumulated values, at least comprise first direction accumulated value and second direction accumulated value, and the described program that adds up is the extremely described first direction accumulated value of described first direction displacement that adds up, and the described second direction displacement that adds up is to described second direction accumulated value.
9. trajectory smoothing method as claimed in claim 8 wherein saidly pre-conditionedly is not equal to first default value for described first direction accumulated value, and described second direction accumulated value is not equal to second default value.
10. trajectory smoothing method as claimed in claim 8, wherein said pre-conditioned for described first direction accumulated value be not equal to first default value, described second direction accumulated value be not equal to second default value and described first direction accumulated value greater than the 3rd default value or described second direction accumulated value greater than the 4th default value, wherein before judging whether described displacement accumulated value satisfies pre-conditioned step, described method comprises the following steps: in addition
Judge described first direction accumulated value whether greater than the 5th default value or described second direction accumulated value whether greater than the 6th default value; And
If arbitrary condition is set up, then export described displacement accumulated value to treating apparatus, in order to the pointer on the level and smooth mobile display device, and carry out replacement process with the described displacement accumulated value of resetting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100038560A CN100430876C (en) | 2004-02-06 | 2004-02-06 | Pointer device and trace smoothing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100038560A CN100430876C (en) | 2004-02-06 | 2004-02-06 | Pointer device and trace smoothing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1652143A CN1652143A (en) | 2005-08-10 |
CN100430876C true CN100430876C (en) | 2008-11-05 |
Family
ID=34867598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100038560A Expired - Lifetime CN100430876C (en) | 2004-02-06 | 2004-02-06 | Pointer device and trace smoothing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100430876C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739158B (en) * | 2008-11-24 | 2012-07-18 | 原相科技股份有限公司 | Track smoothing method and navigation device using same |
CN102339143B (en) * | 2010-07-14 | 2015-01-14 | 奇高电子股份有限公司 | Method for smoothing track |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5436616A (en) * | 1992-04-13 | 1995-07-25 | International Business Machines Corp. | Computer screen cursor pointing device with cleaning alarm |
JPH10151276A (en) * | 1996-11-22 | 1998-06-09 | Miki Aatsu Internatl Kk | Controlling method of computer type thinking race fighting game and thinking race fighting game controlling program recorded medium |
CN1326129A (en) * | 2000-05-31 | 2001-12-12 | 阿尔卑斯电气株式会社 | Optical position detector |
-
2004
- 2004-02-06 CN CNB2004100038560A patent/CN100430876C/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5436616A (en) * | 1992-04-13 | 1995-07-25 | International Business Machines Corp. | Computer screen cursor pointing device with cleaning alarm |
JPH10151276A (en) * | 1996-11-22 | 1998-06-09 | Miki Aatsu Internatl Kk | Controlling method of computer type thinking race fighting game and thinking race fighting game controlling program recorded medium |
CN1326129A (en) * | 2000-05-31 | 2001-12-12 | 阿尔卑斯电气株式会社 | Optical position detector |
Also Published As
Publication number | Publication date |
---|---|
CN1652143A (en) | 2005-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8866768B2 (en) | Touch tracking device and method for a touch screen | |
TWI569171B (en) | Gesture recognition | |
CN104281346B (en) | Detect finger existing method and system near no touch screen | |
CN110162230B (en) | Touch position identification method and device and storage medium | |
US20070268269A1 (en) | Apparatus, method, and medium for sensing movement of fingers using multi-touch sensor array | |
CN104346267B (en) | Generate the method and device of bugs location information | |
US20070205994A1 (en) | Touch system and method for interacting with the same | |
CN105308467B (en) | Closely sense | |
CN105975122A (en) | Touch track compensation method and apparatus as well as terminal device | |
US20120249440A1 (en) | method of identifying a multi-touch rotation gesture and device using the same | |
CN102509088A (en) | Hand motion detecting method, hand motion detecting device and human-computer interaction system | |
CN103257812B (en) | A kind of method adjusting display output and electronic equipment | |
CN101821705A (en) | Pointer controlling apparatus | |
US20120124526A1 (en) | Method for continuing a function induced by a multi-touch gesture on a touchpad | |
CN103492986A (en) | Input device, input method, and recording medium | |
CN110036362A (en) | Touch detecting method and touch detecting apparatus | |
CN107506127A (en) | A kind of view control control method, equipment and storage medium | |
CN113378952A (en) | Method, system, medium and terminal for detecting deviation of belt conveyor | |
CN106354366A (en) | Method for treating desktop icons arrangement and device thereof | |
CN104517049A (en) | Terminal unlocking method | |
CN102364419B (en) | Camera type touch control method and system thereof | |
CN100430876C (en) | Pointer device and trace smoothing method | |
CN109101127B (en) | Palm touch detection in a touch screen device with a floating ground or thin touch panel | |
CN104063142A (en) | Information processing method, device and electronic equipment | |
CN104780264B (en) | The interaction control method of sensor-based handheld device |
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 | ||
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20081105 |