CN103699244B - The recognition methods of trace ball in measuring instrument - Google Patents

The recognition methods of trace ball in measuring instrument Download PDF

Info

Publication number
CN103699244B
CN103699244B CN201410008651.5A CN201410008651A CN103699244B CN 103699244 B CN103699244 B CN 103699244B CN 201410008651 A CN201410008651 A CN 201410008651A CN 103699244 B CN103699244 B CN 103699244B
Authority
CN
China
Prior art keywords
dimension
data
commits
negative
input
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
CN201410008651.5A
Other languages
Chinese (zh)
Other versions
CN103699244A (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.)
Fujian Liliput Optoelectronics Technology Co Ltd
Original Assignee
Fujian Liliput Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Liliput Optoelectronics Technology Co Ltd filed Critical Fujian Liliput Optoelectronics Technology Co Ltd
Priority to CN201410008651.5A priority Critical patent/CN103699244B/en
Publication of CN103699244A publication Critical patent/CN103699244A/en
Application granted granted Critical
Publication of CN103699244B publication Critical patent/CN103699244B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses the recognition methods of trace ball in a kind of measuring instrument, the 2-D data that the motion of described trace ball produces has 4 kinds of situations, and to 2-D data, system first carries out which kind of situation judgement belongs to, carry out tendentious judgement further according to different situations.Select if 2-D data belongs to user tendency, then 2-D data is converted to one-dimensional vector shift and performs associative operation;Select if 2-D data is not belonging to user tendency, then ignore this input.The present invention uses above technical scheme, and the 2-D data producing trace ball motion carries out orientation identification, it is possible to filter the data that some maloperations produce, strengthen the identification sensitivity of system of users gesture, reduce the difficulty that trace ball uses, improve Consumer's Experience, improve Man machine interaction.

Description

