CN104123044A - Touch identification method and system for infrared touch screen - Google Patents

Touch identification method and system for infrared touch screen Download PDF

Info

Publication number
CN104123044A
CN104123044A CN201310156805.0A CN201310156805A CN104123044A CN 104123044 A CN104123044 A CN 104123044A CN 201310156805 A CN201310156805 A CN 201310156805A CN 104123044 A CN104123044 A CN 104123044A
Authority
CN
China
Prior art keywords
occlusion area
light path
pixel
touch
scanning optical
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.)
Granted
Application number
CN201310156805.0A
Other languages
Chinese (zh)
Other versions
CN104123044B (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.)
Beijing Irtouch Systems Co Ltd
Original Assignee
Beijing Unitop New 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 Beijing Unitop New Technology Co Ltd filed Critical Beijing Unitop New Technology Co Ltd
Priority to CN201310156805.0A priority Critical patent/CN104123044B/en
Publication of CN104123044A publication Critical patent/CN104123044A/en
Application granted granted Critical
Publication of CN104123044B publication Critical patent/CN104123044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention provides a touch identification method and system for an infrared touch screen. The touch identification method includes the steps of firstly finding possible shielding areas of touch points in the whole infrared touch screen, and processing shielded scanning light paths in the possible shielding areas from an initial light path image to accordingly obtain the touch points. By means of the touch identification method and device, not all scanning light paths or not all pixels in the infrared touch screen need to be processed, the processing speed is greatly increased, and the problem that as for scanning based on each light path or each pixel in the prior art, each light path or each pixel needs to be processed to obtain the touch points, and therefore the processing speed is influenced and is low is effectively solved.

Description

