CN102184048A - Touch point identification method and device - Google Patents
Touch point identification method and device Download PDFInfo
- Publication number
- CN102184048A CN102184048A CN2011101194072A CN201110119407A CN102184048A CN 102184048 A CN102184048 A CN 102184048A CN 2011101194072 A CN2011101194072 A CN 2011101194072A CN 201110119407 A CN201110119407 A CN 201110119407A CN 102184048 A CN102184048 A CN 102184048A
- Authority
- CN
- China
- Prior art keywords
- touch
- color
- colouring information
- value
- color line
- 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
Links
Images
Landscapes
- Image Analysis (AREA)
Abstract
The invention discloses a touch point identification method which comprises the following steps: setting a preset color information valve of a touch point; reading positioning data generated by touch; forming color lines (in different colors) with corresponding widths according to the positioning data; analyzing the color information value of each color-line crossing point, if the color information value of the color-line crossing point is equal to the preset color information valve, determining that the color-line crossing point is the touch point. The invention also discloses a touch point identification device. By using the method and device disclosed by the invention, the identification speed of touch points is improved, and the identification accuracy of the touch points is improved.
Description
Technical field
The present invention relates to the touch-screen field, be specifically related to recognition methods of a kind of touch point and device.
Background technology
Touching technique occurs, and it is very big convenient to have brought to people, and particularly the multiple point touching The Application of Technology is given to touch to experience and brought qualitative leap, but also has its incomplete place simultaneously.
Existing multi-touch recognition method mainly contains: a kind of method is by increasing once or the scanning on the above vergence direction on the basis of scanning on vertical direction in length and breadth, it draws the possible coordinate of touch point by vertical scanning, again with the formula of the possible coordinate substitution dip sweeping of touch point, determine final touch point coordinate, thereby realize distinguishing a plurality of touch points.But the mode of a plurality of touch points of this identification need be used the geometric algorithm find intersection to all lines that blocks, along with the touch increase of counting, and calculated amount increase at double, computing velocity is slow; The calculating of touch coordinate all is that the center line with occlusion area is a basis, the coordinate that calculates is irrelevant with the size of touch objects, so when bigger a plurality of objects block, can have a strong impact on the touch point Coordinate Calculation, when for example writing on touching device, palm has been also placed on the touching device, has blocked a plurality of infrared tubes, at this moment, the coordinate of the touch point that the finger write is formed just can't identify.
Another kind method is by a plurality of camera photographic images are set in the touch-screen corner, determine the line that blocks of touch objects formation, determine the position coordinates of touch objects again with the method for mathematics geometrical calculation, this method also is all to be blocked line adopt the geometric algorithm find intersection, along with the touch increase of counting, calculated amount increase at double, computing velocity is slow, and influence touch precision, as shown in Figure 1, can identify for touch point 1, but can't discern for 2 of touch points.
Promptly adopt existing multi-touch recognition method, exist computing velocity slow, can't discern touch point and the not high problem of touch point recognition accuracy after big object blocks.
Summary of the invention
The invention discloses recognition methods of a kind of touch point and device, the recognition accuracy that can improve the touch point recognition speed, can discern the touch point after big object blocks and improve the touch point.
The invention discloses the recognition methods of a kind of touch point, comprise step:
Set the colouring information pre-value of touch point;
Read and touch the locator data that produces,
Form the color line of the different colours of corresponding width according to described locator data;
Analyze the colouring information value of each color line intersection point, if the described colouring information value of color line intersection point equals described colouring information pre-value, then described color line intersection point is the touch point.
The invention also discloses a kind of touch point recognition device, comprising:
The image conversion module, be used to set the touch point the colouring information pre-value, read the locator data that touch to produce, and the color line that forms the different colours of corresponding width according to described locator data;
Image analysis module is used to analyze the colouring information value of each color line intersection point, if the described colouring information value of color line intersection point equals described colouring information pre-value, then described color line intersection point is the touch point.
The present invention is according to touching the locator data that produces, convert lines corresponding width, that color is different to, the intersection point of different lines is asked the colouring information superposition value, if the colouring information pre-value that the colouring information superposition value of certain intersection point equals to set in advance, this intersection point is the touch point so; Compared with prior art, need not will may confirm the touch point by coordinate figure substitution inclination formula, a demand is got the colouring information superposition value of each lines, has improved recognition speed; Because when converting the color line to, the bandwidth of color line is corresponding with the bandwidth of locator data, and the bandwidth of locator data is big, and the bandwidth of color line is also big so, make the present invention also can discern, improved recognition accuracy simultaneously the touch point that has big object to block.
Description of drawings
Fig. 1 is an identification synoptic diagram of prior art;
Fig. 2 is a process flow diagram of the inventive method;
Fig. 3 is a structural representation of apparatus of the present invention;
Fig. 4 is the synoptic diagram that the present invention discerns the single-point touch point;
Fig. 5 is the synoptic diagram that the present invention discerns multiple point touching point;
Fig. 6 is the present invention discerns the touch point when having big object to block a synoptic diagram.
Embodiment
For ease of understanding the present invention, set forth below in conjunction with accompanying drawing.
At first introduce method of the present invention,, the invention discloses the recognition methods of a kind of touch point, comprise step with reference to figure 2:
101, touch point colouring information pre-value is set;
102, read the locator data that touches generation;
103, generate the color line according to locator data;
Form the color line of the different colours of corresponding width according to locator data.
104, analyze color line intersection point, confirm whether be the touch point.
Analyze the colouring information value of each color line intersection point, if the colouring information value of color line intersection point equals the colouring information pre-value, then color line intersection point is the touch point.
The present invention is according to touching the locator data that produces, convert the different lines of color of corresponding width to, the intersection point of different lines is asked the colouring information superposition value, if the colouring information pre-value that the colouring information superposition value of certain intersection point equals to set in advance, this intersection point is the touch point so; Compared with prior art, need not only need read the colouring information superposition value of each lines, improve recognition speed confirming the touch point by coordinate figure substitution inclination formula; Because when converting the color line to, the bandwidth of color line is corresponding with the bandwidth of locator data, and the bandwidth of locator data is big, and the bandwidth of color line is also big so, make the present invention also can discern, improved recognition accuracy simultaneously the touch point that has big object to block.
The bright method of this law can be applicable to the infrared scan locating device, and wherein, locator data comprises the angle of blocking of blocking position and touch objects generation of blocking width, touch objects generation that touch objects produces;
The step of color line that forms the different colours of corresponding width according to locator data is specially:
Block width and block the lines that the position forms corresponding width according to what touch objects produced, the different colours of lines is set according to the difference of blocking angle of touch objects generation.
The inventive method also can be applicable to the camera locating device, and wherein, locator data comprises that touch objects produces blocks blocking that width, touch objects produce and photograph the corresponding camera that blocks the position in position and the locating device;
The step of color line that forms the different colours of corresponding width according to locator data is specially:
Block width and block the lines that the position forms corresponding width according to what touch objects produced, photograph the lines that this blocks the different corresponding different colours of corresponding camera of position in the locating device.
In the foregoing description, the colouring information pre-value be variant color color value and, perhaps, variant color lines stack number; The colouring information value is the colour of color on the intersection point, perhaps, and lines stack number.
In the step of the colouring information value of each color line intersection point of above-mentioned analysis, if the colouring information value of color line intersection point is not equal to the colouring information pre-value (in practice, can there be certain error between two values, promptly in certain error range, still think and meet Rule of judgment), then color line intersection point is not the touch point.
Wherein, the stack of colouring information can be adopted multiple mathematical method, as adds computing, exclusive disjunction, XOR or the like.The data bit position of the method that adds computing as employing correspondence of its identical primary colours when selecting color separately can not be repeated, for example, selecting color one is RGB (0,4,1), color two is RGB (1,0,2), three RGB of color (8,1,4), the data bit of R is 0 in the color one, with the data bit of R in the color two at first, do not repeat mutually at the 4th with the data bit of R in the color three, promptly, if the data bit of the R in one of them color has taken a data bit, the data bit of the R in other colors just can not take this a data bit again.G, B are also in like manner.
Then introduce device of the present invention, with reference to figure 3, a kind of touch point recognition device comprises:
Wherein, if be applied in the infrared scan locating device, locator data comprises the angle of blocking of blocking position and touch objects generation of blocking width, touch objects generation that touch objects produces so;
Image conversion module forms the concrete operations of color line of the different colours of corresponding width according to locator data:
The lines that the position forms corresponding width that block that block width and touch objects generation that image conversion module produces according to touch objects, and the different colours that lines are set according to the difference of blocking angle that touch objects produces.
Wherein, if be applied in the camera locating device, locator data comprises that touch objects produces so blocks blocking that width, touch objects produce and photographs the corresponding camera that this blocks in position and the locating device;
Image conversion module forms the concrete operations of color line of the different colours of corresponding width according to locator data:
Image conversion module photographs the lines of the different corresponding different colours of corresponding camera that block the position according to the lines that the position forms corresponding width that block that block width and touch objects generation that touch objects produces in the locating device.
Wherein, the colouring information pre-value be variant color color value and, perhaps, variant color lines stack number; The colouring information value is the colour of color on the intersection point, perhaps, and lines stack number.
Wherein, analyze in the operation of colouring information value of each color line intersection point in image analysis module, if the colouring information value of color line intersection point is not equal to the colouring information pre-value, then color line intersection point is not the touch point.
With reference to figure 4, the present invention discerns a synoptic diagram of single-point touch point;
, the level vertical to exist and three direction of scanning of 45 degree that tilt are that (number of direction of scanning can be provided with according to realistic accuracy example, the direction of scanning number can also for 4 or 5 or more than, the present invention is to its not constraint), receive that touch objects a produces block width and touch objects a block locating information such as angle, represent the line that blocks of vertical direction with blue color line, the color line width is directly proportional at the width that blocks that vertical direction forms with touch objects a; Represent the line that blocks of horizontal direction with the green color line, the color line width is directly proportional with the width that blocks that touch objects a forms in the horizontal direction; Block line with what the red color line represented to tilt 45 degree, the color line width is directly proportional at the width that block of the 45 degree directions formation of tilting with touch objects a.
Wherein, the angle of blocking of blocking width and touch objects of touch objects a all is to obtain easily by existing touch positioning device, is not described further at this.
By color value or the color stack number of judging each color line intersection point, if the color value of this color line intersection point equal a predefined intersection point all colours line the color value stack and, perhaps, the different colours stack number of a color line intersection point equals predefined different colours stack number, think that then this color line intersection point is the touch point, if do not wait, think that then this color line intersection point is not the touch point.There are vertical, the level and three direction of scanning of 45 degree that tilt in the present embodiment, the different colours number of the color line that promptly presets is 3, by judging that color line intersection point is that the color at the touch objects a place number that superposes is 3, equate with the different colours number of the color line of presetting, determine that therefore this color line intersection point is the touch point.Perhaps, according to the color value stack of the color line of predefined three directions and, suppose that color value superposes and is 245, by judging that if color line intersection point is the color value stack and 245 (the allowing certain error range) at touch objects a place, determines that then this color line intersection point is the touch point.
Then introduce, the present invention discerns an embodiment of multiple point touching point; With reference to figure 5, be example still in the present embodiment with level, scanning vertical and the 45 degree directions that tilt; If the color of touch point stack number is 3; To touch objects a, be respectively at level, the line that blocks vertical and the 45 degree directions that tilt: green 1, blue 1 and red 1; To touch objects b, be respectively at level, the line that blocks vertical and the 45 degree directions that tilt: green 2, blue 2 and red 2; As shown in the figure, green 1, blue 1, red 1, green 2, blue 2 and red 2 have a plurality of intersection points, by calculating the color stack number of each intersection point, have only the color line intersection point at touch objects a and touch objects b place just to satisfy the requirement of the color stack number 3 that sets in advance as can be known, so have only the color line intersection point at touch objects a and touch objects b place to be only the touch point.
Introduce the identification of the present invention touch point when having big object to block below; With reference to figure 6, be example still in the present embodiment with level, scanning vertical and the 45 degree directions that tilt;
On touch-screen, there are 3 touch objects: touch objects a, touch objects b and touch objects c; According to locator data, the line color that forms in the touch-screen horizontal direction is green; The line color that vertical direction forms is blue, and the line color that the 45 degree directions that tilt form is red; Touch objects a is respectively green, blueness 1 and red 1 at level, the line that blocks vertical and the 45 degree directions that tilt; Touch objects b is respectively green, blueness 2 and red 2 at level, the line that blocks vertical and the 45 degree directions that tilt; Touch objects c is respectively green, blueness 3 and red 3 at level, the line that blocks vertical and the 45 degree directions that tilt; According to method of the present invention, the color line intersection point that the color overlapped information that calculates each color line just can detect touch objects a, touch objects b and touch objects c place is the touch point, and utilization the inventive method is discerned, and can not leak the touch point at touch objects b place.
Above-described embodiment of the present invention does not constitute the qualification to protection domain of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection domain of the present invention.
Claims (10)
1. a touch point recognition methods is characterized in that, comprises step:
Set the colouring information pre-value of touch point;
Read and touch the locator data that produces;
Form the color line of the different colours of corresponding width according to described locator data;
Analyze the colouring information value of each color line intersection point, if the described colouring information value of color line intersection point equals described colouring information pre-value, then described color line intersection point is the touch point.
2. touch point according to claim 1 recognition methods is characterized in that, described locator data comprises the angle of blocking of blocking position and touch objects generation of blocking width, touch objects generation that touch objects produces;
The step of the color line of the described different colours that forms corresponding width according to described locator data is specially:
Block width and describedly block the lines that the position forms corresponding width according to what described touch objects produced, the difference of blocking angle that produces according to described touch objects is provided with the different colours of described lines.
3. touch point according to claim 1 recognition methods is characterized in that, described locator data comprises that touch objects produces blocks blocking that width, touch objects produce and photograph the described corresponding camera that blocks the position in position and the locating device;
The step of the color line of the described different colours that forms corresponding width according to described locator data is specially:
Block width, block the position and be formed on the lines that block corresponding width on the position according to what described touch objects produced, photograph the described lines that this blocks the different corresponding different colours of corresponding camera of position in the locating device.
4. touch point according to claim 1 recognition methods is characterized in that, the color value that described colouring information pre-value is variant color and, perhaps, variant color lines stack number; Described colouring information value is the colour of color on the intersection point, perhaps, and lines stack number.
5. according to each described touch point recognition methods of claim 1 to 4, it is characterized in that, in the step of the colouring information value of each color line intersection point of described analysis, if the described colouring information value of color line intersection point is not equal to described colouring information pre-value, then described color line intersection point is not the touch point.
6. a touch point recognition device is characterized in that, comprising:
The image conversion module, be used to set the touch point the colouring information pre-value, read the locator data that touch to produce, and the color line that forms the different colours of corresponding width according to described locator data;
Image analysis module is used to analyze the colouring information value of each color line intersection point, if the described colouring information value of color line intersection point equals described colouring information pre-value, then described color line intersection point is the touch point.
7. touch point according to claim 6 recognition device is characterized in that,
Described locator data comprises the angle of blocking of blocking position and touch objects generation of blocking width, touch objects generation that touch objects produces;
Described image conversion module forms the concrete operations of color line of the different colours of corresponding width according to described locator data:
Described image conversion module is blocked width, is blocked the lines that the position forms corresponding width according to what described touch objects produced, and the difference of blocking angle that produces according to described touch objects is provided with the different colours of described lines.
8. touch point according to claim 6 recognition device is characterized in that,
Described locator data comprises that touch objects produces blocks blocking that width, touch objects produce and photographs the corresponding camera that this blocks in position and the locating device;
Described image conversion module forms the concrete operations of color line of the different colours of corresponding width according to described locator data:
Described image conversion module is blocked width, is describedly blocked the lines that the position forms corresponding width according to what described touch objects produced, photographs the described described lines that block the different corresponding different colours of corresponding camera of position in the locating device.
9. touch point according to claim 6 recognition device is characterized in that, the color value that described colouring information pre-value is variant color and, perhaps, variant color lines stack number; Described colouring information value is the colour of color on the intersection point, perhaps, and lines stack number.
10. according to each described touch point recognition device of claim 6 to 9, it is characterized in that, described image analysis module is analyzed in the operation of colouring information value of each color line intersection point, if the described colouring information value of color line intersection point is not equal to described colouring information pre-value, then described color line intersection point is not the touch point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110119407.2A CN102184048B (en) | 2011-05-10 | 2011-05-10 | Touch point identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110119407.2A CN102184048B (en) | 2011-05-10 | 2011-05-10 | Touch point identification method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102184048A true CN102184048A (en) | 2011-09-14 |
CN102184048B CN102184048B (en) | 2014-07-23 |
Family
ID=44570231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110119407.2A Expired - Fee Related CN102184048B (en) | 2011-05-10 | 2011-05-10 | Touch point identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102184048B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880344A (en) * | 2012-09-13 | 2013-01-16 | 广东威创视讯科技股份有限公司 | Multi-touch-point identification method |
CN105094454A (en) * | 2014-04-17 | 2015-11-25 | 青岛海信电器股份有限公司 | Method and device for multi-point positioning of touch screen, and touch screen device |
CN110727374A (en) * | 2019-10-11 | 2020-01-24 | 深圳市康冠商用科技有限公司 | Touch positioning method and infrared touch screen thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369203A (en) * | 2008-08-29 | 2009-02-18 | 广东威创视讯科技股份有限公司 | Touch apparatus with color and size recognition function and its touch recognition method |
CN101582000A (en) * | 2009-05-27 | 2009-11-18 | 广东威创视讯科技股份有限公司 | Method for automatically detecting touch object by camera and application thereof |
CN101403951B (en) * | 2008-08-11 | 2011-01-26 | 广东威创视讯科技股份有限公司 | Multi-point positioning device and method for interactive electronic display system |
-
2011
- 2011-05-10 CN CN201110119407.2A patent/CN102184048B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101403951B (en) * | 2008-08-11 | 2011-01-26 | 广东威创视讯科技股份有限公司 | Multi-point positioning device and method for interactive electronic display system |
CN101369203A (en) * | 2008-08-29 | 2009-02-18 | 广东威创视讯科技股份有限公司 | Touch apparatus with color and size recognition function and its touch recognition method |
CN101582000A (en) * | 2009-05-27 | 2009-11-18 | 广东威创视讯科技股份有限公司 | Method for automatically detecting touch object by camera and application thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880344A (en) * | 2012-09-13 | 2013-01-16 | 广东威创视讯科技股份有限公司 | Multi-touch-point identification method |
CN102880344B (en) * | 2012-09-13 | 2015-10-07 | 广东威创视讯科技股份有限公司 | A kind of method for identifying multiple touch points |
CN105094454A (en) * | 2014-04-17 | 2015-11-25 | 青岛海信电器股份有限公司 | Method and device for multi-point positioning of touch screen, and touch screen device |
CN105094454B (en) * | 2014-04-17 | 2019-06-14 | 青岛海信电器股份有限公司 | A kind of touch screen multipoint positioning method, device and touch-screen equipment |
CN110727374A (en) * | 2019-10-11 | 2020-01-24 | 深圳市康冠商用科技有限公司 | Touch positioning method and infrared touch screen thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102184048B (en) | 2014-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109584307B (en) | System and method for improving calibration of intrinsic parameters of a camera | |
US20100079412A1 (en) | Calibrating apparatus and method | |
CN102368810B (en) | Semi-automatic aligning video fusion system and method thereof | |
US20130002861A1 (en) | Camera distance measurement device | |
CN102163108B (en) | Method and device for identifying multiple touch points | |
CN103365480B (en) | Touch recognition method and system for multi-point infrared touch screen | |
WO2014156429A1 (en) | Visual collation assistance device and method for controlling same | |
JP5773436B2 (en) | Information terminal equipment | |
EP3048555A1 (en) | Image processing device, image processing method, and image processing program | |
CN102184056B (en) | Method and device for identifying multiple touch points | |
CN105893929A (en) | Finger and wrist distinguishing method and device | |
CN106406638B (en) | Touch point contour generation method and equipment | |
CN102184048B (en) | Touch point identification method and device | |
JP4649559B2 (en) | 3D object recognition apparatus, 3D object recognition program, and computer-readable recording medium on which the same is recorded | |
JP5093591B2 (en) | 3D position and orientation measurement method and apparatus | |
EP3575947A2 (en) | Systems and methods for interactive image caricaturing by an electronic device | |
US20100027912A1 (en) | Method of Raising Resolution in Locating on a Micro Dotmap | |
Zhang et al. | A new algorithm for accurate and automatic chessboard corner detection | |
CN106407973A (en) | Robust recognition method for AR code marked on cylinder | |
KR101990565B1 (en) | Method and apparatus for detecting coordinates in a pen-based display device | |
CN105574886A (en) | High-precision calibration method of handheld multi-lens camera | |
CN101825970B (en) | Tracking method and tracking system of touch-control points | |
CN102184054B (en) | Multi-touch-point recognizing method and device | |
CN109976590B (en) | Camera-based touch detection method | |
CN104238558A (en) | Tracking robot quarter turn detecting method and device based on single camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233 Patentee after: Wei Chong group Limited by Share Ltd Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No. Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140723 Termination date: 20200510 |