The recognition methods of trace ball in measuring instrument
Present disclosure relates to communication technical field, particularly relates to the recognition methods of trace ball in a kind of measuring instrument.
Background technology trace ball is applied in a lot of instrument and equipment now, such as in the control device of computer mouse or other medical equipments.Trace ball work When making, ball is above, directly stirs with hands, and ball seat maintains static, thus trace ball takes up room little, is used for the portable machines such as notebook computer, Simple man-machine interactive operation can be realized by operation trace ball.
General instrument and equipment is all numerical operation or the state switching using one-dimensional linear, it is therefore desirable to stipulations trace ball only supports the hands of a dimension Gesture operates, and ignores the deviant producing another dimension when staff slides simultaneously.It practice, the mistake of staff likely occurs during operation trace ball Action, it is also possible to owing to physical characteristic produces the bounce-back value of arbitrary dimension, but measuring instrument can not effective filter out misoperation value or bounce-back value, its Degree of accuracy is relatively low, and Man machine interaction has much room for improvement.
Summary of the invention it is an object of the invention to provide that a kind of resolution is high, the measuring instrument of maloperation value and bounce-back value can be filtered in the identification side of trace ball Method.
For achieving the above object, the present invention is by the following technical solutions: the recognition methods of trace ball in measuring instrument, the motion of described trace ball produces 2-D data has following 4 kinds of situations: have no data in data and Y dimension on X-dimension, Y dimension has no data on data and X-dimension, X and Y Data are all had, equal no data in X and Y dimension in dimension;Described recognition methods comprises the following steps:
Assuming that the total drift number of times in X and Y dimension is respectively X_Commits, Y_Commits, data absolute value is respectively X_abs and Y_abs, Positive and negative skew number of times on X-dimension is designated as X_Positive, X_Negative respectively, and the positive and negative skew number of times in Y dimension is designated as respectively Y_Positive、Y_Negative;
First, system judge that 2-D data belongs to any situation, carry out tendentious judgement further according to different situations: if 2-D data belongs to User tendency selects, then 2-D data is converted to one-dimensional vector shift and performs associative operation, adds 1 to total drift number of times after conversion every time, and Align or negative bias moves number of times and adds 1;Select if 2-D data is not belonging to user tendency, then ignore this input;
Wherein, tendentiousness judges that the inequality related to has:
Tendentiousness judgement is carried out below for four kinds of situations of 2-D data:
1) there is no data in data and Y dimension on X-dimension:
According to X_Commits with Y_Commits, system first judges whether inequality (A) is set up, if set up, then estimate user behavior now still Possesses the vector shift inertia of continuity Y dimension, it should ignoring this input on X-dimension, Y_Commits subtracts 1 as tendentiousness compensation simultaneously; If be false, then judge whether inequality (C) is set up;
If inequality (C) is false, then ignore this input;If inequality (C) is set up, and the numerical value of input is just, is put into inequality (B) Judge;If inequality (B) is set up, then this input is the negative value inertia of continuity X-dimension, ignores, and X_Negative subtracts 1 as inclining simultaneously Tropism compensates, and is otherwise carried out this input;If inequality (C) is set up, and the numerical value of input is negative, is put into inequality (I) and judges;If no Etc. formula (I) set up, then this input for continuity X-dimension on the occasion of inertia, ignore, simultaneously X_Positive subtract 1 as tendentiousness compensate, Otherwise it is carried out this input;
2) there is no data on data and X-dimension in Y dimension:
System first judges whether X-dimension meets inequality (D), if inequality (D) is set up, is then judged as continuing the vector shift inertia of X-dimension, Ignoring this input, X_Commits subtracts 1 as tendentiousness compensation simultaneously, the most again judges whether inequality (F) is set up, if inequality (F) Set up, then according to positive and negative entrance inequality (E) or the judgement of (J) of this input numerical value, otherwise then ignore;
If inequality (E) is set up, and this input numerical value is just, then be judged as continuing the negative value inertia of Y, therefore this input is ignored, simultaneously Y_Negative subtracts 1 and compensates as tendentiousness, otherwise performs this input;If inequality (J) is set up, and this input numerical value is negative, then sentence Break for continuity Y on the occasion of inertia, therefore this input is ignored, and Y_Positive subtracts 1 and compensates as tendentiousness simultaneously, otherwise performs this and inputs;
3) all there are data in X and Y dimension:
Use inequality (A) to compare the tendentiousness of which dimension big, when the tendentiousness of certain dimension is big and absolute value more than 2 time, then system is carried out The positive negative judgement of skew inertia in this dimension, if the positive and negative and input numerical value of the skew inertia in this dimension is positive and negative contrary, ignores, otherwise performs This input;When being unsatisfactory for condition, X_Commits and Y_Commits subtracts 1 simultaneously, carries out data absolute value and compares, if inequality (G) is set up Then perform the vector shift of X-dimension, if inequality (H) is set up, perform the vector shift of Y dimension;
4) equal no data in X and Y dimension:
X_Commits and Y_Commits subtracts 1 simultaneously, and after being accumulated to certain number of times without 2-D data input, X_Commits and Y_Commits is straight Connect zero setting.
In any case, when described X_Commits subtracts 1, what X_Positive and X_Negative was all corresponding subtracts 1, and described X_Commits puts When zero, the zero setting that X_Positive and X_Negative is all corresponding.
In any case, when described Y_Commits subtracts 1, what Y_Positive and Y_Negative was all corresponding subtracts 1, and described Y_Commits puts When zero, the zero setting that Y_Positive and Y_Negative is all corresponding.
Described X_Commits or Y_Commits, when adding 1 for the first time, does not perform the input of this 2-D data, and convenient the eliminating shakes or false touch product Raw 2-D data.
Described 2-D data is after judging and confirming to perform, if the absolute value of input numerical value is more than 6, then the absolute value of this numerical value adds 4, thus puts The sliding effect of big trace ball.
The present invention uses above method, and system first judges which kind of situation 2-D data belongs to, and carries out tendentious judgement further according to different situations.If 2-D data belongs to user tendency and selects, then 2-D data is converted to one-dimensional vector shift and performs associative operation;If 2-D data is not belonging to use Family tendentiousness selects, then ignore this input.Therefore, the present invention can effectively filter out data or the bounce-back value that some maloperations produce, and reduces track The difficulty that ball uses, strengthens the identification sensitivity of system of users gesture, improves Consumer's Experience, improves Man machine interaction.
Detailed description of the invention is described in further detail below in conjunction with detailed description of the invention:
The recognition methods of trace ball in the measuring instrument that the present invention provides, the 2-D data that the motion of described trace ball produces has following 4 kinds of situation: X dimension There is no data in data and Y dimension on degree, Y dimension has no data on data and X-dimension, X and Y dimension all has data, in X and Y dimension All no data;Described recognition methods comprises the following steps:
Assuming that the total drift number of times in X and Y dimension is respectively X_Commits, Y_Commits, data absolute value is respectively X_abs and Y_abs, Positive and negative skew number of times on X-dimension is designated as X_Positive, X_Negative respectively, and the positive and negative skew number of times in Y dimension is designated as respectively Y_Positive、Y_Negative;
First, system judge that 2-D data belongs to any situation, carry out tendentious judgement further according to different situations: if 2-D data belongs to User tendency selects, then 2-D data is converted to one-dimensional vector shift and performs associative operation, adds 1 to total drift number of times after conversion every time, and Align or negative bias moves number of times and adds 1;Select if 2-D data is not belonging to user tendency, then ignore this input;
Wherein, tendentiousness judges that the inequality related to has:
Tendentiousness judgement is carried out below for four kinds of situations of 2-D data:
1) there is no data in data and Y dimension on X-dimension:
According to X_Commits with Y_Commits, system first judges whether inequality (A) is set up, if set up, then estimate user behavior now still Possesses the vector shift inertia of continuity Y dimension, it should ignoring this input on X-dimension, Y_Commits subtracts 1 as tendentiousness compensation simultaneously; If be false, then judge whether inequality (C) is set up;
If inequality (C) is false, then ignore this input;If inequality (C) is set up, and the numerical value of input is just, is put into inequality (B) Judge;If inequality (B) is set up, then this input is the negative value inertia of continuity X-dimension, ignores, and X_Negative subtracts 1 as inclining simultaneously Tropism compensates, and is otherwise carried out this input;If inequality (C) is set up, and the numerical value of input is negative, is put into inequality (I) and judges;If no Etc. formula (I) set up, then this input for continuity X-dimension on the occasion of inertia, ignore, simultaneously X_Positive subtract 1 as tendentiousness compensate, Otherwise it is carried out this input;
2) there is no data on data and X-dimension in Y dimension:
System first judges whether X-dimension meets inequality (D), if inequality (D) is set up, is then judged as continuing the vector shift inertia of X-dimension, Ignoring this input, X_Commits subtracts 1 as tendentiousness compensation simultaneously, the most again judges whether inequality (F) is set up, if inequality (F) Set up, then according to positive and negative entrance inequality (E) or the judgement of (J) of this input numerical value, otherwise then ignore;
If inequality (E) is set up, and this input numerical value is just, then be judged as continuing the negative value inertia of Y, therefore this input is ignored, simultaneously Y_Negative subtracts 1 and compensates as tendentiousness, otherwise performs this input;If inequality (J) is set up, and this input numerical value is negative, then sentence Break for continuity Y on the occasion of inertia, therefore this input is ignored, and Y_Positive subtracts 1 and compensates as tendentiousness simultaneously, otherwise performs this and inputs;
3) all there are data in X and Y dimension:
Use inequality (A) to compare the tendentiousness of which dimension big, when the tendentiousness of certain dimension is big and absolute value more than 2 time, then system is carried out The positive negative judgement of skew inertia in this dimension, if the positive and negative and input numerical value of the skew inertia in this dimension is positive and negative contrary, ignores, otherwise performs This input;When being unsatisfactory for condition, X_Commits and Y_Commits subtracts 1 simultaneously, carries out data absolute value and compares, if inequality (G) is set up Then perform the vector shift of X-dimension, if inequality (H) is set up, perform the vector shift of Y dimension;
4) equal no data in X and Y dimension:
X_Commits and Y_Commits subtracts 1 simultaneously, and after being accumulated to certain number of times without 2-D data input, X_Commits and Y_Commits is straight Connect zero setting.
In any case, when described X_Commits subtracts 1, what X_Positive and X_Negative was all corresponding subtracts 1, and described X_Commits puts When zero, the zero setting that X_Positive and X_Negative is all corresponding.
In any case, when described Y_Commits subtracts 1, what Y_Positive and Y_Negative was all corresponding subtracts 1, and described Y_Commits puts When zero, the zero setting that Y_Positive and Y_Negative is all corresponding.
Described X_Commits or Y_Commits, when adding 1 for the first time, does not perform the input of this 2-D data.
Described 2-D data is after judging and confirming to perform, if the absolute value of input numerical value is more than 6, then the absolute value of this numerical value adds 4.
Use above technology, it is possible to achieve the gesture identification of trace ball in measuring instrument, promote Consumer's Experience, improve Man machine interaction.
Embodiment 1
The recognition methods of trace ball in measuring instrument, the 2-D data that the motion of described trace ball produces has following 4 kinds of situations: have on X-dimension data and No data in Y dimension, Y dimension has no data on data and X-dimension, X and Y dimension all has data, equal no data in X and Y dimension;Institute State recognition methods to comprise the following steps:
Assuming that the total drift number of times in X and Y dimension is respectively X_Commits, Y_Commits, data absolute value is respectively X_abs and Y_abs, Positive and negative skew number of times on X-dimension is designated as X_Positive, X_Negative respectively, and the positive and negative skew number of times in Y dimension is designated as respectively Y_Positive、Y_Negative;
First, system judge that 2-D data belongs to any situation, carry out tendentious judgement further according to different situations: if 2-D data belongs to User tendency selects, then 2-D data is converted to one-dimensional vector shift and performs associative operation, adds 1 to total drift number of times after conversion every time, and Align or negative bias moves number of times and adds 1;Select if 2-D data is not belonging to user tendency, then ignore this input;
Wherein, tendentiousness judges that the inequality related to has:
Tendentiousness judgement is carried out below for four kinds of situations of 2-D data:
1) there is no data in data and Y dimension on X-dimension:
According to X_Commits with Y_Commits, system first judges whether inequality (A) is set up, if set up, then estimate user behavior now still Possesses the vector shift inertia of continuity Y dimension, it should ignoring this input on X-dimension, Y_Commits subtracts 1 as tendentiousness compensation simultaneously; If be false, then judge whether inequality (C) is set up;
If inequality (C) is false, then ignore this input;If inequality (C) is set up, and the numerical value of input is just, is put into inequality (B) Judge;If inequality (B) is set up, then this input is the negative value inertia of continuity X-dimension, ignores, and X_Negative subtracts 1 as inclining simultaneously Tropism compensates, and is otherwise carried out this input;If inequality (C) is set up, and the numerical value of input is negative, is put into inequality (I) and judges;If no Etc. formula (I) set up, then this input for continuity X-dimension on the occasion of inertia, ignore, simultaneously X_Positive subtract 1 as tendentiousness compensate, Otherwise it is carried out this input;
2) there is no data on data and X-dimension in Y dimension:
System first judges whether X-dimension meets inequality (D), if inequality (D) is set up, is then judged as continuing the vector shift inertia of X-dimension, Ignoring this input, X_Commits subtracts 1 as tendentiousness compensation simultaneously, the most again judges whether inequality (F) is set up, if inequality (F) Set up, then according to positive and negative entrance inequality (E) or the judgement of (J) of this input numerical value, otherwise then ignore;
If inequality (E) is set up, and this input numerical value is just, then be judged as continuing the negative value inertia of Y, therefore this input is ignored, simultaneously Y_Negative subtracts 1 and compensates as tendentiousness, otherwise performs this input;If inequality (J) is set up, and this input numerical value is negative, then sentence Break for continuity Y on the occasion of inertia, therefore this input is ignored, and Y_Positive subtracts 1 and compensates as tendentiousness simultaneously, otherwise performs this and inputs;
3) all there are data in X and Y dimension:
Use inequality (A) to compare the tendentiousness of which dimension big, when the tendentiousness of certain dimension is big and absolute value more than 2 time, then system is carried out The positive negative judgement of skew inertia in this dimension, if the positive and negative and input numerical value of the skew inertia in this dimension is positive and negative contrary, ignores, otherwise performs This input;When being unsatisfactory for condition, X_Commits and Y_Commits subtracts 1 simultaneously, carries out data absolute value and compares, if inequality (G) is set up Then perform the vector shift of X-dimension, if inequality (H) is set up, perform the vector shift of Y dimension;
4) equal no data in X and Y dimension:
X_Commits and Y_Commits subtracts 1 simultaneously, and after being accumulated to certain number of times without 2-D data input, X_Commits and Y_Commits is straight Connect zero setting.
In any case, when described X_Commits subtracts 1, what X_Positive and X_Negative was all corresponding subtracts 1, and described X_Commits puts When zero, the zero setting that X_Positive and X_Negative is all corresponding.
In any case, when described Y_Commits subtracts 1, what Y_Positive and Y_Negative was all corresponding subtracts 1, and described Y_Commits puts When zero, the zero setting that Y_Positive and Y_Negative is all corresponding.
Described X_Commits or Y_Commits, when adding 1 for the first time, does not perform the input of this 2-D data.
Described 2-D data is after judging and confirming to perform, if the absolute value of input numerical value is more than 6, then the absolute value of this numerical value adds 4.
Embodiment 2
The recognition methods of trace ball in measuring instrument, the 2-D data that the motion of described trace ball produces has following 4 kinds of situations: have on X-dimension data and No data in Y dimension, Y dimension has no data on data and X-dimension, X and Y dimension all has data, equal no data in X and Y dimension;Institute State recognition methods to comprise the following steps:
Assuming that the total drift number of times in X and Y dimension is respectively X_Commits, Y_Commits, data absolute value is respectively X_abs and Y_abs, Positive and negative skew number of times on X-dimension is designated as X_Positive, X_Negative respectively, and the positive and negative skew number of times in Y dimension is designated as respectively Y_Positive、Y_Negative;
First, system judge that 2-D data belongs to any situation, carry out tendentious judgement further according to different situations: if 2-D data belongs to User tendency selects, then 2-D data is converted to one-dimensional vector shift and performs associative operation, adds 1 to total drift number of times after conversion every time, and Align or negative bias moves number of times and adds 1;Select if 2-D data is not belonging to user tendency, then ignore this input;
Wherein, tendentiousness judges that the inequality related to has:
Tendentiousness judgement is carried out below for four kinds of situations of 2-D data:
1) there is no data in data and Y dimension on X-dimension:
According to X_Commits with Y_Commits, system first judges whether inequality (A) is set up, if set up, then estimate user behavior now still Possesses the vector shift inertia of continuity Y dimension, it should ignoring this input on X-dimension, Y_Commits subtracts 1 as tendentiousness compensation simultaneously; If be false, then judge whether inequality (C) is set up;
If inequality (C) is false, then ignore this input;If inequality (C) is set up, and the numerical value of input is just, is put into inequality (B) Judge;If inequality (B) is set up, then this input is the negative value inertia of continuity X-dimension, ignores, and X_Negative subtracts 1 as inclining simultaneously Tropism compensates, and is otherwise carried out this input;If inequality (C) is set up, and the numerical value of input is negative, is put into inequality (I) and judges;If no Etc. formula (I) set up, then this input for continuity X-dimension on the occasion of inertia, ignore, simultaneously X_Positive subtract 1 as tendentiousness compensate, Otherwise it is carried out this input;
2) there is no data on data and X-dimension in Y dimension:
System first judges whether X-dimension meets inequality (D), if inequality (D) is set up, is then judged as continuing the vector shift inertia of X-dimension, Ignoring this input, X_Commits subtracts 1 as tendentiousness compensation simultaneously, the most again judges whether inequality (F) is set up, if inequality (F) Set up, then according to positive and negative entrance inequality (E) or the judgement of (J) of this input numerical value, otherwise then ignore;
If inequality (E) is set up, and this input numerical value is just, then be judged as continuing the negative value inertia of Y, therefore this input is ignored, simultaneously Y_Negative subtracts 1 and compensates as tendentiousness, otherwise performs this input;If inequality (J) is set up, and this input numerical value is negative, then sentence Break for continuity Y on the occasion of inertia, therefore this input is ignored, and Y_Positive subtracts 1 and compensates as tendentiousness simultaneously, otherwise performs this and inputs;
3) all there are data in X and Y dimension:
Use inequality (A) to compare the tendentiousness of which dimension big, when the tendentiousness of certain dimension is big and absolute value more than 2 time, then system is carried out The positive negative judgement of skew inertia in this dimension, if the positive and negative and input numerical value of the skew inertia in this dimension is positive and negative contrary, ignores, otherwise performs This input;When being unsatisfactory for condition, X_Commits and Y_Commits subtracts 1 simultaneously, carries out data absolute value and compares, if inequality (G) is set up Then perform the vector shift of X-dimension, if inequality (H) is set up, perform the vector shift of Y dimension;
4) equal no data in X and Y dimension:
X_Commits and Y_Commits subtracts 1 simultaneously, and after being accumulated to certain number of times without 2-D data input, X_Commits and Y_Commits is straight Connect zero setting.
In any case, when described X_Commits subtracts 1, what X_Positive and X_Negative was all corresponding subtracts 1, and described X_Commits puts When zero, the zero setting that X_Positive and X_Negative is all corresponding.
In any case, when described Y_Commits subtracts 1, what Y_Positive and Y_Negative was all corresponding subtracts 1, and described Y_Commits puts When zero, the zero setting that Y_Positive and Y_Negative is all corresponding.
Described X_Commits or Y_Commits, when adding 1 for the first time, does not perform the input of this 2-D data.
Described 2-D data is after judging and confirming to perform, if the absolute value of input numerical value is more than 6, then the absolute value of this numerical value adds 4.
Embodiment 3
The recognition methods of trace ball in measuring instrument, the 2-D data that the motion of described trace ball produces has following 4 kinds of situations: have on X-dimension data and No data in Y dimension, Y dimension has no data on data and X-dimension, X and Y dimension all has data, equal no data in X and Y dimension;Institute State recognition methods to comprise the following steps:
Assuming that the total drift number of times in X and Y dimension is respectively X_Commits, Y_Commits, data absolute value is respectively X_abs and Y_abs, Positive and negative skew number of times on X-dimension is designated as X_Positive, X_Negative respectively, and the positive and negative skew number of times in Y dimension is designated as respectively Y_Positive、Y_Negative;
First, system judge that 2-D data belongs to any situation, carry out tendentious judgement further according to different situations: if 2-D data belongs to User tendency selects, then 2-D data is converted to one-dimensional vector shift and performs associative operation, adds 1 to total drift number of times after conversion every time, and Align or negative bias moves number of times and adds 1;Select if 2-D data is not belonging to user tendency, then ignore this input;
Wherein, tendentiousness judges that the inequality related to has:
Tendentiousness judgement is carried out below for four kinds of situations of 2-D data:
1) there is no data in data and Y dimension on X-dimension:
According to X_Commits with Y_Commits, system first judges whether inequality (A) is set up, if set up, then estimate user behavior now still Possesses the vector shift inertia of continuity Y dimension, it should ignoring this input on X-dimension, Y_Commits subtracts 1 as tendentiousness compensation simultaneously; If be false, then judge whether inequality (C) is set up;
If inequality (C) is false, then ignore this input;If inequality (C) is set up, and the numerical value of input is just, is put into inequality (B) Judge;If inequality (B) is set up, then this input is the negative value inertia of continuity X-dimension, ignores, and X_Negative subtracts 1 as inclining simultaneously Tropism compensates, and is otherwise carried out this input;If inequality (C) is set up, and the numerical value of input is negative, is put into inequality (I) and judges;If no Etc. formula (I) set up, then this input for continuity X-dimension on the occasion of inertia, ignore, simultaneously X_Positive subtract 1 as tendentiousness compensate, Otherwise it is carried out this input;
2) there is no data on data and X-dimension in Y dimension:
System first judges whether X-dimension meets inequality (D), if inequality (D) is set up, is then judged as continuing the vector shift inertia of X-dimension, Ignoring this input, X_Commits subtracts 1 as tendentiousness compensation simultaneously, the most again judges whether inequality (F) is set up, if inequality (F) Set up, then according to positive and negative entrance inequality (E) or the judgement of (J) of this input numerical value, otherwise then ignore;
If inequality (E) is set up, and this input numerical value is just, then be judged as continuing the negative value inertia of Y, therefore this input is ignored, simultaneously Y_Negative subtracts 1 and compensates as tendentiousness, otherwise performs this input;If inequality (J) is set up, and this input numerical value is negative, then sentence Break for continuity Y on the occasion of inertia, therefore this input is ignored, and Y_Positive subtracts 1 and compensates as tendentiousness simultaneously, otherwise performs this and inputs;
3) all there are data in X and Y dimension:
Use inequality (A) to compare the tendentiousness of which dimension big, when the tendentiousness of certain dimension is big and absolute value more than 2 time, then system is carried out The positive negative judgement of skew inertia in this dimension, if the positive and negative and input numerical value of the skew inertia in this dimension is positive and negative contrary, ignores, otherwise performs This input;When being unsatisfactory for condition, X_Commits and Y_Commits subtracts 1 simultaneously, carries out data absolute value and compares, if inequality (G) is set up Then perform the vector shift of X-dimension, if inequality (H) is set up, perform the vector shift of Y dimension;
4) equal no data in X and Y dimension:
X_Commits and Y_Commits subtracts 1 simultaneously, and after being accumulated to certain number of times without 2-D data input, X_Commits and Y_Commits is straight Connect zero setting.
In any case, when described X_Commits subtracts 1, what X_Positive and X_Negative was all corresponding subtracts 1, and described X_Commits puts When zero, the zero setting that X_Positive and X_Negative is all corresponding.
In any case, when described Y_Commits subtracts 1, what Y_Positive and Y_Negative was all corresponding subtracts 1, and described Y_Commits puts When zero, the zero setting that Y_Positive and Y_Negative is all corresponding.
Described X_Commits or Y_Commits, when adding 1 for the first time, does not perform the input of this 2-D data.
Described 2-D data is after judging and confirming to perform, if the absolute value of input numerical value is more than 6, then the absolute value of this numerical value adds 4.