A kind of touch identification method of infrared touch panel and system
Technical field
The present invention relates to a kind of touch point recognition methods of touch-screen, especially relate to a kind of touch point recognition methods and system that improves processing speed, belong to touch-screen control technology field.
Background technology
Along with the development of touching technique, touch-screen as one simply and easily human-computer interaction device be used widely.At present, the kind of touch-screen mainly comprises resistive touch screen, capacitive touch screen, surface acoustic wave touch screen, optical touch screen and infrared touch panel etc.Wherein infrared touch panel is to utilize infrared ray matrix densely covered in X, Y-direction to detect the also touch operation of consumer positioning, surrounding at infrared touch panel is installed a circuit board housing, on circuit board housing, arrange infrared transmitting tube and infrared receiving tube, the one by one corresponding infrared ray matrix anyhow intersecting in length and breadth that forms.User is in the time of touch screen, and the touch objects such as finger are blocked two infrared rays anyhow through this position, judge the position of touch point on screen with this.Because infrared touch panel has advantages such as not being subject to electric current, voltage and electrostatic interference, suitable rugged environment condition, therefore the range of application of infrared touch panel is wider.
On infrared touch panel, the recognition methods of touch point has been experienced from identifying any to identification 2 points, again to the evolution of identifying multiple spot, because multiple point touching not only can be realized more touch function, and can two hand, multiple finger, even multiple people content of function screen simultaneously, convenient nature, so multiple spot recognition technology is the development trend of infrared touch panel.
Chinese patent document CN102419662A discloses a kind of multi-point recognizing method of infrared touch panel, first generates the index path picture corresponding with infrared touch panel light path in an identifying; Then in index path picture, extract touch point information, wherein, generating in the step of index path picture, judge according to the light path data of whole infrared touch panel whether every light path is blocked, for the light path of not blocking, generate a line segment corresponding with this light path in the relevant position of initial index path picture.
In this patent documentation, be treated to master with image, what adopt is light path global information, there is good robustness and noise immunity, but in the step of generation index path picture, whether every light path that need to judge infrared touch panel is blocked, and, the light path of not blocking is generated to a line segment corresponding with this light path in the relevant position of initial index path picture.In large scale touch-screen, due to the light path enormous amount in infrared touch panel, and, in infrared touch panel, there is the light path of not blocking in a large number, in large scale touch-screen, adopt and generate in this way index path picture, the data volume of processing is very large, thereby has affected processing speed.
Chinese patent document CN102419663A discloses a kind of multi-point recognizing method of infrared touch panel, first gathers light path data; Secondly, generate the image/data structure that becomes preset ratio with described infrared touch screen dimensions; Again, set up the attribute that pixel/data element is associated with the light path on infrared touch panel; Then the attribute, being associated with the light path on infrared touch panel according to pixel/data element and described light path data are extracted touch point information.Wherein, the attribute that pixel/data element is associated with the light path on infrared touch panel is set up in quantity and the position of passing through the light path of each pixel/data element by record.
A kind of infrared touch screen multi-point recognition method based on Density Clustering has been proposed in this patent documentation, by setting up associated between the light path on data element and the infrared touch panel of pixel/data structure of image, by light path data, the quantity of the light path that change is associated with the data element of the pixel/data structure of image, when be associated with the data element of the pixel/data structure of some images the vanishing of light path quantity time, the data element of the pixel/data structure of this image is labeled as to impact point, again according to the density of the impact point of mark, set density threshold, by impact point cluster, gather is that the impact point of a class is a touch point, do not have the impact point of cluster to be set to background, this order of magnitude from image pixel or array element judges the method for impact point, although can identify multiple touch points.But, in the step of the attribute that the prior art is associated with light path at the data element of pixel/data structure of setting up image, pass through quantity and the position of the light path of each pixel/data element of touch-screen realizes by record, need to process each pixel/data element of touch-screen, in large scale touch-screen, because the number data elements of the pixel/data structure of image in infrared touch panel is huge, adopt the pixel quantity of processing in this way too large, can greatly affect processing speed.
Above-mentioned two sections of disclosed multi-touch recognition methods of patent documentation scan to every light path or each pixel the information of blocking that obtains touch-screen.Along with the increase of touch-screen, light path and pixel quantity on touch-screen progressively increase, and need quantity of information to be processed to increase while directly causing identifying, and the processing time extends, thereby has affected response speed.
Summary of the invention
Technical matters to be solved by this invention is touch identification method processing time length and the slow problem of response speed of infrared touch panel in prior art, thereby a kind of touch identification method and system of the infrared touch panel that improves recognition speed are provided.
For solving the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A touch identification method for infrared touch panel, comprises the following steps,
S1: gather all scanning optical paths in no touch situation, form initial index path picture;
S2: gather the scan-data while touch;
S3: according to collect touch time described scan-data, deflection axis light path or obtain horizontal boundary information and the longitudinal boundary information of each touch point from axial light path; The border, upper end that described horizontal boundary information is each touch point and border, lower end, the left end border that described longitudinal boundary information is each touch point and right-hand member border; Border, described upper end and the described lower end border corresponding with it form horizontal occlusion area, and described left end border and the described right-hand member border corresponding with it form longitudinal occlusion area;
S4: according to described horizontal occlusion area and described longitudinal occlusion area, obtain possible occlusion area;
S5: for the each described possible occlusion area obtaining, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, described in other, scanning optical path is not processed, and obtaining a width has touch objects to have the scanning optical path image in situation;
S6: have touch objects to exist the described scanning optical path image in situation to carry out denoising, level and smooth, extraction operation to described, obtain positional information and the size information of touch point.
The touch identification method of described a kind of infrared touch panel, further comprises the steps: in described step S5
S511, for the each described possible occlusion area obtaining, travel through each pixel, statistics, through the light path number of each described pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
S512, for blocking light path described in every, this described light path number of blocking the described pixel that light path passes through is subtracted to 1;
S513, obtain the remaining scanning optical path number Ai through each described pixel, all pixels of Ai=0 are the region not being blocked in described possible occlusion area, and all pixels of Ai ≠ 0 are the region, touch point in described possible occlusion area.
The touch identification method of described infrared touch panel, further comprises the steps: in described step S5
S521, for the each described possible occlusion area obtaining, travel through each pixel, statistics, through the light path number of each pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
S522, for each described pixel, from the light path number of this pixel, deduct the number through blocking light path described in this pixel;
S523, for each described pixel, if the remaining scanning optical path number of this pixel is 0, this pixel is the pixel in region of not being blocked in described possible occlusion area, if the remaining scanning optical path number of this pixel is not 0, this pixel is the pixel of occlusion area in described possible occlusion area.
The touch identification method of described infrared touch panel, adopts linear grating algorithm to determine which pixel described scanning optical path passes through in described possible occlusion area.
The touch identification method of described infrared touch panel, also comprises the step of occlusion area possible described in polymerization in described step S4, concrete grammar is:
Article one, while blocking light path simultaneously by least described two longitudinal occlusion areas, for each described longitudinal occlusion area, relatively this longitudinal occlusion area and same block described in other that light path passes through the longitudinally distance of occlusion area, if the described distance of described longitudinal occlusion area is less than default longitudinal threshold value, be polymerized to same described longitudinal occlusion area;
Article one, while blocking light path simultaneously by least described two horizontal occlusion areas, for each described horizontal occlusion area, relatively this horizontal occlusion area and same block described in other that light path passes through the laterally distance of occlusion area, if the described distance of described horizontal occlusion area is less than default horizontal threshold value, be polymerized to same described horizontal occlusion area.
The touch identification method of described infrared touch panel, in described step S4, further comprise for each zone of convergency, if block line and also pass through other at least one zone of convergency, the step that this zone of convergency is removed through all vertical and horizontal of this zone of convergency simultaneously.
A touch recognition system for infrared touch panel, comprises
Initial light path image forming module, gathers all scanning optical paths in no touch situation, forms initial index path picture;
Scanning optical path acquisition module, gathers the scan-data while touch;
Border acquisition module, according to collect touch time described scan-data, deflection axis light path or obtain horizontal boundary information and the longitudinal boundary information of each touch point from axial light path; The border, upper end that described horizontal boundary information is each touch point and border, lower end, the left end border that described longitudinal boundary information is each touch point and right-hand member border; Border, described upper end and the described lower end border corresponding with it form horizontal occlusion area, and described left end border and the described right-hand member border corresponding with it form longitudinal occlusion area;
Possible occlusion area acquisition module, according to described horizontal occlusion area and described longitudinal occlusion area, obtains possible occlusion area;
Touch light path image collection module, for the each described possible occlusion area obtaining, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, described in other, scanning optical path is not processed, and obtaining a width has touch objects to have the scanning optical path image in situation;
Touch point acquisition module, has touch objects to exist the described scanning optical path image in situation to carry out denoising, level and smooth, extraction operation to described, obtains positional information and the size information of touch point.
The touch recognition system of described a kind of infrared touch panel, described possible occlusion area acquisition module further comprises:
The light path statistics submodule of the first single pixel, for the each described possible occlusion area obtaining, travels through each pixel, and statistics, through the light path number of each described pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
First processes and blocks light path by the submodule of pixel, for blocking light path described in every, this described light path number of blocking the described pixel that light path passes through is subtracted to 1;
First obtains the submodule of possible occlusion area, obtain the remaining scanning optical path number Ai through each described pixel, all pixels of Ai=0 are the region not being blocked in described possible occlusion area, and all pixels of Ai ≠ 0 are the region, touch point in described possible occlusion area.
The touch recognition system of described infrared touch panel, described touch light path image collection module further comprises the steps:
The light path statistics submodule of the second single pixel, for the each described possible occlusion area obtaining, travels through each pixel, and statistics, through the light path number of each pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
The second processing is blocked light path by the submodule of pixel, for each described pixel, from the light path number of this pixel, deducts the number through blocking light path described in this pixel;
Second obtains the submodule of possible occlusion area, for each described pixel, if the remaining scanning optical path number of this pixel is 0, this pixel is the pixel in region of not being blocked in described possible occlusion area, if the remaining scanning optical path number of this pixel is not 0, this pixel is the pixel of occlusion area in described possible occlusion area.
The touch recognition system of described infrared touch panel, adopts linear grating algorithm to determine which pixel described scanning optical path passes through in described possible occlusion area.
The touch recognition system of described infrared touch panel, described possible occlusion area acquisition module also further comprises possible occlusion area polymerization module, possible occlusion area polymerization module comprises:
Longitudinally occlusion area polymerization submodule, article one, while blocking light path simultaneously by least described two longitudinal occlusion areas, for each described longitudinal occlusion area, relatively this longitudinal occlusion area and same block described in other that light path passes through the longitudinally distance of occlusion area, if the described distance of described longitudinal occlusion area is less than default longitudinal threshold value, be polymerized to same described longitudinal occlusion area;
Laterally occlusion area polymerization submodule, article one, while blocking light path simultaneously by least described two horizontal occlusion areas, for each described horizontal occlusion area, relatively this horizontal occlusion area and same block described in other that light path passes through the laterally distance of occlusion area, if the described distance of described horizontal occlusion area is less than default horizontal threshold value, be polymerized to same described horizontal occlusion area.
The touch recognition system of described infrared touch panel, described possible occlusion area acquisition module, further comprise pseudo-zone of convergency removal submodule, for each zone of convergency, if block line and also pass through other at least one zone of convergency through all vertical and horizontal of this zone of convergency, this zone of convergency is removed simultaneously.
Technique scheme of the present invention has the following advantages compared to existing technology:
(1) the invention provides a kind of touch identification method for infrared touch panel and system, the method comprises the steps: to gather all scanning optical paths in no touch situation, forms initial index path picture; According to the scan-data collecting, obtain horizontal boundary information and the longitudinal boundary information of each touch point; Obtain horizontal boundary information and the longitudinal boundary information of each touch point, obtain the possible position area information of each touch point; For each described possible position region, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, obtain a width have touch objects exist situation under scanning optical path image; Scanning optical path image in the described situation that has touch objects existence is carried out to denoising, level and smooth, touch objects profile extraction operation, obtain positional information and the size information of touch point.First said method finds the possible occlusion area of each touch point in whole infrared touch panel, from described initial index path picture, thereby the described scanning optical path being blocked in each described possible occlusion area is processed and obtained touch point, this method has greatly reduced the light path number of processing, do not need whole initial index path to look like to process, improve processing speed, effectively avoid the scanning based on to each light path or pixel in prior art, need to process to obtain touch point to each light path or pixel, thereby affect processing speed, the problem that processing speed is slow.
(2) a kind of touch identification method for infrared touch panel of the present invention, for the possible band of position, touch point, only processes the light path of blocking through this region, greatly reduces the light path number of processing, has improved the further recognition speed that improved.
(3) a kind of touch identification method for infrared touch panel of the present invention, can the possible occlusion area of polymerization, at least two occlusion areas are polymerized to same region, obtain the zone of convergency, in the time that touch point is more, after the possible occlusion area of polymerization, for the zone of convergency, from described initial index path picture, the described scanning optical path being blocked in each described zone of convergency is processed, greatly reduced the region number of processing, further improved recognition speed.
(4) a kind of touch identification method for infrared touch panel of the present invention, if the line that blocks through a zone of convergency also passes through at least one other zone of convergency simultaneously, this zone of convergency is removed, further reduce the number of regions of processing, improved recognition speed.
Brief description of the drawings
For content of the present invention is more likely to be clearly understood, below in conjunction with accompanying drawing, the present invention is further detailed explanation, wherein,
Fig. 1 is a kind of recognition methods process flow diagram for infrared touch panel of the present invention;
Fig. 2 of the present inventionly carries out phase crosslinking polymerization by level and vertical direction, obtains four zone of convergency schematic diagram;
Also pass through at least one other zone of convergency if Fig. 3 is the line that blocks through a zone of convergency of the present invention simultaneously, illustrate so in this zone of convergency and do not have touch point, the schematic diagram after this zone of convergency is removed;
Fig. 4 is that in Fig. 1 of the present invention, the design sketch blocking after line is removed in a region in the lower right corner.
Embodiment
Embodiment 1:
A kind of recognition methods for infrared touch panel of the present embodiment, as shown in Figure 1, concrete enforcement comprises following step to its process flow diagram:
S1: gather all scanning optical paths in no touch situation, form initial index path picture.Concrete steps are as follows:
S11: generation one width becomes the background image of preset ratio with touch-screen size, the color of described background image is single look.As shown in Figure 2, the color of described background image is set to black.
The size of described touch-screen and the size of described background image can be arbitrary proportions, set according to concrete applied environment by user, in the present embodiment, described preset ratio is 1:1, and the coordinate of light path on described touch-screen and the respective coordinates of light path in background image are without conversion like this.
As other embodiment, the color of described background image can be set to other color, for example, and grey.
S12: gather all scanning optical paths in no touch situation, and all scanning optical paths are plotted on described background image, form initial index path picture, the color of described scanning optical path is different from the color of described background image.In this enforcement, as shown in Figure 2, the color of described scanning optical path is set to white.
As other embodiments, generate described initial index path as time, the not real index path picture that generates, but simulate initial index path picture with the primary data structure with two-dimensional matrix alignment properties, element in described primary data structure is equivalent to the pixel in described initial index path picture, is the first setting numerical value by all elements value initialization in described primary data structure.The data structure of described two-dimensional matrix alignment properties can be two-dimensional array, bivector or two-dimensional matrix etc.
As other embodiment, the color of described scanning optical path can be set to other color different from background image color, for example, dark brown.
S2: gather the scan-data while touch.
S3: according to collect touch time described scan-data, deflection axis light path or obtain horizontal boundary information and the longitudinal boundary information of each touch point from axial light path; The border, upper end that described horizontal boundary information is each touch point and border, lower end, the left end border that described longitudinal boundary information is each touch point and right-hand member border; Border, described upper end and the described lower end border corresponding with it form horizontal occlusion area, and described left end border and the described right-hand member border corresponding with it form longitudinal occlusion area.
S4: according to described horizontal occlusion area and described longitudinal occlusion area, obtain possible occlusion area.
According to the scan-data collecting, obtain the circumstance of occlusion of light path, utilize deflection axis light path or obtain horizontal boundary information and the longitudinal boundary information of each touch point from axial light path, as horizontal direction obtains m horizontal boundary information, vertical direction obtains n longitudinal boundary information, obtains common m*n possible position region.Shown in Figure 2, in figure, only show real touch point, as horizontal direction obtains 10 horizontal boundary information, vertical direction obtains 10 longitudinal boundary information, can obtain 100 possible bands of position.
S5: for the each described possible occlusion area obtaining, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, described in other, scanning optical path is not processed, and obtaining a width has touch objects to have the scanning optical path image in situation.
Specifically obtaining a width has touch objects to exist the step of the scanning optical path image in situation as follows:
S511, for the each described possible occlusion area obtaining, travel through each pixel, statistics, through the light path number of each described pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel; In the present embodiment, adopt linear grating algorithm (for example Bresenham algorithm) to determine which pixel described scanning optical path passes through in described possible occlusion area;
S512, for blocking light path described in every, this described light path number of blocking the described pixel that light path passes through is subtracted to 1;
S513, obtain the remaining scanning optical path number A through each described pixel i, A iall pixels of=0 are the region not being blocked in described possible occlusion area, A iall pixels of ≠ 0 are the region, touch point in described possible occlusion area.
Preferably, by A ithe color settings of=0 pixel is the color different from described initial index path picture, in the present embodiment, by A ithe color settings of=0 pixel is black.As shown in Figure 4, for the lower right corner in Fig. 2 region is removed and is blocked line design sketch after treatment.
In described scanning optical path image, not blocking light path is that first in described primary data structure set numerical value, blocks light path and changes to the setting of second in described primary data structure numerical value.
S6: have touch objects to exist the described scanning optical path image in situation to carry out denoising, level and smooth, extraction operation to described, obtain positional information and the size information of touch point.
The invention provides a kind of touch identification method for infrared touch panel, the method comprises the steps: to generate a width and becomes with touch-screen size the background image of preset ratio; Gather all scanning optical paths in no touch situation, form initial index path picture; According to the scan-data collecting, obtain horizontal boundary information and the longitudinal boundary information of each touch point; Obtain horizontal boundary information and the longitudinal boundary information of each touch point, obtain the possible position area information of each touch point; For each described possible position region, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, obtain a width have touch objects exist situation under scanning optical path image; Scanning optical path image in the described situation that has touch objects existence is carried out to denoising, level and smooth, touch objects profile extraction operation, obtain positional information and the size information of touch point.First said method finds the possible occlusion area of each touch point in whole infrared touch panel, from described initial index path picture, thereby the described scanning optical path being blocked in each described possible occlusion area is processed and obtained touch point, this method has greatly reduced the light path number of processing, do not need whole initial index path to look like to process, improve processing speed, effectively avoid the scanning based on to each light path or pixel in prior art, need to process to obtain touch point to each light path or pixel, thereby affect processing speed, the problem that processing speed is slow.
A kind of touch identification method for infrared touch panel of the present invention, for the possible band of position, touch point, only processes the light path of blocking through this region, greatly reduces the light path number of processing, has improved the further recognition speed that improved.
Embodiment 2:
In the present embodiment, different from above-described embodiment 1 is, step S6 described in the present embodiment is for the each described possible occlusion area obtaining, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, described in other, scanning optical path is not processed, particularly, obtaining a width has touch objects to exist the step of the scanning optical path image in situation as follows:
S521, for the each described possible occlusion area obtaining, travel through each pixel, statistics, through the light path number of each pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel; In the present embodiment, adopt linear grating algorithm to determine which pixel described scanning optical path passes through in described possible occlusion area.
S522, for each described pixel, from the light path number of this pixel, deduct the number through blocking light path described in this pixel;
S523, for each described pixel, if the remaining scanning optical path number of this pixel is 0, this pixel is the pixel in region of not being blocked in described possible occlusion area, if the remaining scanning optical path number of this pixel is not 0, this pixel is the pixel of occlusion area in described possible occlusion area.The color of the pixel that is preferably, 0 by remaining scanning optical path number is arranged to the color different from described initial index path picture.
Embodiment 3:
The present embodiment, on the basis of above-described embodiment, also comprises the step of occlusion area possible described in polymerization in described step S4, concrete grammar is:
Article one, while blocking light path simultaneously by least described two longitudinal occlusion areas, for each described longitudinal occlusion area, relatively this longitudinal occlusion area and same block described in other that light path passes through the longitudinally distance of occlusion area, if the described distance of described longitudinal occlusion area is less than default longitudinal threshold value, be polymerized to same described longitudinal occlusion area;
Article one, while blocking light path simultaneously by least described two horizontal occlusion areas, for each described horizontal occlusion area, relatively this horizontal occlusion area and same block described in other that light path passes through the laterally distance of occlusion area, if the described distance of described horizontal occlusion area is less than default horizontal threshold value, be polymerized to same described horizontal occlusion area.
Referring to Fig. 2, at above-described embodiment 1, in 2 steps, S4 needs respectively these 100 regions to be processed, for compared with the situation of multiple touch points, the possible position region obtaining is more, and pass through in the situation in multiple possible positions region for the same light path that is blocked simultaneously, this blocks light path to need re-treatment, therefore computing more complicated, for further simplified operation, raising speed, by setting horizontal threshold value and longitudinal threshold value, for lateral separation and the fore-and-aft distance of occlusion area, if the lateral separation of occlusion area be less than horizontal threshold value and, the fore-and-aft distance of occlusion area is less than longitudinal threshold value, by synthetic these a two occlusion areas region, think a zone of convergency, otherwise, belong to two regions.Can obtain little zone of convergency through the phase crosslinking polymerization of level and vertical direction like this, for example, if level and vertical direction be the occlusion area after each remaining two merging after merging, so level and vertical direction are carried out to phase crosslinking polymerization, to obtain four zones of convergency, all touch points are only arranged in this four regions, and then step S5 and later operation are carried out in these four zones of convergency.
A kind of touch identification method for infrared touch panel of the present invention, can the possible occlusion area of polymerization, at least two occlusion areas are polymerized to same region, obtain the zone of convergency, in the time that touch point is more, after the possible occlusion area of polymerization, for the zone of convergency, from described initial index path picture, the described scanning optical path being blocked in each described zone of convergency is processed, greatly reduced the region number of processing, further improved recognition speed.
Embodiment 4:
The present embodiment is on the basis of above-described embodiment, in described step S4, further comprise for each zone of convergency, if block line and also pass through other at least one zone of convergency, the step that this zone of convergency is removed through all vertical and horizontal of this zone of convergency simultaneously.
On the basis, the zone of convergency of above-described embodiment 3, if also pass through at least one other zone of convergency simultaneously through the line that blocks of a zone of convergency, this zone of convergency is removed.In order further to improve processing speed, for each zone of convergency, if through only this zone of convergency of process of existence in line of blocking of a zone of convergency, and without other zones of convergency, this carries out the later operation of step S6 in embodiment 1 to this zone of convergency so; If the line that blocks through a zone of convergency also passes through at least one other zone of convergency simultaneously, illustrate so and in this zone of convergency, do not have touch point, this zone of convergency is removed, as shown in Figure 3, two that only need to go out figure center wire frame exist the region of true touch point to process, in the time that the zone of convergency is processed, greatly improve the speed of identification like this.
A kind of touch identification method for infrared touch panel of the present invention, if the line that blocks through a zone of convergency also passes through at least one other zone of convergency simultaneously, this zone of convergency is removed, further reduce the number of regions of processing, improved recognition speed.
Embodiment 5:
A touch recognition system for infrared touch panel, comprises
Initial light path image forming module, gathers all scanning optical paths in no touch situation, forms initial index path picture;
Scanning optical path acquisition module, gathers the scan-data while touch;
Border acquisition module, according to collect touch time described scan-data, deflection axis light path or obtain horizontal boundary information and the longitudinal boundary information of each touch point from axial light path; The border, upper end that described horizontal boundary information is each touch point and border, lower end, the left end border that described longitudinal boundary information is each touch point and right-hand member border; Border, described upper end and the described lower end border corresponding with it form horizontal occlusion area, and described left end border and the described right-hand member border corresponding with it form longitudinal occlusion area;
Possible occlusion area acquisition module, according to described horizontal occlusion area and described longitudinal occlusion area, obtains possible occlusion area;
Touch light path image collection module, for the each described possible occlusion area obtaining, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, described in other, scanning optical path is not processed, and obtaining a width has touch objects to have the scanning optical path image in situation;
Touch point acquisition module, has touch objects to exist the described scanning optical path image in situation to carry out denoising, level and smooth, extraction operation to described, obtains positional information and the size information of touch point.
The touch recognition system of described a kind of infrared touch panel, described possible occlusion area acquisition module further comprises:
The light path statistics submodule of the first single pixel, for the each described possible occlusion area obtaining, travels through each pixel, and statistics, through the light path number of each described pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
First processes and blocks light path by the submodule of pixel, for blocking light path described in every, this described light path number of blocking the described pixel that light path passes through is subtracted to 1;
First obtains the submodule of possible occlusion area, obtain the remaining scanning optical path number Ai through each described pixel, all pixels of Ai=0 are the region not being blocked in described possible occlusion area, and all pixels of Ai ≠ 0 are the region, touch point in described possible occlusion area.
The touch recognition system of described infrared touch panel, described touch light path image collection module further comprises the steps:
The light path statistics submodule of the second single pixel, for the each described possible occlusion area obtaining, travels through each pixel, and statistics, through the light path number of each pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
The second processing is blocked light path by the submodule of pixel, for each described pixel, from the light path number of this pixel, deducts the number through blocking light path described in this pixel;
Second obtains the submodule of possible occlusion area, for each described pixel, if the remaining scanning optical path number of this pixel is 0, this pixel is the pixel in region of not being blocked in described possible occlusion area, if the remaining scanning optical path number of this pixel is not 0, this pixel is the pixel of occlusion area in described possible occlusion area.
The touch recognition system of described infrared touch panel, adopts linear grating algorithm to determine which pixel described scanning optical path passes through in described possible occlusion area.
The touch recognition system of described infrared touch panel, described possible occlusion area acquisition module also further comprises possible occlusion area polymerization module, possible occlusion area polymerization module comprises:
Longitudinally occlusion area polymerization submodule, article one, while blocking light path simultaneously by least described two longitudinal occlusion areas, for each described longitudinal occlusion area, relatively this longitudinal occlusion area and same block described in other that light path passes through the longitudinally distance of occlusion area, if the described distance of described longitudinal occlusion area is less than default longitudinal threshold value, be polymerized to same described longitudinal occlusion area;
Laterally occlusion area polymerization submodule, article one, while blocking light path simultaneously by least described two horizontal occlusion areas, for each described horizontal occlusion area, relatively this horizontal occlusion area and same block described in other that light path passes through the laterally distance of occlusion area, if the described distance of described horizontal occlusion area is less than default horizontal threshold value, be polymerized to same described horizontal occlusion area.
The touch recognition system of described infrared touch panel, described possible occlusion area acquisition module, further comprise pseudo-zone of convergency removal submodule, for each zone of convergency, if block line and also pass through other at least one zone of convergency through all vertical and horizontal of this zone of convergency, this zone of convergency is removed simultaneously.
Obviously, above-described embodiment is only for example is clearly described, and the not restriction to embodiment.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here without also giving exhaustive to all embodiments.And the apparent variation of being extended out thus or variation are still among the protection domain in the invention.

