CN102495695B - Multi-point touch identification method, touch device and system for infrared geminate transistor touch screen - Google Patents
Multi-point touch identification method, touch device and system for infrared geminate transistor touch screen Download PDFInfo
- Publication number
- CN102495695B CN102495695B CN201110380441.5A CN201110380441A CN102495695B CN 102495695 B CN102495695 B CN 102495695B CN 201110380441 A CN201110380441 A CN 201110380441A CN 102495695 B CN102495695 B CN 102495695B
- Authority
- CN
- China
- Prior art keywords
- touch
- scanning
- blocked
- region
- pixel
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000005055 memory storage Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
Landscapes
- Position Input By Displaying (AREA)
Abstract
According to the multi-touch identification method, the multi-touch device and the infrared geminate transistor touch screen system based on the bitmap, provided by the invention, each pixel of a touch area of the touch screen is recorded in the form of the bitmap; scanning the touch screen in any of a plurality of scanning directions; recording the times of each pixel in the shielded area or the unshielded area in each scanning direction in the bitmap; and identifying the pixel set in the shielded area with the number of times equal to the scanning number as a real touch area and the position of the touch point. The invention can reduce the consumption of operation resources, save operation time and accurately identify a theoretically infinite number of touch points.
Description
Technical field
The present invention relates to the touch point recognition technology of infrared tube touch-screen, particularly relate to a kind of multi-touch recognition method for infrared tube touch-screen based on bitmap, multipoint touching device and infrared pair tube touch screen system.
Background technology
Infrared tube touch-screen encloses paired infrared emission, infrared receiver device by one, detects in the middle of two pipes whether have shelter to identify touch.At present, infrared tube touch-screen, when carrying out the judgement of multiple point touching, can obtain logic touch point more more than actual touch point.Having in these logic touch points is " pseudo-point " greatly, and namely in fact this position is not touched.As figure below:
At present, removal part " pseudo-point " can be attempted by software algorithm, but cannot accomplish thoroughly to go puppet, when counting more, error probability larger (in fact, only can accomplish 2 touch at present by this method).
In addition, there is a kind of anon-normal at present to the data of the scanning (tilted direction scanning) of infrared device, the multi-point recognizing method realized by vector calculus, straight-line intersection, Distance Judgment etc., as shown below.This mode, owing to relating to computing between a large amount of straight line in calculating process, needs to consume a large amount of calculation resources and time, and this consumption usually can be counted with touch and even to be increased in 23 powers, can be also 2 even to increase with tilted direction quantity 3 powers.This mode is also unfavorable for the situation (usually can not accomplish more than 10 touches at present by this method at present) when counting more.
Summary of the invention
The invention provides a kind of multi-touch recognition method for infrared tube touch-screen based on bitmap, multipoint touching device and infrared pair tube touch screen system, the consumption of calculation resources can be reduced, save operation time.
The multi-touch recognition method for infrared tube touch-screen based on bitmap provided by the invention, comprises step:
By each pixel record in the form of a bitmap of the touch area of touch-screen;
In any number of direction of scanning, described touch-screen is scanned;
Each pixel is in be blocked region or the region that is not blocked number of times in each direction of scanning is recorded in described bitmap;
The set of pixels number of times being in the region that is blocked being equaled scanning times is identified as the position of real touch area and touch point.
The multipoint touching device for infrared tube touch-screen based on bitmap provided by the invention, comprising:
Memory storage, each pixel for the touch area by touch-screen records and records in described bitmap each pixel is in be blocked region or the region that is not blocked number of times in each direction of scanning in the form of a bitmap;
Control device, scans described touch-screen in any number of direction of scanning for controlling infrared tube;
Recognition device, the set of pixels for the number of times being in the region that is blocked being equaled scanning times is identified as the position of real touch area and touch point.
Infrared pair tube touch screen system provided by the invention, comprises multipoint touching device and infrared tube;
Described multipoint touching device comprises:
Memory storage, each pixel for the touch area by touch-screen records and records in described bitmap each pixel is in be blocked region or the region that is not blocked number of times in each direction of scanning in the form of a bitmap;
Control device, scans described touch-screen in any number of direction of scanning for controlling infrared tube;
Recognition device, the set of pixels for the number of times being in the region that is blocked being equaled scanning times is identified as the position of real touch area and touch point;
Described infrared tube, scans for the control accepting described control device.
The present invention utilizes just to the data of anon-normal to the scanning of infrared device, realizes multiple spot identification by the mode of bitmap process, image recognition.Only consume lower calculation resources and time simultaneously, and any many counting and tilted directions many arbitrarily can be adapted to, the multiple touch point of theory unlimited can be identified exactly.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of embodiment 1;
Fig. 2 is the bitmap schematic diagram of touch area in embodiment 2;
Fig. 3 be to Fig. 8 be the schematic diagram of six direction of scanning;
Fig. 9 is the logic diagram of embodiment 4.
Embodiment
Embodiment 1: present embodiments provide the multi-touch recognition method for infrared tube touch-screen based on bitmap, as shown in Figure 1:
In advance each pixel of the touch area of touch-screen is recorded (step 1) in the form of a bitmap; In any number of direction of scanning, touch-screen is scanned (step 2); Each pixel is in be blocked region or the region that is not blocked number of times (step 3) in each direction of scanning is recorded in bitmap; The set of pixels number of times being in the region that is blocked being equaled scanning times is identified as the position (step 4) of real touch area and touch point.
Mode step 3 being recorded in bitmap to each pixel number of times in residing region in each scanning has a variety of, enumerates wherein several below in an example, can certainly realize in other way, do not hinder effect of the present invention.
Embodiment 2: the touch area of touch-screen is showed with bitmap form, namely the matrix that an X row Y is capable, in bitmap, each pixel all arranges a token variable a [x] [y] (x is its residing row number, and y is line number residing for it), and initial guess is 0.As shown in Figure 2, X=30, Y=20 in the present embodiment.
Touch-screen starts, and carries out the scanning of all directions successively, as shown in Figures 3 to 8.There are 6 direction of scanning herein.
When there is touch point, the light thing that is touched blocked, according to the region that is blocked, as follows each pixel is recorded on bitmap described in step 1: for each pixel in bitmap, often in 1 direction of scanning, be in the region that is blocked, then its indexed variable added for 1 (namely a [x] [y] adds 1).
After completing the scanning of all directions, the superposition value obtaining marking variable be 0 pixel be region, touch point, situation when previous example is single-point, for during multiple spot also in like manner, be not described further.
Embodiment 3: in the present embodiment, according to above-mentioned occlusion area, be recorded in as follows on bitmap described in step 1: for each pixel in bitmap, often in 1 direction of scanning, be in the region that is blocked, then its indexed variable added for 1 (namely a [x] [y] adds 1).After completing the scanning of all directions, the pixel that the superposition value obtaining marking variable equals total scanning times is region, touch point, situation when previous example is single-point, for during multiple spot also in like manner, be not described further.
Embodiment 4: corresponding with the various embodiments described above, present invention also offers corresponding multipoint touching device, as shown in Figure 9, comprising: memory storage, control device and recognition device.
Each pixel of the touch area of touch-screen is recorded and records in bitmap each pixel is in be blocked region or the region that is not blocked number of times in each direction of scanning by memory storage in the form of a bitmap; Control device controls infrared tube and scans described touch-screen in any number of direction of scanning; The set of pixels that the number of times being in the region that is blocked is equaled scanning times by recognition device is identified as the position of real touch area and touch point.
Embodiment 5: provide infrared pair tube touch screen system in the present embodiment, includes multipoint touching device and the infrared tube of embodiment 4, and the scanning of each direction of scanning is carried out in the control of infrared tube receiving control device.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within claims of the present invention.
Claims (7)
1., based on the multi-touch recognition method for infrared tube touch-screen of bitmap, it is characterized in that, comprise step:
By each pixel record in the form of a bitmap of the touch area of touch-screen;
In any number of direction of scanning, described touch-screen is scanned;
Each pixel is in be blocked region or the region that is not blocked number of times in each direction of scanning is recorded in described bitmap, for each pixel in bitmap, often in 1 direction of scanning, be in be blocked region or the region that is not blocked, then its number of times being in be blocked region or the region that is not blocked on this direction of scanning adds 1;
The set of pixels number of times being in the region that is blocked being equaled scanning times is identified as the position of real touch area and touch point.
2. multi-touch recognition method according to claim 1, is characterized in that, records be blocked in each direction of scanning step of number of times of each pixel and comprise in described bitmap:
In each described direction of scanning, if the pixel in described bitmap is in the region that is blocked, then the indexed variable of this pixel is added 1, record the superposition value on each direction of scanning.
3. multi-touch recognition method according to claim 1, is characterized in that, the step recording the number of times of the non-occluded area of each direction of scanning in described bitmap comprises:
In each described direction of scanning, if the pixel in described bitmap is in non-occluded area, then the indexed variable of this pixel is added 1, record the superposition value on each direction of scanning.
4., based on the multipoint touching device for infrared tube touch-screen of bitmap, it is characterized in that, comprising:
Memory storage, each pixel for the touch area by touch-screen records and records in described bitmap each pixel is in be blocked region or the region that is not blocked number of times in each direction of scanning in the form of a bitmap, for each pixel in bitmap, often in 1 direction of scanning, be in be blocked region or the region that is not blocked, then its number of times being in be blocked region or the region that is not blocked on this direction of scanning adds 1;
Control device, scans described touch-screen in any number of direction of scanning for controlling infrared tube;
Recognition device, the set of pixels for the number of times being in the region that is blocked being equaled scanning times is identified as the position of real touch area and touch point.
5. multipoint touching device according to claim 4, it is characterized in that, in each described direction of scanning, if the pixel in described bitmap is in the region that is blocked, then the indexed variable of this pixel is added 1 by described recognition device, records the superposition value on each direction of scanning.
6. multipoint touching device according to claim 4, it is characterized in that, in each described direction of scanning, if the pixel in described bitmap is in non-occluded area, then the indexed variable of this pixel is added 1 by described recognition device, records the superposition value on each direction of scanning.
7. employ the infrared pair tube touch screen system of the multipoint touching device in claim 4 to 6 described in any one, it is characterized in that, comprise multipoint touching device and infrared tube;
Described multipoint touching device comprises:
Memory storage, each pixel for the touch area by touch-screen records and records in described bitmap each pixel is in be blocked region or the region that is not blocked number of times in each direction of scanning in the form of a bitmap, for each pixel in bitmap, often in 1 direction of scanning, be in be blocked region or the region that is not blocked, then its number of times being in be blocked region or the region that is not blocked on this direction of scanning adds 1;
Control device, scans described touch-screen in any number of direction of scanning for controlling infrared tube;
Recognition device, the set of pixels for the number of times being in the region that is blocked being equaled scanning times is identified as the position of real touch area and touch point;
Described infrared tube, scans for the control accepting described control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110380441.5A CN102495695B (en) | 2011-11-25 | 2011-11-25 | Multi-point touch identification method, touch device and system for infrared geminate transistor touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110380441.5A CN102495695B (en) | 2011-11-25 | 2011-11-25 | Multi-point touch identification method, touch device and system for infrared geminate transistor touch screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102495695A CN102495695A (en) | 2012-06-13 |
CN102495695B true CN102495695B (en) | 2014-12-31 |
Family
ID=46187524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110380441.5A Active CN102495695B (en) | 2011-11-25 | 2011-11-25 | Multi-point touch identification method, touch device and system for infrared geminate transistor touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102495695B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102389B (en) * | 2013-04-02 | 2017-02-08 | 北京汇冠新技术股份有限公司 | Scanning line shifting line-drawing method and system |
CN103699273B (en) * | 2013-12-26 | 2016-09-21 | 广州视睿电子科技有限公司 | Touch point identification method and system of infrared touch screen |
CN104598082B (en) * | 2015-01-23 | 2017-09-22 | 青岛海信电器股份有限公司 | A kind of method and device for determining candidate touch point |
CN113126795B (en) * | 2019-12-31 | 2022-08-19 | 青岛海信商用显示股份有限公司 | Touch identification method of touch display device and related equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075168A (en) * | 2007-06-22 | 2007-11-21 | 北京汇冠新技术有限公司 | Method for discriminating multiple points on infrared touch screen |
CN101149656A (en) * | 2007-10-26 | 2008-03-26 | 广东威创视讯科技股份有限公司 | Infra red touch screen and multiple point touching positioning method |
CN101320307A (en) * | 2007-06-04 | 2008-12-10 | 北京汇冠新技术有限公司 | Method for recognizing multiple touch points on infrared touch screen |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100277436A1 (en) * | 2009-04-29 | 2010-11-04 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Sensing System for a Touch Sensitive Device |
-
2011
- 2011-11-25 CN CN201110380441.5A patent/CN102495695B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101320307A (en) * | 2007-06-04 | 2008-12-10 | 北京汇冠新技术有限公司 | Method for recognizing multiple touch points on infrared touch screen |
CN101075168A (en) * | 2007-06-22 | 2007-11-21 | 北京汇冠新技术有限公司 | Method for discriminating multiple points on infrared touch screen |
CN101149656A (en) * | 2007-10-26 | 2008-03-26 | 广东威创视讯科技股份有限公司 | Infra red touch screen and multiple point touching positioning method |
Also Published As
Publication number | Publication date |
---|---|
CN102495695A (en) | 2012-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101609560B (en) | Method for erasing handwriting | |
US20120200540A1 (en) | Utilization of temporal and spatial parameters to enhance the writing capability of an electronic device | |
CN102495695B (en) | Multi-point touch identification method, touch device and system for infrared geminate transistor touch screen | |
US20170109917A1 (en) | Method and device for erasing a writing path on an infrared electronic white board, and a system for writing on an infrared electronic white board | |
US20130076700A1 (en) | Method for identifying touch object | |
CN103294401A (en) | Icon processing method and device for electronic instrument with touch screen | |
JP2009540416A (en) | Pattern recognition and SIMD processor | |
CN101441542B (en) | Method and apparatus for recognizing multiple target objects by interactive input apparatus | |
JP6877446B2 (en) | Systems and methods for recognizing multiple object structures | |
CN107491428A (en) | Bank's list and its information input method and device based on optical lattice technology | |
CN107967083B (en) | Touch point determination method and device | |
CN110045840A (en) | Writing track association method and device, terminal equipment and storage medium | |
US11474627B2 (en) | Method, apparatus and device for erasing handwriting on electronic whiteboard | |
CN109933276B (en) | Method for judging false hand-sleeve touch in handwriting of large-screen electronic whiteboard based on touch | |
CN108228057B (en) | Touch inflection point correction method and device and touch screen | |
CN103793683A (en) | gesture recognition method and electronic device | |
CN106293276A (en) | The vigour of style in writing based on infrared touch-control determines method, device and touch-screen system | |
CN102637116B (en) | 3D scene exchange method, device and collision checking method, device | |
CN107369097A (en) | Insurance policy and its information input method and device based on optical lattice technology | |
CN108520263B (en) | Panoramic image identification method and system and computer storage medium | |
US20150205483A1 (en) | Object operation system, recording medium recorded with object operation control program, and object operation control method | |
Jia et al. | Real‐time hand gestures system based on leap motion | |
CN105278751A (en) | Method and apparatus for implementing human-computer interaction, and protective case | |
CN102023761B (en) | Multi-point detection and calculation method for touch screen | |
CN107665186B (en) | A kind of peculiar font generation 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 |