Claims (5)

1. the recognition methods of trace ball in measuring instrument, the 2-D data that the motion of described trace ball produces has following 4 kinds of situations: have number on X-dimension According to and Y dimension on no data, Y dimension has no data on data and X-dimension, X and Y dimension all has data, equal no data in X and Y dimension; It is characterized in that: described recognition methods comprises the following steps:
Assuming that the total drift number of times in X and Y dimension is respectively X_Commits, Y_Commits, data absolute value is respectively X_abs and Y_abs, Positive and negative skew number of times on X-dimension is designated as X_Positive, X_Negative respectively, and the positive and negative skew number of times in Y dimension is designated as respectively Y_Positive、Y_Negative;
First, system judge that 2-D data belongs to any situation, carry out tendentious judgement further according to different situations: if 2-D data belongs to User tendency selects, then 2-D data is converted to one-dimensional vector shift and performs associative operation, adds 1 to total drift number of times after conversion every time, and Align or negative bias moves number of times and adds 1;Select if 2-D data is not belonging to user tendency, then ignore this input;
Wherein, tendentiousness judges that the inequality related to has:
Y_Commits >=X_Commits+m, is set in m between 1~20 according to different tracks ball; (A)
The judgement that X-dimension skew is positive and negative: X_Negative >=X_Positive+k, is set in k between 1~10 according to different trace balls; (B)
X_Commits >=Y_Commits; (C)
X_Commits >=Y_Commits+m; (D)
The judgement that the skew of Y dimension is positive and negative: Y_Negative >=Y_Positive+k; (E)
Y_Commits >=X_Commits; (F)
X_abs > Y_abs*n, n desirable 2; (G)
Y_abs>X_abs*n; (H)
X_Positive >=X_Negative+k; (I)
Y_Positive >=Y_Negative_+k; (J)
Tendentiousness judgement is carried out below for four kinds of situations of 2-D data:
1) there is no data in data and Y dimension on X-dimension:
According to X_Commits with Y_Commits, system first judges whether inequality (A) is set up, if set up, then estimate user behavior now still Possesses the vector shift inertia of continuity Y dimension, it should ignoring this input on X-dimension, Y_Commits subtracts 1 as tendentiousness compensation simultaneously; If be false, then judge whether inequality (C) is set up;
If inequality (C) is false, then ignore this input;If inequality (C) is set up, and the numerical value of input is just, is put into inequality (B) Judge;If inequality (B) is set up, then this input is the negative value inertia of continuity X-dimension, ignores, and X_Negative subtracts 1 as inclining simultaneously Tropism compensates, and is otherwise carried out this input;If inequality (C) is set up, and the numerical value of input is negative, is put into inequality (I) and judges;If no Etc. formula (I) set up, then this input for continuity X-dimension on the occasion of inertia, ignore, simultaneously X_Positive subtract 1 as tendentiousness compensate, Otherwise it is carried out this input;
2) there is no data on data and X-dimension in Y dimension:
System first judges whether X-dimension meets inequality (D), if inequality (D) is set up, is then judged as continuing the vector shift inertia of X-dimension, Ignoring this input, X_Commits subtracts 1 as tendentiousness compensation simultaneously, the most again judges whether inequality (F) is set up, if inequality (F) Set up, then according to positive and negative entrance inequality (E) or the judgement of (J) of this input numerical value, otherwise then ignore;
If inequality (E) is set up, and this input numerical value is just, then be judged as continuing the negative value inertia of Y, therefore this input is ignored, simultaneously Y_Negative subtracts 1 and compensates as tendentiousness, otherwise performs this input;If inequality (J) is set up, and this input numerical value is negative, then sentence Break for continuity Y on the occasion of inertia, therefore this input is ignored, and Y_Positive subtracts 1 and compensates as tendentiousness simultaneously, otherwise performs this and inputs;
3) all there are data in X and Y dimension:
Use inequality (A) to compare the tendentiousness of which dimension big, when the tendentiousness of certain dimension is big and absolute value more than 2 time, then system is carried out The positive negative judgement of skew inertia in this dimension, if the positive and negative and input numerical value of the skew inertia in this dimension is positive and negative contrary, ignores, otherwise performs This input;When being unsatisfactory for condition, X_Commits and Y_Commits subtracts 1 simultaneously, carries out data absolute value and compares, if inequality (G) is set up Then perform the vector shift of X-dimension, if inequality (H) is set up, perform the vector shift of Y dimension;
4) equal no data in X and Y dimension:
X_Commits and Y_Commits subtracts 1 simultaneously, and after being accumulated to certain number of times without 2-D data input, X_Commits and Y_Commits is straight Connect zero setting.
The recognition methods of trace ball in measuring instrument the most according to claim 1, it is characterised in that: in any case, described X_Commits When subtracting 1, what X_Positive and X_Negative was all corresponding subtracts 1, and during described X_Commits zero setting, X_Positive and X_Negative is equal Corresponding zero setting.
The recognition methods of trace ball in measuring instrument the most according to claim 1, it is characterised in that: in any case, described Y_Commits When subtracting 1, what Y_Positive and Y_Negative was all corresponding subtracts 1, and during described Y_Commits zero setting, Y_Positive and Y_Negative is equal Corresponding zero setting.
The recognition methods of trace ball in measuring instrument the most according to claim 1, it is characterised in that: described X_Commits or Y_Commits When adding 1 for the first time, do not perform the input of this 2-D data.
The recognition methods of trace ball in measuring instrument the most according to claim 1, it is characterised in that: described 2-D data is through judging and confirming After can performing, if the absolute value of input numerical value is more than 6, then the absolute value of this numerical value adds 4.
CN201410008651.5A 2014-01-08 2014-01-08 The recognition methods of trace ball in measuring instrument Expired - Fee Related CN103699244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410008651.5A CN103699244B (en) 2014-01-08 2014-01-08 The recognition methods of trace ball in measuring instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410008651.5A CN103699244B (en) 2014-01-08 2014-01-08 The recognition methods of trace ball in measuring instrument