Claims (12)

1. a touch identification method for infrared touch panel, is characterized in that: comprises the following steps,
S1: gather all scanning optical paths in no touch situation, form initial index path picture;
S2: gather the scan-data while touch;
S3: according to collect touch time described scan-data, deflection axis light path or obtain horizontal boundary information and the longitudinal boundary information of each touch point from axial light path; The border, upper end that described horizontal boundary information is each touch point and border, lower end, the left end border that described longitudinal boundary information is each touch point and right-hand member border; Border, described upper end and the described lower end border corresponding with it form horizontal occlusion area, and described left end border and the described right-hand member border corresponding with it form longitudinal occlusion area;
S4: according to described horizontal occlusion area and described longitudinal occlusion area, obtain possible occlusion area;
S5: for the each described possible occlusion area obtaining, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, described in other, scanning optical path is not processed, and obtaining a width has touch objects to have the scanning optical path image in situation;
S6: have touch objects to exist the described scanning optical path image in situation to carry out denoising, level and smooth, extraction operation to described, obtain positional information and the size information of touch point.
2. a kind of touch identification method of infrared touch panel according to claim 1, is characterized in that: in described step S5, further comprise the steps:
S511, for the each described possible occlusion area obtaining, travel through each pixel, statistics, through the light path number of each described pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
S512, for blocking light path described in every, this described light path number of blocking the described pixel that light path passes through is subtracted to 1;
S513, obtain the remaining scanning optical path number Ai through each described pixel, all pixels of Ai=0 are the region not being blocked in described possible occlusion area, and all pixels of Ai ≠ 0 are the region, touch point in described possible occlusion area.
3. the touch identification method of infrared touch panel according to claim 1, is characterized in that: in described step S5, further comprise the steps:
S521, for the each described possible occlusion area obtaining, travel through each pixel, statistics, through the light path number of each pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
S522, for each described pixel, from the light path number of this pixel, deduct the number through blocking light path described in this pixel;
S523, for each described pixel, if the remaining scanning optical path number of this pixel is 0, this pixel is the pixel in region of not being blocked in described possible occlusion area, if the remaining scanning optical path number of this pixel is not 0, this pixel is the pixel of occlusion area in described possible occlusion area.
4. according to the touch identification method of the infrared touch panel described in claim 2 or 3, it is characterized in that: adopt linear grating algorithm to determine which pixel described scanning optical path passes through in described possible occlusion area.
5. according to the touch identification method of the arbitrary described infrared touch panel of claim 1-4, it is characterized in that: in described step S4, also comprise the step of occlusion area possible described in polymerization, concrete grammar is:
Article one, while blocking light path simultaneously by least described two longitudinal occlusion areas, for each described longitudinal occlusion area, relatively this longitudinal occlusion area and same block described in other that light path passes through the longitudinally distance of occlusion area, if the described distance of described longitudinal occlusion area is less than default longitudinal threshold value, be polymerized to same described longitudinal occlusion area;
Article one, while blocking light path simultaneously by least described two horizontal occlusion areas, for each described horizontal occlusion area, relatively this horizontal occlusion area and same block described in other that light path passes through the laterally distance of occlusion area, if the described distance of described horizontal occlusion area is less than default horizontal threshold value, be polymerized to same described horizontal occlusion area.
6. the touch identification method of infrared touch panel according to claim 5, it is characterized in that: in described step S4, further comprise for each zone of convergency, if block line and also pass through other at least one zone of convergency through all vertical and horizontal of this zone of convergency, the step that this zone of convergency is removed simultaneously.
7. a touch recognition system for infrared touch panel, is characterized in that: comprise
Initial light path image forming module, gathers all scanning optical paths in no touch situation, forms initial index path picture;
Scanning optical path acquisition module, gathers the scan-data while touch;
Border acquisition module, according to collect touch time described scan-data, deflection axis light path or obtain horizontal boundary information and the longitudinal boundary information of each touch point from axial light path; The border, upper end that described horizontal boundary information is each touch point and border, lower end, the left end border that described longitudinal boundary information is each touch point and right-hand member border; Border, described upper end and the described lower end border corresponding with it form horizontal occlusion area, and described left end border and the described right-hand member border corresponding with it form longitudinal occlusion area;
Possible occlusion area acquisition module, according to described horizontal occlusion area and described longitudinal occlusion area, obtains possible occlusion area;
Touch light path image collection module, for the each described possible occlusion area obtaining, from described initial index path picture, the described scanning optical path being blocked in each described possible occlusion area is processed, described in other, scanning optical path is not processed, and obtaining a width has touch objects to have the scanning optical path image in situation;
Touch point acquisition module, has touch objects to exist the described scanning optical path image in situation to carry out denoising, level and smooth, extraction operation to described, obtains positional information and the size information of touch point.
8. a kind of touch recognition system of infrared touch panel according to claim 7, is characterized in that: described possible occlusion area acquisition module further comprises:
The light path statistics submodule of the first single pixel, for the each described possible occlusion area obtaining, travels through each pixel, and statistics, through the light path number of each described pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
First processes and blocks light path by the submodule of pixel, for blocking light path described in every, this described light path number of blocking the described pixel that light path passes through is subtracted to 1;
First obtains the submodule of possible occlusion area, obtain the remaining scanning optical path number Ai through each described pixel, all pixels of Ai=0 are the region not being blocked in described possible occlusion area, and all pixels of Ai ≠ 0 are the region, touch point in described possible occlusion area.
9. the touch recognition system of infrared touch panel according to claim 7, is characterized in that: described touch light path image collection module further comprises the steps:
The light path statistics submodule of the second single pixel, for the each described possible occlusion area obtaining, travels through each pixel, and statistics, through the light path number of each pixel, comprises and blocks light path and do not block light path through the described light path of each described pixel;
The second processing is blocked light path by the submodule of pixel, for each described pixel, from the light path number of this pixel, deducts the number through blocking light path described in this pixel;
Second obtains the submodule of possible occlusion area, for each described pixel, if the remaining scanning optical path number of this pixel is 0, this pixel is the pixel in region of not being blocked in described possible occlusion area, if the remaining scanning optical path number of this pixel is not 0, this pixel is the pixel of occlusion area in described possible occlusion area.
10. the touch recognition system of infrared touch panel according to claim 8 or claim 9, is characterized in that: adopt linear grating algorithm determine described scanning optical path in described possible occlusion area by which pixel.
11. according to the touch recognition system of the arbitrary described infrared touch panel of claim 7-10, it is characterized in that: described possible occlusion area acquisition module also further comprises possible occlusion area polymerization module, and possible occlusion area polymerization module comprises:
Longitudinally occlusion area polymerization submodule, article one, while blocking light path simultaneously by least described two longitudinal occlusion areas, for each described longitudinal occlusion area, relatively this longitudinal occlusion area and same block described in other that light path passes through the longitudinally distance of occlusion area, if the described distance of described longitudinal occlusion area is less than default longitudinal threshold value, be polymerized to same described longitudinal occlusion area;
Laterally occlusion area polymerization submodule, article one, while blocking light path simultaneously by least described two horizontal occlusion areas, for each described horizontal occlusion area, relatively this horizontal occlusion area and same block described in other that light path passes through the laterally distance of occlusion area, if the described distance of described horizontal occlusion area is less than default horizontal threshold value, be polymerized to same described horizontal occlusion area.
The touch recognition system of 12. infrared touch panels according to claim 11, it is characterized in that: described possible occlusion area acquisition module, further comprise pseudo-zone of convergency removal submodule, for each zone of convergency, if block line and also pass through other at least one zone of convergency through all vertical and horizontal of this zone of convergency, this zone of convergency is removed simultaneously.
CN201310156805.0A 2013-04-28 2013-04-28 A kind of touch identification method and system of infrared touch panel Active CN104123044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310156805.0A CN104123044B (en) 2013-04-28 2013-04-28 A kind of touch identification method and system of infrared touch panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310156805.0A CN104123044B (en) 2013-04-28 2013-04-28 A kind of touch identification method and system of infrared touch panel

