CN105373267B - A kind of infrared touch screen multi-point recognition method, device and infrared touch panel - Google Patents

A kind of infrared touch screen multi-point recognition method, device and infrared touch panel Download PDF

Info

Publication number
CN105373267B
CN105373267B CN201510929996.9A CN201510929996A CN105373267B CN 105373267 B CN105373267 B CN 105373267B CN 201510929996 A CN201510929996 A CN 201510929996A CN 105373267 B CN105373267 B CN 105373267B
Authority
CN
China
Prior art keywords
touch point
light
candidate
infrared
point
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
Application number
CN201510929996.9A
Other languages
Chinese (zh)
Other versions
CN105373267A (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.)
Guangzhou Hua Xin Electronic Science And Technology Co Ltd
Original Assignee
Guangzhou Hua Xin Electronic Science And 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 Guangzhou Hua Xin Electronic Science And Technology Co Ltd filed Critical Guangzhou Hua Xin Electronic Science And Technology Co Ltd
Priority to CN201510929996.9A priority Critical patent/CN105373267B/en
Publication of CN105373267A publication Critical patent/CN105373267A/en
Application granted granted Critical
Publication of CN105373267B publication Critical patent/CN105373267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a kind of infrared touch screen multi-point recognition methods, include the following steps:Generate current light net figure;Obtain candidate touch point;Each candidate touch point that privately owned light number is greater than or equal to preset first threshold is determined as true touch point, and updates the publicly-owned light number for the candidate touch point that other do not judge;The candidate touch point not judged is judged, each candidate touch point by publicly-owned light number less than preset second threshold is determined as non-genuine touch point, and updates the privately owned light number of the remaining candidate touch point not judged;Successively the remaining candidate touch point not judged is continued to judge according to above-mentioned two decision condition, until candidate touch point all judges.The present invention also provides a kind of infrared touch panel multiple spot identification device and infrared touch panels.The embodiment of the present invention rejects the terrible point in candidate touch point using the newer mode of iteration, and realization accurately identifies true touch point.

Description