Publications (2)

Publication Number Publication Date
CN103699244A CN103699244A (en) 2014-04-02
CN103699244B true CN103699244B (en) 2016-08-17

Family

ID=50360796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410008651.5A Expired - Fee Related CN103699244B (en) 2014-01-08 2014-01-08 The recognition methods of trace ball in measuring instrument

Country Status (1)

Country Link
CN (1) CN103699244B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097372A (en) * 1997-06-05 2000-08-01 Alps Electric Co., Ltd. Data input device
US6825831B1 (en) * 2002-10-07 2004-11-30 Measurement Systems, Inc. Position indicating device for harsh environments
CN1573803A (en) * 2003-06-09 2005-02-02 微软公司 Detection of a dwell gesture by examining parameters associated with pen motion
CN1934616A (en) * 2004-01-29 2007-03-21 辛纳普蒂克斯有限公司 Method and apparatus for producing one-dimensional signals with a two-dimensional pointing device
CN101833383A (en) * 2009-03-09 2010-09-15 怡利电子工业股份有限公司 Multiple variable speed touch pad cursor control method
CN102467285A (en) * 2010-11-16 2012-05-23 义隆电子股份有限公司 Method for continuing multi-finger gesture on touch pad
CN102473060A (en) * 2010-05-18 2012-05-23 松下电器产业株式会社 Coordinate determination device, coordinate determination method and coordinate determination program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050231463A1 (en) * 2004-04-19 2005-10-20 Kye Systems Corp. Input device with multi-directional scrolling wheel
US20090128507A1 (en) * 2007-09-27 2009-05-21 Takeshi Hoshino Display method of information display device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097372A (en) * 1997-06-05 2000-08-01 Alps Electric Co., Ltd. Data input device
US6825831B1 (en) * 2002-10-07 2004-11-30 Measurement Systems, Inc. Position indicating device for harsh environments
CN1573803A (en) * 2003-06-09 2005-02-02 微软公司 Detection of a dwell gesture by examining parameters associated with pen motion
CN1934616A (en) * 2004-01-29 2007-03-21 辛纳普蒂克斯有限公司 Method and apparatus for producing one-dimensional signals with a two-dimensional pointing device
CN101390034A (en) * 2004-01-29 2009-03-18 辛纳普蒂克斯有限公司 Method and apparatus for initiating one-dimensional signals with a two-dimensional pointing device
CN101833383A (en) * 2009-03-09 2010-09-15 怡利电子工业股份有限公司 Multiple variable speed touch pad cursor control method
CN102473060A (en) * 2010-05-18 2012-05-23 松下电器产业株式会社 Coordinate determination device, coordinate determination method and coordinate determination program
CN102467285A (en) * 2010-11-16 2012-05-23 义隆电子股份有限公司 Method for continuing multi-finger gesture on touch pad