Publications (2)

Publication Number Publication Date
CN104123044A true CN104123044A (en) 2014-10-29
CN104123044B CN104123044B (en) 2017-03-29

Family

ID=51768476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310156805.0A Active CN104123044B (en) 2013-04-28 2013-04-28 A kind of touch identification method and system of infrared touch panel

Country Status (1)

Country Link
CN (1) CN104123044B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775091A (en) * 2016-12-21 2017-05-31 北京汇冠触摸技术有限公司 A kind of analog analysing method of infrared touch panel positioning precision

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320307B (en) * 2007-06-04 2011-08-10 北京汇冠新技术股份有限公司 Method for recognizing multiple touch points on infrared touch screen
CN101075168B (en) * 2007-06-22 2014-04-02 北京汇冠新技术股份有限公司 Method for discriminating multiple points on infrared touch screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775091A (en) * 2016-12-21 2017-05-31 北京汇冠触摸技术有限公司 A kind of analog analysing method of infrared touch panel positioning precision

Also Published As

Publication number Publication date
CN104123044B (en) 2017-03-29

Similar Documents

Publication Publication Date Title
US10429991B2 (en) Method and apparatus for determining mistaken approaching or touching event
CN102419663B (en) A kind of infrared touch screen multi-point recognition method and system
US20170269729A1 (en) Moisture management
KR20140008292A (en) Method for detecting an arbitrary number of touches from a multi-touch device
CN103902105B (en) Touch recognition method and touch recognition system for infrared touch screen
TWI480787B (en) Method for improving linearity of touch system coordinates
CN104331193A (en) Infrared precise multi-point touch platform
US20130265258A1 (en) Method for identifying touch on a touch screen
US9977546B2 (en) Determining finger separation through groove analysis in a touch screen device
CN103399674A (en) Method and device of multi-point touch detection
CN102419664B (en) Multi-point identification method and system of infrared touch screen
CN105373267A (en) Multi-point identification method and device of infrared touch screen and infrared touch screen
US20150035779A1 (en) Gesture recognition method, apparatus and device, computer program product therefor
CN105005991B (en) A kind of method for calculating atom barycenter displacement in high resolution scanning transmission image in batches
CN104123044A (en) Touch identification method and system for infrared touch screen
US20160283019A1 (en) Electronic device, touch component and method for configuring the same
KR101967858B1 (en) Apparatus and method for separating objects based on 3D depth image
US10318785B2 (en) Creation of virtual intersection points on a touchscreen to permit static, non swiping fingerprint user authentication
CN107272970B (en) Capacitive side position extrapolation
CN107329634A (en) Touch event template detection multi-touch event is used in optical touch-sensitive device
CN102629170A (en) Shielding method of mobile disturbance points of touch screen
CN102253778B (en) Method for positioning capacitance sensor
US10551934B2 (en) Gesture recognition method, apparatus and device, computer program product therefor
CN101739177B (en) Three-dimensional interactive display and method for detecting three-dimensional coordinate thereof
KR101289883B1 (en) System and method for generating mask image applied in each threshold in region

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170418

Address after: 100000 Beijing, Haidian District, North East Road, No. 10, East Building, room No. 21, building No. 6, 101-602

Patentee after: Beijing Irtouch Systems Co.,Ltd.

Address before: 100015 Beijing Chaoyang District Jiuxianqiao East Road, building M8, block B, floor 4, layer 1

Patentee before: Beijing UNITOP New Technology Co., Ltd.