A kind of infrared touch screen multi-point recognition method, device and infrared touch panel
Technical field
The present invention relates to touch screen field more particularly to a kind of infrared touch screen multi-point recognition method, device and infrared touch Touch screen.
Background technology
As a branch of computer touch screen, infrared touch panel low, easy for installation, high antiknock with its production cost The advantages that property, freedom from repairs and be widely used in every field.Infrared touch panel (Infrared Touch Screen Technology it) is made of the Infrared emitting and receiving sensing element on touch screen outline border, in screen surface, is formed Infra-red detection net, any touching object can be changed the infrared ray on contact and realize touch screen operation.
Currently, for the detection technique comparative maturity of single touch point on infrared touch panel, and for two or two A above touch point is but difficult rapidly and accurately to identify.Existing multiple spot identification technology touches point set generally by standard is carried out The calculating and positioning two big step of true touch point of (including true touch point and corresponding terrible point) are closed to realize determining for multiple touch points Position, wherein the calculating that standard touches point set is analyzed scan data, includes that terrible point is (non-real according to analysis data calculating Touch point) and true touch point including accurate touch point set;Positioning true touch point is to remove standard by certain method The terrible point in point set is touched, and then positions true touch point.The simple Crack cause for introducing ghost point:Work as infrared touch panel On there are when touch objects, in addition to touch area, other regions that the light that is blocked passes through also will appear " hole ", therefore, " hole " that other regions may also be constituted while constituting true touch point, so as to form terrible point, as shown in Figure 1, when depositing In two and more than two touch points, the abscissa of each true touch point can be with other all true touch points Ordinate constitutes a terrible point.
How to remove in quasi- touch point ghost point come position true touch point be in infrared touch panel identification process it is more crucial A step.Wherein, one of prior art:Logic judging method is the centre of form by using quasi- touch point boundary area defined Judge true touch point with boundary.When the distance between multiple touch points are larger, effect is preferable;But in multiple touch points The distance between it is smaller when, due to blocking mutually can lead to seek mistake, especially when touch point boundary mutually coincides, can make It is obtained at the mistake on touch point boundary, and then lead to touch point region seeks mistake, it is impossible to enough be accurately judged to really touch It touches a little.
Another common multi-point recognizing method is image treating, it is touched with accurate using the light information being blocked Relationship between point judges true touch point, as the Chinese patent of Patent No. 201210348040.6 proposes that a kind of removal is terrible The method of point:Search the light being blocked that only intersects with a quasi- touch point, it is determined that the light being blocked by standard Touch point is true touch point.Inventor is in implementing the present invention, it may, have found to remove in quasi- touch point using this method Ghost point can have the following problems:Influenced when by various disturbing factors, such as touching box fluorescent tube breaks down one, cause and this The problems such as relevant light path of fluorescent tube is not turned on or the accuracy of judgement in region is passed through to spend for light, is likely to result in actual touch Point is failed to judge or is misjudged.
Invention content
In view of the above-mentioned problems, the purpose of the present invention is to provide a kind of infrared touch screen multi-point recognition method, devices and red Outer touch screen can be realized and accurately identify true touch point, reject terrible point, meet requirement.
The embodiment of the present invention provides a kind of infrared touch screen multi-point recognition method, includes the following steps:
S11, the light information being blocked between infrared transmitting tube and infrared receiving tube is obtained, on the basis of bias light net figure It is upper to generate current light net figure;Wherein, the bias light net figure be infrared transmitting tube before touch-control based on the infrared touch panel and All light informations between infrared receiving tube and the gray-scale map generated;The gray value of each pixel of the gray-scale map is By the quantity of the light of the pixel;
S12, the pixel point set for being zero to gray value in the current light net figure carry out connected domain detection, every by what is detected One connected domain is as a candidate touch point;
S13, each candidate touch point that privately owned light number is greater than or equal to preset first threshold are judged to really touching Other the candidate touch points not judged touched a little, and successively passed through each publicly-owned light of each true touch point Publicly-owned light number does the operation that subtracts 1;Wherein, the privately owned light number of each candidate touch point is merely through the candidate touch point The quantity for the light being blocked;The publicly-owned light number of each candidate touch point be by the candidate touch point and other extremely The quantity for the light of a few candidate touch point being blocked;
S14, the candidate touch point not judged is judged, publicly-owned light number is each less than preset second threshold Candidate touch point is determined as non-genuine touch point, and finds out in the publicly-owned light of each non-genuine touch point merely through this The specific publicly-owned light of non-genuine touch point and another candidate touch point not judged, by each specific publicly-owned light The privately owned light number for the candidate touch point not judged passed through is done plus 1 operation;
S15, it returns to step S13 and continues to judge the candidate touch point not judged, candidate touched until described Point is all until judgement.
As the improvement of said program, the step S11 is specifically included:
Obtain the light information being blocked between the infrared transmitting tube and infrared receiving tube of the infrared touch panel after touch-control;
On the basis of the bias light net figure, the gray value for the pixel that the light that each is blocked is passed through is equal Subtract 1, obtains the current light net figure.
As the improvement of said program, the step S12 is specially:
The pixel point set for being zero to gray value in the current light net figure carries out connected domain detection, by the number comprising pixel Amount is more than each connected domain of preset third threshold value as a candidate touch point.
As the improvement of said program, before the step S12, further include:
S12 ', the current light net figure is filtered, to remove noise.
The embodiment of the present invention also provides a kind of infrared touch panel multiple spot identification device, including:
Current light net figure generation unit, for obtaining the light being blocked between infrared transmitting tube and infrared receiving tube letter Breath, current light net figure is generated on the basis of bias light net figure;Wherein, the bias light net figure is before touch-control based on described infrared All light informations between the infrared transmitting tube and infrared receiving tube of touch screen and the gray-scale map generated;The gray-scale map it is every The gray value of one pixel is the quantity by the light of the pixel;
Candidate touch point acquiring unit, for be zero to gray value in the current light net figure pixel point set be connected to Domain is detected, using each connected domain detected as a candidate touch point;
True touch point judging unit, each candidate for privately owned light number to be greater than or equal to preset first threshold Touch point is determined as true touch point, and each publicly-owned light of each true touch point is passed through successively other not The publicly-owned light number of the candidate touch point of judgement does the operation that subtracts 1;Wherein, the privately owned light number of each candidate touch point is only By the quantity for the light of the candidate touch point being blocked;The publicly-owned light number of each candidate touch point is by the time Select the quantity for the light of touch point and other at least one candidate touch points being blocked;
Non-genuine touch point judging unit is few by publicly-owned light number for judging the candidate touch point not judged It is determined as non-genuine touch point in each candidate touch point of preset second threshold, and finds out each non-genuine touch Point publicly-owned light in merely through the non-genuine touch point and another candidate touch point not judged specific publicly-owned light, The privately owned light number for the candidate touch point not judged that each specific publicly-owned light is passed through is done plus 1 operates;
Judging unit, for when judging that the candidate touch point is not determined all, indicating that the true touch point is sentenced Order member continues to judge to the candidate touch point not judged.
As the improvement of said program, the current light net figure generation unit specifically includes:
Acquisition of information subelement, between the infrared transmitting tube and infrared receiving tube for obtaining the infrared touch panel after touch-control The light information being blocked;
Current light net figure obtains subelement, the light on the basis of the bias light net figure, each to be blocked The gray value for the pixel that line is passed through subtracts 1, obtains the current light net figure.
As the improvement of said program, candidate touch point acquiring unit is specifically used for:
The pixel point set for being zero to gray value in the current light net figure carries out connected domain detection, by the number comprising pixel Amount is more than each connected domain of preset third threshold value as a candidate touch point.
As the improvement of said program, the infrared touch panel multiple spot identification device further includes:
Image processing unit, after being generated in the current light net figure, before detecting connected domain, to the current light Net figure is filtered, to remove noise.
The embodiment of the present invention also provides a kind of infrared touch panel, including touch screen and above-mentioned infrared touch panel multiple spot are known Other device.
Infrared touch screen multi-point recognition method, device and infrared touch panel provided in an embodiment of the present invention, have has as follows Beneficial effect:The privately owned light number of each candidate touch point and publicly-owned light are counted based on the light information being blocked got Number;First, each candidate touch point for privately owned light number being greater than or equal to preset first threshold is determined as true touch point, And update the publicly-owned light number for the candidate touch point that other do not judge;Then, the candidate touch point not judged is judged, it will Publicly-owned light number is determined as non-genuine touch point less than each candidate touch point of preset second threshold, and update it is remaining not The privately owned light number of the candidate touch point of judgement;Then, remaining do not judged to described successively according to above-mentioned two decision condition Candidate touch point continue to judge, until the candidate touch point all judges.The embodiment of the present invention uses iteration Newer mode rejects the terrible point in candidate touch point, and realization accurately identifies true touch point.
Description of the drawings
In order to illustrate more clearly of technical scheme of the present invention, attached drawing needed in embodiment will be made below Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is the schematic diagram of ghost point Crack cause provided in an embodiment of the present invention.
Fig. 2 is the flow diagram of one embodiment of infrared touch screen multi-point recognition method provided by the invention.
Fig. 3 is bias light net figure provided in an embodiment of the present invention.
Fig. 4 is the structural schematic diagram of one embodiment of infrared touch panel multiple spot identification device provided by the invention.
Fig. 5 is an implementation of the current light net figure generation unit of infrared touch panel multiple spot identification device provided by the invention The structural schematic diagram of example.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 2, being the flow signal of one embodiment of infrared touch screen multi-point recognition method provided by the invention Figure.
The present invention provides a kind of infrared touch screen multi-point recognition method, including step S11~S15, specific as follows:
S11 obtains the light information being blocked between infrared transmitting tube and infrared receiving tube, on the basis of bias light net figure It is upper to generate current light net figure.
Wherein, the bias light net figure is infrared transmitting tube and infrared receiving tube based on the infrared touch panel before touch-control Between all light informations and the gray-scale map that generates;The gray value of each pixel of the gray-scale map is by the pixel The quantity of the light of point.
Preferably, before the step S11, the bias light net figure is generated, also referring to Fig. 3, specially:
First, all light letter between the infrared transmitting tube and infrared receiving tube of the infrared touch panel before touch-control is obtained Breath;Wherein, the acquisition of all light informations can be to trigger infrared transmitting tube and corresponding one by one according to preset sequence At least one infrared receiving tube, and calculated according to the infrared receiver signal of corresponding at least one infrared receiving tube It arrives;Corresponding at least one infrared receiving tube is included at least and is connect with the infrared of infrared transmitting tube face currently triggered Closed tube, or further include adjacent with the infrared receiving tube of infrared transmitting tube face currently triggered or similar infrared receiver Pipe.
It should be noted that the mode of the acquisition of all light informations can also be known to the skilled person Other methods, these within protection scope of the present invention, are not limited herein.
Then, bias light net figure is generated, the gray value for the pixel that each light is passed through is accumulative to add 1;Wherein, institute The initial gray value for stating each pixel of bias light net figure is zero.
Each light between the infrared transmitting tube and infrared receiving tube of the infrared touch panel is expressed as the background The straight line of light net figure, will by each pixel straight line quantity as the gray value of the pixel, then each The gray value of pixel is all a determining numerical value, and the bias light net figure can be the figure that a secondary background is solid color Picture, it is preferred that the background color of image is black.
Then the step S11 is specifically included:
First, the light being blocked between the infrared transmitting tube and infrared receiving tube of the infrared touch panel after touch-control is obtained Information.
When on the infrared touch panel there are when touch objects, then each light blocked by touch area, corresponding Infrared receiving tube one end can show to receive the decaying of signal, therefore, can be by judging that the reception of each infrared receiving tube is believed Relationship number between intensity and a preset threshold value judges whether corresponding each light is blocked, that is to say, that works as reception When signal strength is more than the preset threshold value, then judge that corresponding light is not blocked;Described in being less than when received signal strength When preset threshold value, then judge that corresponding light is blocked;It, both can be with when received signal strength is equal to the preset threshold value Judge that corresponding light is not blocked, can also judge that corresponding light is blocked, these can be set according to the actual needs It sets, the present invention does not do specific restriction.
Then, on the basis of the bias light net figure, the ash for the pixel that the light that each is blocked is passed through Angle value subtracts 1, obtains the current light net figure.
Similarly, each between the infrared transmitting tube and infrared receiving tube of the infrared touch panel described is blocked Light is expressed as the straight line of the bias light net figure;The gray value for the pixel that straight line described in each passes through is subtracted 1, The current light net figure is obtained, and records the pixel that gray value reduces to zero.
It is understood that being according to the line correspondences in the infrared touch panel by the straight line of each pixel Moving towards for light is determining.Since some light may make it correspond to the bias light net due to blocking for touch objects Straight line on figure cannot pass through the pixel, therefore, not necessarily actually cut through the straight line of the pixel, as long as the line correspondences Light trend pass through the pixel.
S12, the pixel point set for being zero to gray value in the current light net figure carries out connected domain detection, every by what is detected One connected domain is as a candidate touch point.
In an embodiment of the invention, since the light for generating the bias light net figure is discrete, adjacent light It is had between line and is spaced certain white space, therefore, there are the pixels that gray value is zero in the bias light net figure, corresponding The pixel that initial gray value is zero in current light net figure;Or in the current light net figure, for being hidden by touch area Other regions that the light of gear passes through are there is also the pixel that gray value is reduced to zero, these pixels are noise, certain The judgement precision of touch point is influenced in degree.Thus, before the step S12, further include:
S12 ', the current light net figure is filtered, to remove noise.
Preferably, described be filtered can utilize etching operation, expansive working, open operation, closed operation and medium filtering At least one of algorithm algorithm;Wherein, the etching operation, expansive working, open operation, closed operation and median filtering algorithm etc. All it is as well known to those skilled in the art, this will not be repeated here by the present invention.
Preferably, connected domain detection can utilize image segmentation based on binary map, se ed filling algorithm, watershed At least one of method and region-growing method method;Wherein, the image segmentation based on binary map, se ed filling algorithm, point Water ridge method and region-growing method etc. are all as well known to those skilled in the art, and this will not be repeated here by the present invention.
In yet another embodiment of the present invention, it is preferred that the quantity comprising pixel is more than preset third threshold Each connected domain of value is as a candidate touch point;Wherein, the preset third threshold value can be the bias light net figure In the minimum grid that is formed of all ray intersection pixel that is included quantity, or for more than in the bias light net figure The a certain value of the quantity for the pixel that the minimum grid that all ray intersections are formed is included, these can be according to the actual needs It is configured, the present invention does not do specific restriction.
S13, each candidate touch point that privately owned light number is greater than or equal to preset first threshold are judged to really touching Other the candidate touch points not judged touched a little, and successively passed through each publicly-owned light of each true touch point Publicly-owned light number does the operation that subtracts 1.
Wherein, the privately owned light number of each candidate touch point is the light being blocked merely through the candidate touch point Quantity;The publicly-owned light number of each candidate touch point is to be touched by the candidate touch point and other at least one candidates Touch the quantity of the light being blocked a little.
It is understood that the privately owned light of each candidate touch point refers to the light blocked in the candidate touch point In line, merely through the candidate touch point without the particular light ray of other candidate touch points;Each candidate touch point Publicly-owned light refers in the light that the candidate touch point is blocked, by the candidate touch point and other at least one candidates The particular light ray of touch point;The light that each candidate touch point is blocked is by the privately owned light of the candidate touch point and publicly-owned Light forms.
Preferably, before the step S13, according to the infrared transmitting tube of the infrared touch panel and infrared receiving tube it Between the light information being blocked calculate the light information that each candidate touch point is blocked, specially:
First, using the light being blocked between the infrared transmitting tube of the infrared touch panel and infrared receiving tube as target Data set establishes index, and calculate each institute for the light that each candidate touch point is blocked with the candidate touch point State the sum for the light that candidate touch point is blocked.
Then, according to the index, the quantity for the light that each candidate touch point is individually blocked, the referred to as time are calculated Select the privately owned light number of touch point.
Finally, the sum for the light that each candidate touch point is blocked is subtracted to the privately owned light number of the candidate touch point Obtain the publicly-owned light number of the candidate touch point.
Preferably, the preset first threshold is 1.In theory, as long as there is a light merely through a certain time Select touch point, so that it may which, to judge the candidate touch point as true touch point, therefore, the preset first threshold is usually arranged as 1 but it is also possible to be the numerical value more than 1, these can be configured according to the actual needs, and the present invention does not do specific restriction.
In the specific implementation, it is preferred that will include pixel in the candidate touch point that obtained in the step S12 The most at least one candidate touch point of quantity is as the starting point for going pseudo-operation.The reason is that the quantity for including pixel Most at least one candidate touch points are exactly most possibly true touch point, and therefore, the described judgement at first includes pixel The most at least one candidate touch point of quantity, on the update of the light information of other candidate touch points not judged influence compared with Greatly, the entire efficiency for going pseudo-operation can be improved to a certain extent.
It is understood that when there are two or more publicly-owned light in the publicly-owned light of a certain true touch point Line passes through the same candidate touch point not judged, then the publicly-owned light number of the candidate touch point not judged, which is correspondingly done, subtracts 2 Or 2 or more numerical value operation.
S14 judges the candidate touch point not judged, and publicly-owned light number is each less than preset second threshold Candidate touch point is determined as non-genuine touch point, and finds out in the publicly-owned light of each non-genuine touch point merely through this The specific publicly-owned light of non-genuine touch point and another candidate touch point not judged, by each specific publicly-owned light The privately owned light number for the candidate touch point not judged passed through is done plus 1 operation.
Preferably, the preset second threshold is related with the minimum precision that touches of the infrared touch panel, may be set to Allow the quantity for the light that minimum touch objects may block be multiplied by one be less than 1 ratio value, these can be according to the actual needs It is configured, the present invention does not do specific restriction.
Similarly, when there are two or more specific shared light in the publicly-owned light of a certain non-genuine touch point Line extends only through the non-genuine touch point and another candidate touch point not judged, then the candidate touch point not judged Privately owned light number is correspondingly done plus the operation of 2 or 2 or more numerical value.
S15 returns to step S13 and continues to judge the candidate touch point not judged, until the candidate touch Point is all until judgement.
In specific implementation, it is preferred that above-mentioned infrared touch screen multi-point recognition method can be known by infrared touch panel multiple spot Other device executes.The privately owned light number and public affairs of each candidate touch point are counted based on the light information being blocked got There is light number;First, each candidate touch point that privately owned light number is greater than or equal to preset first threshold is determined as really Touch point, and update the publicly-owned light number for the candidate touch point that other do not judge;Then, the candidate touch point not judged is carried out Judgement, each candidate touch point by publicly-owned light number less than preset second threshold is determined as non-genuine touch point, and updates The privately owned light number of the remaining candidate touch point not judged;Then, according to above-mentioned two decision condition successively to described remaining The candidate touch point not judged continue to judge, until the candidate touch point all judges.The embodiment of the present invention Terrible point in candidate touch point is rejected using the newer mode of iteration, realization accurately identifies true touch point.
Correspondingly, the present invention also provides a kind of infrared touch panel multiple spot identification device, it can perform what above-described embodiment provided All flows of infrared touch screen multi-point recognition method.
Referring to Fig. 4, being the structural representation of one embodiment of infrared touch panel multiple spot identification device provided by the invention Figure.
The present invention provides a kind of infrared touch panel multiple spot identification device 40, including current light net figure generation unit 41, candidate Touch point acquiring unit 42, true touch point judging unit 43, non-genuine touch point judging unit 44 and judging unit 45, tool Body is as follows:
The current light net figure generation unit 41, for obtaining the light being blocked between infrared transmitting tube and infrared receiving tube Line information generates current light net figure on the basis of bias light net figure.
Wherein, the bias light net figure is infrared transmitting tube and infrared receiving tube based on the infrared touch panel before touch-control Between all light informations and the gray-scale map that generates;The gray value of each pixel of the gray-scale map is by the pixel The quantity of the light of point.
Candidate's touch point acquiring unit 42, for be zero to gray value in the current light net figure pixel point set into Row connected domain detects, using each connected domain detected as a candidate touch point.
The true touch point judging unit 43, for privately owned light number to be greater than or equal to the every of preset first threshold One candidate touch point is determined as true touch point, and successively passed through each publicly-owned light of each true touch point The publicly-owned light number of other candidate touch points not judged does the operation that subtracts 1.
Wherein, the privately owned light number of each candidate touch point is the light being blocked merely through the candidate touch point Quantity;The publicly-owned light number of each candidate touch point is to be touched by the candidate touch point and other at least one candidates Touch the quantity of the light being blocked a little.
The non-genuine touch point judging unit 44, for judging the candidate touch point not judged, by publicly-owned light Line number is determined as non-genuine touch point less than each candidate touch point of preset second threshold, and finds out each described non-real Merely through the specific public affairs of the non-genuine touch point and another candidate touch point not judged in the publicly-owned light of real touch point There is light, the privately owned light number for the candidate touch point not judged that each specific publicly-owned light is passed through is done plus 1 operates.
The judging unit 45, it is described true tactile for when judging that the candidate touch point is not determined all, indicating It touches a judging unit the candidate touch point not judged is continued to judge.
In the specific implementation, please refer to fig. 5, the current light net figure generation unit 41 specifically includes:
Acquisition of information subelement 411, infrared transmitting tube and infrared receiving tube for obtaining the infrared touch panel after touch-control Between the light information being blocked.
Current light net figure obtains subelement 412, on the basis of the bias light net figure, each to be blocked The gray value for the pixel that light is passed through subtracts 1, obtains the current light net figure.
In an embodiment of the invention, the infrared touch panel multiple spot identification device 40 further includes:
Image processing unit 46, after being generated in the current light net figure, before detecting connected domain, to described current Light net figure is filtered, to remove noise.
In yet another embodiment of the present invention, the candidate touch point acquiring unit 42 is specifically used for:
The pixel point set for being zero to gray value in the current light net figure carries out connected domain detection, by the number comprising pixel Amount is more than each connected domain of preset third threshold value as a candidate touch point.
It is understood that the work(of each functional unit of infrared touch panel multiple spot identification device 40 in the embodiment of the present invention It can be implemented according to the method in above method embodiment, specific implementation process is referred to above method embodiment Associated description, details are not described herein again.
In specific implementation, the privately owned of each candidate touch point is counted based on the light information being blocked got Light number and publicly-owned light number;First, privately owned light number is greater than or equal to preset by the true touch point judging unit 43 Each candidate touch point of first threshold is determined as true touch point, and updates the publicly-owned light for the candidate touch point that other do not judge Line number;Then, the non-genuine touch point judging unit 44 judges the candidate touch point not judged, by publicly-owned light number Each candidate touch point less than preset second threshold is determined as non-genuine touch point, and updates the remaining candidate not judged The privately owned light number of touch point;Then, when the judging unit 45 judges that the candidate touch point is not determined all, institute is indicated True touch point judging unit 43 and the non-genuine touch point judging unit 44 are stated successively to the remaining time not judged Touch point is selected to continue to judge, until the candidate touch point all judges.The embodiment of the present invention is updated using iteration Mode reject the terrible point in candidate touch point, realization accurately identifies true touch point.
In addition, the present invention also provides a kind of infrared touch panels.
The present invention provides a kind of infrared touch panel, including touch screen and above-mentioned infrared touch panel multiple spot identification device 40。
Infrared touch screen multi-point recognition method, device and infrared touch panel provided in an embodiment of the present invention, have has as follows Beneficial effect:The privately owned light number of each candidate touch point and publicly-owned light are counted based on the light information being blocked got Number;First, each candidate touch point for privately owned light number being greater than or equal to preset first threshold is determined as true touch point, And update the publicly-owned light number for the candidate touch point that other do not judge;Then, the candidate touch point not judged is judged, it will Publicly-owned light number is determined as non-genuine touch point less than each candidate touch point of preset second threshold, and update it is remaining not The privately owned light number of the candidate touch point of judgement;Then, remaining do not judged to described successively according to above-mentioned two decision condition Candidate touch point continue to judge, until the candidate touch point all judges.The embodiment of the present invention uses iteration Newer mode rejects the terrible point in candidate touch point, and realization accurately identifies true touch point.
It is above disclosed to be only a preferred embodiment of the present invention, the power of the present invention cannot be limited with this certainly Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and is weighed according to the present invention Equivalent variations made by profit requirement, still belong to the scope covered by the invention.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

Claims (9)

1. a kind of infrared touch screen multi-point recognition method, which is characterized in that include the following steps:
S11, the light information being blocked between infrared transmitting tube and infrared receiving tube is obtained, it is raw on the basis of bias light net figure At current light net figure;Wherein, the bias light net figure is infrared transmitting tube before touch-control based on the infrared touch panel and infrared All light informations between reception pipe and the gray-scale map generated;The gray value of each pixel of the gray-scale map is to pass through The quantity of the light of the pixel;
S12, the pixel point set for being zero to gray value in the current light net figure carry out connected domain detection, by each detected Connected domain is as a candidate touch point;
S13, each candidate touch point that privately owned light number is greater than or equal to preset first threshold are determined as true touch point, And other the candidate touch points not judged for successively being passed through each publicly-owned light of each true touch point is publicly-owned Light number does the operation that subtracts 1;Wherein, the privately owned light number of each candidate touch point is to be hidden merely through the candidate touch point The quantity of the light of gear;The publicly-owned light number of each candidate touch point be by the candidate touch point and other at least one The quantity for the light of a candidate touch point being blocked;
S14, the candidate touch point not judged is judged, publicly-owned light number is less than to each candidate of preset second threshold Touch point is determined as non-genuine touch point, and finds out non-real merely through this in the publicly-owned light of each non-genuine touch point The specific publicly-owned light of real touch point and another candidate touch point not judged is passed through each specific publicly-owned light The privately owned light number for the candidate touch point not judged crossed is done plus 1 operation;
S15, it returns to step S13 and continues to judge the candidate touch point not judged, until the candidate touch point is complete Until portion judges.
2. infrared touch screen multi-point recognition method as described in claim 1, which is characterized in that the step S11 is specifically included:
Obtain the light information being blocked between the infrared transmitting tube and infrared receiving tube of the infrared touch panel after touch-control;
On the basis of the bias light net figure, the gray value for the pixel that the light that each is blocked is passed through is subtracted 1, Obtain the current light net figure.
3. infrared touch screen multi-point recognition method as described in claim 1, which is characterized in that the step S12 is specially:
The pixel point set for being zero to gray value in the current light net figure carries out connected domain detection, and the quantity comprising pixel is big In preset third threshold value each connected domain as a candidate touch point.
4. infrared touch screen multi-point recognition method as described in any one of claims 1 to 3, which is characterized in that the step S12 Before, further include:
S12 ', the current light net figure is filtered, to remove noise.
5. a kind of infrared touch panel multiple spot identification device, which is characterized in that including:
Current light net figure generation unit, for obtaining the light information being blocked between infrared transmitting tube and infrared receiving tube, Current light net figure is generated on the basis of bias light net figure;Wherein, the bias light net figure is that the infrared touch is based on before touch-control All light informations between the infrared transmitting tube and infrared receiving tube of screen and the gray-scale map generated;Each of the gray-scale map The gray value of pixel is the quantity by the light of the pixel;
Candidate touch point acquiring unit, for the pixel point set progress connected domain inspection for being zero to gray value in the current light net figure It surveys, using each connected domain detected as a candidate touch point;
True touch point judging unit, each candidate touch for privately owned light number to be greater than or equal to preset first threshold Point is determined as true touch point, and by each publicly-owned light of each true touch point is passed through, other do not judge successively The publicly-owned light number of candidate touch point do the operation that subtracts 1;Wherein, the privately owned light number of each candidate touch point be merely through The quantity for the light of the candidate touch point being blocked;The publicly-owned light number of each candidate touch point is to be touched by the candidate It touches a little and the quantity for the light of other at least one candidate touch points being blocked;
Non-genuine touch point judging unit, for judging the candidate touch point not judged, by publicly-owned light number less than pre- If each candidate touch point of second threshold be determined as non-genuine touch point, and find out each non-genuine touch point It, will be every merely through the specific publicly-owned light of the non-genuine touch point and another candidate touch point not judged in publicly-owned light The privately owned light number for the candidate touch point not judged that the one specific publicly-owned light is passed through is done plus 1 operation;
Judging unit, for when judging that the candidate touch point is not determined all, indicating that the true touch point judgement is single Member continues to judge to the candidate touch point not judged.
6. infrared touch panel multiple spot identification device as claimed in claim 5, which is characterized in that the current light net figure generates single Member specifically includes:
Acquisition of information subelement, the quilt between infrared transmitting tube and infrared receiving tube for obtaining the infrared touch panel after touch-control The light information blocked;
Current light net figure obtains subelement, the light institute on the basis of the bias light net figure, each to be blocked The gray value of the pixel of process subtracts 1, obtains the current light net figure.
7. infrared touch panel multiple spot identification device as claimed in claim 5, which is characterized in that the candidate touch point obtains single Member is specifically used for:
The pixel point set for being zero to gray value in the current light net figure carries out connected domain detection, and the quantity comprising pixel is big In preset third threshold value each connected domain as a candidate touch point.
8. such as claim 5 to 7 any one of them infrared touch panel multiple spot identification device, which is characterized in that described infrared tactile Touching screen multiple spot identification device further includes:
Image processing unit, after being generated in the current light net figure, before detecting connected domain, to the current light net figure It is filtered, to remove noise.
9. a kind of infrared touch panel, which is characterized in that including touching box and as claim 5 to 8 any one of them is infrared Touch screen multiple spot identification device.
CN201510929996.9A 2015-12-14 2015-12-14 A kind of infrared touch screen multi-point recognition method, device and infrared touch panel Active CN105373267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510929996.9A CN105373267B (en) 2015-12-14 2015-12-14 A kind of infrared touch screen multi-point recognition method, device and infrared touch panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510929996.9A CN105373267B (en) 2015-12-14 2015-12-14 A kind of infrared touch screen multi-point recognition method, device and infrared touch panel

Publications (2)

Publication Number Publication Date
CN105373267A CN105373267A (en) 2016-03-02
CN105373267B true CN105373267B (en) 2018-09-18

Family

ID=55375527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510929996.9A Active CN105373267B (en) 2015-12-14 2015-12-14 A kind of infrared touch screen multi-point recognition method, device and infrared touch panel

Country Status (1)

Country Link
CN (1) CN105373267B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020566A (en) * 2016-05-05 2016-10-12 广州华欣电子科技有限公司 Scanning method and device for infrared touch screen
CN108415655B (en) * 2018-02-08 2020-10-23 广州华欣电子科技有限公司 Touch data processing method and device, all-in-one machine and storage medium
CN110794994A (en) * 2019-09-27 2020-02-14 深圳市天英联合教育股份有限公司 Method and device for determining real contact
CN112214135B (en) * 2020-09-02 2022-04-26 安徽鸿程光电有限公司 Multi-touch identification method, device and equipment for infrared touch screen
CN112068737B (en) * 2020-09-03 2024-02-20 广州华欣电子科技有限公司 Infrared touch screen signal conditioning circuit and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012072000A1 (en) * 2010-11-29 2012-06-07 北京汇冠新技术股份有限公司 Method and device for positioning by touch points, and touch screen
CN103677441A (en) * 2012-09-18 2014-03-26 北京汇冠新技术股份有限公司 Infrared multipoint identification method, infrared multipoint identification device and infrared touch screen
CN103902105A (en) * 2012-12-28 2014-07-02 北京汇冠新技术股份有限公司 Touch recognition method and touch recognition system for infrared touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012072000A1 (en) * 2010-11-29 2012-06-07 北京汇冠新技术股份有限公司 Method and device for positioning by touch points, and touch screen
CN103677441A (en) * 2012-09-18 2014-03-26 北京汇冠新技术股份有限公司 Infrared multipoint identification method, infrared multipoint identification device and infrared touch screen
CN103902105A (en) * 2012-12-28 2014-07-02 北京汇冠新技术股份有限公司 Touch recognition method and touch recognition system for infrared touch screen

Also Published As

Publication number Publication date
CN105373267A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN105373267B (en) A kind of infrared touch screen multi-point recognition method, device and infrared touch panel
CN103677441B (en) Infrared multipoint identification method, infrared multipoint identification device and infrared touch screen
CN109508664B (en) Dish identification pricing method based on deep learning
US9310934B2 (en) Systems and methods of moisture detection and false touch rejection on touch screen devices
US8139847B2 (en) Defect inspection tool and method of parameter tuning for defect inspection tool
KR20110057146A (en) Method and apparatus for detecting a multitouch event in an optical touch-sensitive device
CN106201064B (en) Touch localization method, device and touch screen
CN102016756A (en) Display of results of a measurement of work pieces as a function of the detection of the gestures of a user
CN111402160B (en) Point cloud data denoising method, device, equipment and storage medium
CN103134807A (en) System and method for identifying defects in a material
JP6733983B2 (en) Image analysis device
CN107092890A (en) Naval vessel detection and tracking based on infrared video
CN103984449A (en) Touch screen touch area positioning method
CN102419663A (en) Multipoint identification method and system for infrared touch screen
CN105260064B (en) A kind of touch point identification method and device and display equipment
CN108537286A (en) A kind of accurate recognition methods of complex target based on key area detection
CN109542276B (en) Touch point identification method and device and display equipment
CN104598082A (en) Method and device for determining candidate touch point
US11741683B2 (en) Apparatus for processing labeled data to be used in learning of discriminator, method of controlling the apparatus, and non-transitory computer-readable recording medium
CN102419664B (en) Multi-point identification method and system of infrared touch screen
CN107957826B (en) Method and system for identifying multi-touch-point area of infrared touch screen
CN111460072B (en) Lane line detection method, device, equipment and storage medium
CN101604380B (en) Method for identifying human head by diameter searching
CN106097281B (en) A kind of calibration maps and its calibration detection method for projecting interactive system
CN105426020B (en) A kind of infrared touch screen multi-point recognition method, device and infrared touch panel

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