Also Published As

Publication number Publication date
CN103699244A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN101882042B (en) Palm judgment method of capacitive touch screen
CN102768595B (en) A kind of method and device identifying touch control operation instruction on touch-screen
EP2620839A3 (en) Sensor managed apparatus, method and computer program product
CN105589553A (en) Gesture control method and system for intelligent equipment
CN102117165A (en) Touch input processing method and mobile terminal
US20130293477A1 (en) Electronic apparatus and method for operating the same
CN102253774A (en) Information input device and method with function of eliminating mutual interference among sensing signals
CN104898880A (en) Control method and electronic equipment
CN105589588A (en) Touch system, touch pen, touch device and control method thereof
CN103809793B (en) Information processing method and electronic device
CN103699244B (en) The recognition methods of trace ball in measuring instrument
US9519367B2 (en) Display apparatus and computer-readable non-transitory recording medium with display control program recorded thereon
US20150091803A1 (en) Multi-touch input method for touch input device
CN104423657B (en) The method and electronic equipment of information processing
CN103257724A (en) Non-contact mouse and operation method thereof
US20150042586A1 (en) Input Device
CN203849701U (en) Gesture control video monitoring system based on non-touch
US20210326657A1 (en) Image recognition method and device thereof and ai model training method and device thereof
CN105468273A (en) Method and apparatus used for carrying out control operation on device touch screen
CN104516483A (en) Gesture language input identification system based on motion-sensing technology
KR101171239B1 (en) Non-touch data input and operating method using image processing
Weir Machine learning models for uncertain interaction
Ji et al. A local fingertips movement and fingertips clustering based virtual keyboard adopting a camera
CN102915149B (en) touch control handheld device
TWI552025B (en) Pattern matching method and touch integrated circuit

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: 20160817

Termination date: 20170108

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