CN100498825C - Method for determining sensing array of hand-held image motion tracking sensor - Google Patents
Method for determining sensing array of hand-held image motion tracking sensor Download PDFInfo
- Publication number
- CN100498825C CN100498825C CNB2005101026387A CN200510102638A CN100498825C CN 100498825 C CN100498825 C CN 100498825C CN B2005101026387 A CNB2005101026387 A CN B2005101026387A CN 200510102638 A CN200510102638 A CN 200510102638A CN 100498825 C CN100498825 C CN 100498825C
- Authority
- CN
- China
- Prior art keywords
- sensing array
- speed
- hand
- array
- max
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000006698 induction Effects 0.000 claims description 5
- 238000004519 manufacturing process Methods 0.000 abstract description 6
- 230000003287 optical effect Effects 0.000 abstract description 3
- 238000004904 shortening Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 238000006073 displacement reaction Methods 0.000 description 2
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Landscapes
- Image Input (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域: Technical field:
本发明涉及一种决定手持式影像移动追踪传感器的感应数组的方法。The invention relates to a method for determining the sensing array of a hand-held image motion tracking sensor.
背景技术: Background technique:
现今手持式影像移动追踪传感器,如光学鼠标,其内部是为一由正方形感应数组所组成的传感器,并以当时的频率快速且周期性的撷取所侦测物体的影像,接着再藉由对比两张连续影像中相同特征的位置变化以换算出此物体的位移数据。Today's hand-held image motion tracking sensors, such as optical mice, have a sensor composed of a square sensor array inside, and capture the images of the detected objects quickly and periodically at the current frequency, and then compare them The position change of the same feature in two consecutive images is used to convert the displacement data of this object.
请参阅图3,系为正方形感应数组,该正方形感应数组边长31为10像素,先撷取二个时间点连续影像,于第一时间点影像的中心取一基准区块32,该基准区块边长33为4像素,依区块对比算法及全区域搜寻法,于第二时间点影像取一同于基准区块32大小的样本区块34,该样本区块34从左至右,上到下进行对比,可对比出49个样本区块34,经对比后可得到一与基准区块32最为相近的区块。Please refer to Fig. 3, it is a square induction array, the
虽然上述现有技术,可达到换算出物体的位移数据,但于使用时资料对比量大,处理时间较长,且浪费感应数组的面积,因此,一般无法符合使用者于实际使用时所需。Although the above-mentioned prior art can convert the displacement data of the object, the amount of data comparison is large, the processing time is long, and the area of the sensing array is wasted. Therefore, it generally cannot meet the needs of users in actual use.
发明内容: Invention content:
本发明所要解决的技术问题是:针对现有技术的上述不足,提供一种决定手持式影像移动追踪传感器的感应数组的方法,可使该传感器节省感应数组的面积,并于使用时减少资料对比量与缩短处理时间。The technical problem to be solved by the present invention is to provide a method for determining the sensing array of a hand-held image motion tracking sensor, which can save the area of the sensing array and reduce data comparison during use. volume and shorten processing time.
为了解决上述技术问题,本发明所采用的技术方案是:一种决定手持式影像移动追踪传感器的感应数组的方法,该感应数组为长方形感应数组,且该决定感应数组的方法至少包括下列步骤:In order to solve the above technical problems, the technical solution adopted by the present invention is: a method for determining the sensing array of the hand-held image motion tracking sensor, the sensing array is a rectangular sensing array, and the method for determining the sensing array at least includes the following steps:
(1)确定该感应数组的第一边长为N,并假设该感应数组的第二边长为M;(1) determine that the length of the first side of the sensing array is N, and assume that the length of the second side of the sensing array is M;
(2)设定一边长为K的正方形基准区块及每一像素的宽度W;(2) Set a square reference block whose side length is K and the width W of each pixel;
(3)推算左右最大追踪速度Vx_max及前后最大追踪速度Vy_max,该左右最大追踪速度为Vx_max=(N-K)/2×f×W,该前后最大追踪速度Vy_max=(M-K)/2×f×W,其中f为当时频率;(3) Estimate the left and right maximum tracking speed V x_max and the front and rear maximum tracking speed V y_max , the left and right maximum tracking speed is V x_max = (NK)/2×f×W, the front and rear maximum tracking speed V y_max =(MK)/2 ×f×W, where f is the current frequency;
(4)在具有相同力道感时,该前后移动速度与该左右移动速度维持一比值q,所以Vy_max=q×Vx_max,即(M-K)/2×f×W=q×(N-K)/2×f×W,且该左右最大追踪速度满足手的最大左右摆动速度;(4) When having the same sense of strength, the forward and backward moving speed maintains a ratio q to the left and right moving speed, so V y_max =q×V x_max , namely (MK)/2×f×W=q×(NK)/ 2×f×W, and the left and right maximum tracking speed meets the maximum left and right swing speed of the hand;
(5)利用上述公式,推算出第二边长M,由此就决定了该感应数组。(5) Using the above formula, calculate the length M of the second side, and thus determine the induction array.
所述比值介于0至1之间。The ratio is between 0 and 1.
与现有技术相比,本发明的优点是:本发明利用长方形感应数组,合理的缩减感应数组对应于前后移动的感应范围,不仅可使该传感器于使用时节省感应数组的面积,从而降低生产制造成本,并可减少资料对比量与缩短处理时间。本发明可用于光学鼠标及手持扫描仪。Compared with the prior art, the present invention has the advantages that: the present invention utilizes a rectangular sensing array to reasonably reduce the sensing range corresponding to the forward and backward movement of the sensing array, which not only enables the sensor to save the area of the sensing array during use, thereby reducing production Manufacturing costs can be reduced, and the amount of data comparison and processing time can be shortened. The invention can be used in optical mouse and handheld scanner.
附图说明: Description of drawings:
图1是本发明感应数组示意图。Fig. 1 is a schematic diagram of an induction array of the present invention.
图2是本发明实施例示意图。Fig. 2 is a schematic diagram of an embodiment of the present invention.
图3是现有正方形感应数组示意图。Fig. 3 is a schematic diagram of an existing square sensing array.
标号说明:Label description:
第一边长11 第二边长12The length of the first side is 11 The length of the second side is 12
基准区块13 基准区块边长14
每一像素之宽度 15样本区块16Width per
正方形感应数组边长31 基准区块32Square sensing
基准区块边长33 样本区块34Base
具体实施方式: Detailed ways:
请参阅图1所示,为本发明感应数组架构示意图。如图所示:本发明的手持式影像移动追踪传感器的感应数组,该感应数组包含一第一边长(N)11及一第二边长(M)12,该第二边长12小于该第一边长11,而形成一长方形感应数组。该第二边长12的推算过程包含以下步骤:Please refer to FIG. 1 , which is a schematic diagram of the structure of the sensing array of the present invention. As shown in the figure: the sensing array of the handheld image motion tracking sensor of the present invention, the sensing array includes a first side length (N) 11 and a second side length (M) 12, and the
a、设定一基准区块13及每一像素的宽度(w)15,该基准区块13为正方形且具有一基准区块边长(K)14;a, setting a
b、推算一左右最大追踪速度(Vx_max)及一前后最大追踪速度(Vy_max),该左右最大追踪速度为(N-K)/2×f×w,该f为当时频率,则该前后最大追踪速度为(M-K)/2×f×w;b. Calculate a left and right maximum tracking speed (V x_max ) and a front and rear maximum tracking speed (V y_max ), the left and right maximum tracking speed is (NK)/2×f×w, where f is the current frequency, then the front and rear maximum tracking speed The speed is (MK)/2×f×w;
c、该左右最大追踪速度可满足手的最大左右摆动速度,且在具有相同力道感时,该前后移动速度与该左右移动速度维持一比值(q),该比值介于0与1之间,所以Vy_max=q×Vx_max,即(M-K)/2×f×w=q×(N-K)/2×f×w;c. The left and right maximum tracking speed can meet the maximum left and right swing speed of the hand, and with the same sense of strength, the front and rear moving speed maintains a ratio (q) to the left and right moving speed, and the ratio is between 0 and 1. So V y_max =q×V x_max , ie (MK)/2×f×w=q×(NK)/2×f×w;
d、经上述步骤c,推算出第二边长12,该第二边长12为Nq+K(1-q)。d. After the above step c, calculate the
请参阅图2所示,为本发明实施例示意图。如图所示:该长方形感应数组的第一边长(N)11为10像素,且该基准区块边长(K)14为4像素,以及该前后移动速度与左右移动的比值(q)为0.7,该比值依据人手以相同力道感的前后移动速度约为左右移动速度的0.65,及计算机屏幕其宽为其长的0.75,取0.65至0.75的中间值。该长方形感应数组的第二边长(M)12经由算法所推算出的规则,该规则为Nq+K(1-q),代入参数得到第二边长12为8像素。请进一步参阅图3,由上述得知,与已知技术比较时,该10×8长方形感应数组的面积比已知的10×10正方形感应数组的面积节省20%。该节省的像素可由N-M表示,该N-M=(1-q)×(N-K),当该前后移动速度与左右移动的比值固定下,第一边长越大,或是该基准区块边长越小时,该N-M之值则越大,表示节省的像素越多。该长方形感应数组的对比方法,是利用全区域搜寻法,先取一基准区块13,该基准区块边长14为4像素,再取出与该基准区块13相同大小的样本区块16,该样本区块16由左至右,上至下进行对比,可对比出35个样本区块16,则该长方形感应数组比该正方形感应数组的数据对比量较小。经对比后可得到一与基准区块13最为相近的区块。Please refer to FIG. 2 , which is a schematic diagram of an embodiment of the present invention. As shown in the figure: the first side length (N) 11 of the rectangular sensing array is 10 pixels, and the side length (K) 14 of the reference block is 4 pixels, and the ratio (q) of the forward and backward movement speed to the left and right movement It is 0.7, and the ratio is based on the fact that the forward and backward moving speed of the human hand with the same sense of strength is about 0.65 of the left and right moving speed, and the width of the computer screen is 0.75 of its length, and the intermediate value of 0.65 to 0.75 is taken. The second side length (M) 12 of the rectangular sensing array is calculated by an algorithm, and the rule is Nq+K(1-q), and the
综上所述,本发明决定手持式影像移动追踪传感器的感应数组的方法,可使该传感器于使用时达到节省感应数组面积,节省生产制造成本及较小的数据对比量与较短的处理时间,进而使本发明的产生能更进步、更实用、更符合使用者之所须,确已符合发明专利申请的要件,依法提出专利申请。To sum up, the present invention determines the sensing array method of the hand-held image motion tracking sensor, which can save the area of the sensing array when the sensor is in use, save the manufacturing cost, the small amount of data comparison and the short processing time , and then make the production of the present invention more progressive, more practical, and more in line with the needs of users, which has indeed met the requirements of the invention patent application, and the patent application is filed according to law.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101026387A CN100498825C (en) | 2005-09-12 | 2005-09-12 | Method for determining sensing array of hand-held image motion tracking sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101026387A CN100498825C (en) | 2005-09-12 | 2005-09-12 | Method for determining sensing array of hand-held image motion tracking sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1932851A CN1932851A (en) | 2007-03-21 |
CN100498825C true CN100498825C (en) | 2009-06-10 |
Family
ID=37878678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101026387A Expired - Fee Related CN100498825C (en) | 2005-09-12 | 2005-09-12 | Method for determining sensing array of hand-held image motion tracking sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100498825C (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0076032A2 (en) * | 1981-08-28 | 1983-04-06 | Xerox Corporation | Apparatus for controlling movement of a curser in a computer display system |
EP0081348A2 (en) * | 1981-12-03 | 1983-06-15 | Xerox Corporation | Optical cursor control device |
US5442736A (en) * | 1992-04-21 | 1995-08-15 | International Business Machines Corporation | Correlation of cursor position to shapes displayed on a video display screen |
CN1477592A (en) * | 2002-07-30 | 2004-02-25 | 艾勒博科技股份有限公司 | Optical mouse and method for avoiding error action |
-
2005
- 2005-09-12 CN CNB2005101026387A patent/CN100498825C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0076032A2 (en) * | 1981-08-28 | 1983-04-06 | Xerox Corporation | Apparatus for controlling movement of a curser in a computer display system |
EP0081348A2 (en) * | 1981-12-03 | 1983-06-15 | Xerox Corporation | Optical cursor control device |
US5442736A (en) * | 1992-04-21 | 1995-08-15 | International Business Machines Corporation | Correlation of cursor position to shapes displayed on a video display screen |
CN1477592A (en) * | 2002-07-30 | 2004-02-25 | 艾勒博科技股份有限公司 | Optical mouse and method for avoiding error action |
Also Published As
Publication number | Publication date |
---|---|
CN1932851A (en) | 2007-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5226805B2 (en) | Method and apparatus with depth map generation | |
TWI396116B (en) | Displacement detecting apparatus and method | |
US6664948B2 (en) | Tracking pointing device motion using a single buffer for cross and auto correlation determination | |
CN105827951B (en) | A kind of Moving Objects photographic method and mobile terminal | |
TWI543610B (en) | Electronic device and image selection method thereof | |
WO2014205933A1 (en) | Method and device for processing point reporting rate of touchscreen | |
CN107395997A (en) | A kind of image pickup method and mobile terminal | |
CN103460242A (en) | Information processing device, information processing method, and data structure of location information | |
CN102598687B (en) | Method and device for calculating blur in video images | |
CN109716392B (en) | Optical flow calculation method and calculation device | |
TW201407420A (en) | Improved video tracking | |
US9600700B1 (en) | Portable electronic device and operation method thereof | |
US20160063714A1 (en) | Image location selection for use in depth photography system | |
CN105824441B (en) | Navigation device and track smoothing method thereof | |
CN105827963A (en) | Scene changing detection method during shooting process and mobile terminal | |
JP5523086B2 (en) | Information presenting apparatus, information presenting method, and program | |
CN101943566B (en) | Method and device for measuring tiny two-dimensional displacement by computer camera | |
CN102957930A (en) | Method and system for automatically identifying 3D (Three-Dimensional) format of digital content | |
CN104613939B (en) | Method and device for positioning operation body and method and device for determining depth | |
TW201017477A (en) | Locus smoothing method and navigation device using the same | |
US7720317B2 (en) | Handheld image-tracking device within rectangle-shaped two-dimensional sensing array | |
US20220277595A1 (en) | Hand gesture detection method and apparatus, and computer storage medium | |
CN109451318B (en) | Method, apparatus, electronic device and storage medium for facilitating VR video encoding | |
CN100498825C (en) | Method for determining sensing array of hand-held image motion tracking sensor | |
CN106843587A (en) | touch control method |
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: 20090610 Termination date: 20170912 |
|
CF01 | Termination of patent right due to non-payment of annual fee |