WO2012072000A1 - 一种触摸点定位方法、装置及触摸屏 - Google Patents

一种触摸点定位方法、装置及触摸屏 Download PDF

Info

Publication number
WO2012072000A1
WO2012072000A1 PCT/CN2011/082842 CN2011082842W WO2012072000A1 WO 2012072000 A1 WO2012072000 A1 WO 2012072000A1 CN 2011082842 W CN2011082842 W CN 2011082842W WO 2012072000 A1 WO2012072000 A1 WO 2012072000A1
Authority
WO
WIPO (PCT)
Prior art keywords
ray
point
occluded
boundary line
touch
Prior art date
Application number
PCT/CN2011/082842
Other languages
English (en)
French (fr)
Inventor
王武军
叶新林
刘建军
刘新斌
Original Assignee
北京汇冠新技术股份有限公司
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 北京汇冠新技术股份有限公司 filed Critical 北京汇冠新技术股份有限公司
Publication of WO2012072000A1 publication Critical patent/WO2012072000A1/zh

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
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

Definitions

  • the present invention relates to the field of optoelectronic technologies, and in particular, to a touch point positioning method, device, and touch screen. Background technique
  • infrared touch screen As an interactive device with simple production process and low production cost, infrared touch screen has been widely used in many fields.
  • the basic structure of the infrared touch screen is to install a number of pairs of infrared emitting and infrared receiving elements in a certain order around the touch frame.
  • the infrared transmitting and infrared receiving components form a transmitting and receiving pair in a corresponding manner, and form a mutually perpendicular transmitting and receiving array along the edge of the frame, and respectively connect each transmitting and receiving in a certain order under the control of the processor. Yes, it is detected whether the infrared light between each transmitting and receiving pair is blocked, thereby determining whether a touch event occurs.
  • the infrared touch screen can work stably, but as the application of multi-touch points increases, when the touch operation is performed on two or more touch points on the infrared touch screen at the same time, the touch processing system may be wrong. Calculate the coordinates of the touch point location, resulting in an incorrect touch point.
  • One of the prior art techniques of infrared multi-touch is to achieve multi-touch point positioning by selecting two sets of quasi-touch point sets and locating real touch points.
  • the selecting of the quasi-touch point set includes analyzing the scan data, and selecting a set of points including ghost points (non-real touch points) and real touch points according to the analyzed data; and positioning the real touch points includes obtaining Checking the set of points, and removing the ghost points in the set of quasi-touch points according to the set of check points, thereby locating the real touch points.
  • the accuracy of the selected set of quasi-touch points will directly affect the accuracy of subsequent real touch point positioning.
  • the invention provides a touch point positioning method and a touch positioning device for improving touch precision of an infrared touch technology.
  • a touch point positioning method according to an embodiment of the present invention is applicable to an infrared touch screen including a plurality of opposite infrared emitting elements and infrared receiving elements, wherein at least one of the infrared emitting elements emits light by a plurality of Said infrared receiving component receiving, the method comprises:
  • the specific direction including the first direction and the second direction;
  • Determining ray information of the target point in the specific direction according to an accepting or mutually exclusive relationship between the occluded ray being traversed and the occluded ray that has been traversed, wherein the ray information of the specific direction includes the target point at the first Directional light information and light information in the second direction; Combining the ray information of the target point in the first direction and the ray information in the second direction to obtain a set of quasi-touch points;
  • a ghost point in the set of quasi-touch points is removed to determine a real touch point.
  • an embodiment of the present invention further provides a touch positioning device, which is applied to an infrared touch screen, where the infrared touch screen includes a plurality of opposite infrared emitting elements and infrared receiving elements, wherein, at least Light emitted by one of the infrared emitting elements is received by a plurality of the infrared receiving elements, and the touch positioning device includes a data processing unit for processing light data between the infrared emitting element and the infrared receiving element
  • the data processing unit includes a traversal module, a quasi-touch point calculation module, and a real touch point calculation module;
  • the traversing module is configured to start traversing the collected infrared light emitting end or the infrared receiving end in a specific direction of the infrared touch screen, wherein the specific direction includes a first direction and a second direction, and according to the occluded light being traversed Determining the relationship between the occluded rays that have been traversed or the mutual exclusion, determining the ray information of the target point in the specific direction, the ray information of the specific direction including the ray information of the target point in the first direction and the second Directional light information;
  • the quasi-touch point calculation module is configured to combine the ray information of the target point in the first direction and the ray information in the second direction to obtain a quasi-touch point set;
  • the real touch point calculation module is configured to remove ghost points in the set of quasi-touch points to determine a real touch point.
  • Embodiments of the present invention also provide a touch screen to which the touch positioning device is applied, including a plurality of opposite infrared emitting elements and infrared receiving elements, wherein at least one of the infrared emitting elements emits light by a plurality of the infrared rays Received by the receiving component, the touch screen further includes:
  • a data acquisition unit configured to collect light data between the infrared emitting element and the infrared receiving element
  • a data processing unit configured to process light data between the infrared emitting element and the infrared receiving element,
  • the data processing unit includes a traversal module, a quasi-touch point calculation module, and a real touch point calculation module;
  • the traversing module is configured to start traversing the collected infrared light emitting end or the infrared receiving end in a specific direction of the infrared touch screen, wherein the specific direction includes a first direction and a second direction, and according to the occluded light being traversed Determining the relationship between the occluded rays that have been traversed or the mutual exclusion, determining the ray information of the target point in the specific direction, the ray information of the specific direction including the ray information of the target point in the first direction and the second Directional light information;
  • the quasi-touch point calculation module is configured to combine the ray information of the target point in the first direction and the ray information in the second direction to obtain a quasi-touch point set;
  • the real touch point calculation module is configured to remove ghost points in the set of quasi-touch points to determine a real touch point.
  • a touch point positioning method, apparatus and touch screen according to an embodiment of the present invention, by traversing light rays between an infrared receiving element and an infrared emitting element, determining a relationship associated with a target point according to a relationship between acceptance or mutual exclusion between the blocked light rays.
  • the ray information combines the ray information of the target point in the first direction with the ray information in the second direction to obtain the position of the quasi-touch point, thereby removing ghost points in the quasi-touch point, and being able to locate the real touch point.
  • accurate positioning of multiple touch points in the infrared touch screen can be realized. In the process of locating the touch points, the calculation amount is small and the speed is fast.
  • FIG. 1 is a schematic structural diagram of a touch screen to which a touch positioning method according to Embodiment 1 of the present invention is applied;
  • FIG. 2 is a schematic flow chart of a touch positioning method according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic view showing an acceptance relationship between light rays in an embodiment of the present invention.
  • FIG. 4 is a schematic view showing a mutual exclusion relationship between light rays in an embodiment of the present invention.
  • Figure 5 is a view showing a state in which light rays are accepted by two sets in Embodiment 2 according to the present invention
  • Figure 6 is a view showing a light start point and a stop point in Embodiment 3 according to the present invention
  • FIG. 7 is a block diagram of a touch positioning device according to Embodiment 4 of the present invention.
  • FIG. 8 is a block diagram of a touch positioning device according to Embodiment 5 of the present invention.
  • FIG. 9 is a block diagram of a touch positioning device according to Embodiment 6 of the present invention.
  • FIG. 10 is a schematic structural diagram of a touch screen according to Embodiment 7 of the present invention.
  • Figure 11 is a schematic diagram of determining a real touch point in the first embodiment according to the present invention. detailed description
  • the embodiment aims to provide a touch point positioning method based on an infrared touch screen hardware structure for improving the touch detection accuracy of the infrared touch technology.
  • the infrared touch screen includes a plurality of opposing infrared emitting elements 2 and infrared receiving elements 3, wherein at least one of the light emitted by the infrared emitting elements 2 is received by a plurality of the infrared receiving elements 3.
  • the method includes the following steps:
  • step 101 ray traversing the collected infrared emitting end or infrared receiving end in a specific direction of the infrared touch screen, the specific direction including the first direction and the second direction.
  • the first direction or the second direction is an arrangement direction of a plurality of infrared receiving elements (or infrared emitting elements) at one receiving end (or transmitting end) of the touch screen, the first direction and the second direction being different
  • the order of the components in the receiving end (or transmitting end) is extended.
  • the first direction and the second direction are the horizontal direction and the vertical direction, respectively.
  • the plurality of receiving elements may include off-axis receiving elements, and may also include a shaft facing the receiving elements.
  • the light emitted by each of the radiating elements can be received by the receiving element that is vertically opposite thereto and the receiving element that is offset therefrom.
  • each receiving component can receive the drooping The light emitted by the directly facing radiating element and the emitting element that is offset therefrom.
  • the ray data transmitted or received by the components at the transmitting end or the receiving end is collected, so that the traversal of the ray can traverse the ray data of the transmitting end, or traverse the ray data of the receiving end.
  • the term "traversing light” as used in the embodiments of the present invention refers to traversing the collected light data, rather than the light itself. Light data in the first direction and the second direction are traversed, respectively, in accordance with an embodiment of the present invention.
  • ray information of the target point in the particular direction is determined based on the accepted or mutually exclusive relationship between the occluded ray being traversed and the occluded ray that has been traversed.
  • the ray information in the specific direction includes ray information of the target point in the first direction and ray information in the second direction, that is, determining the target point in the first direction by traversing the ray in the first direction.
  • the ray information determines the ray information of the target point in the second direction by traversing the ray in the second direction.
  • the relationship between light and light can be divided into mutual acceptance and mutual exclusion.
  • the mutual acceptance of two rays includes the following:
  • the two rays intersect in the touch screen area (the receiving end or the transmitting end of the two rays may or may not be adjacent).
  • the mutual exclusion between two rays includes the following:
  • the emitting ends of the two rays are the same, and at least one receiving element is separated between the receiving ends;
  • the receiving ends of the two rays are the same, and at least one transmitting element is separated between the transmitting ends.
  • the touch object enters the touch area, the light is blocked at the position touched by the touch object, so that the position of the touch object can be determined by analyzing the blocked light.
  • This embodiment combines the acceptance or mutual interaction between light and light.
  • the repulsion relationship in the first or second direction, analyzes the occluded light to determine the ray information of the target point in the first or second direction.
  • step 103 the ray information of the target point in the first direction and the ray information in the second direction are intersected to obtain a set of quasi-touch points.
  • the ray information of the target point in the first direction and the ray information of the target point in the second direction are combined to obtain a plurality of position points. Collection. Then, based on the set of position points, the position of the quasi-touch point can be determined. Due to the characteristics of the multi-line intersection combination, non-real touch points appear during the combination process, and these non-real touch points become ghost points. Therefore, if it is a multi-touch, the quasi-touch point set is a collection including ghost points and real touch points.
  • step 104 ghost points in the set of quasi-touch points are removed to determine a real touch point.
  • the following scheme can be used to remove the ghost points in the quasi-touch point set.
  • at least one straight line a1 that does not intersect with other quasi-touch points is found centering on the quasi-touch point 1 currently to be processed.
  • the infrared emitting element 21 and the infrared receiving element 22 corresponding to the two end points of the straight line a1 in the touch detection area are selected.
  • the light between the infrared emitting element 21 and the infrared receiving element 22 is detected and it is judged whether or not the light is blocked.
  • the quasi-touch point 1 currently to be processed is a real touch point, otherwise, the quasi-touch point 1 is a ghost point.
  • the above steps are used to sequentially determine whether the remaining quasi-touch points in the quasi-touch point set are real touch points or ghost points.
  • the coordinates of the real touch point are converted into the real coordinates of the screen and output, that is, the internal coordinate value of the real touch point is converted into data acceptable to the computer system on which the touch screen is mounted, and transmitted to the interface of the touch screen through the interface of the touch screen.
  • the above-described method of removing ghost points to locate real touch points is for example only, but is not limited thereto, and other methods may be used to remove ghost points in the set of quasi-touch points.
  • the touch point localization method determines the light information associated with the target point according to the relationship between the received or mutually exclusive occlusion rays by traversing the light between the infrared receiving element and the infrared emitting element, and determines the target point.
  • the ray information in the first direction and the ray information in the second direction are combined to obtain a set of quasi-touch points, thereby removing ghost points in the quasi-touch point set, and being able to locate the real touch point.
  • accurate positioning of a plurality of touch points on the infrared touch screen can be achieved.
  • the calculation amount is small and the speed is fast.
  • the touch point positioning method described in this embodiment is based on the specific description of the first embodiment.
  • the ray of the collected infrared emitting end or the infrared receiving end is traversed along a specific direction of the infrared touch screen, wherein the specific direction includes a first direction and a second direction.
  • the ray information of the target point in the specific direction is determined.
  • all the occluded rays are collected according to the accepted or mutually exclusive relationship between the occluded ray being traversed and the occluded ray that has been traversed. Classification, wherein, in the particular direction, occluded rays associated with the same target point are classified into the same set.
  • the ray blocked by one touch object is concentratedly distributed in the same direction (first or second) direction. Therefore, in this embodiment, the occluded rays associated with the same target point are classified into the same set to be collected. Forms distinguish between target points, and different target points form different sets.
  • This embodiment does not limit the order of execution of the two operations of classifying the occluded rays in the first direction and classifying the occluded rays in the second direction.
  • the first occlusion ray L1 in the traversal process is classified into the first set C1 of the specific direction.
  • each ray of each receiving component or the transmitting component is sequentially traversed until the first occluded ray is found, and a ray of the first occluded ray L1 as the first target point is classified into the set C1. in.
  • the so-called ray is accepted by the collection means that the ray is accepted by any one of the ray in the set, and the so-called ray repelling with the set means that the ray is mutually exclusive with all the rays in the set.
  • the acceptance of light by a collection is based on the mutual acceptance or mutual exclusion of light, that is, the acceptance and mutual exclusion between the light and each of the rays in the set.
  • the occluded light is accepted by any of the occluded rays in the set, it means that the two occluded rays are mutually accepted; when the occluded ray is not accepted by any of the occluded rays in the set, it indicates The two # ⁇ occludes light between the two.
  • the occluded ray is accepted by the set, it indicates that the occluded ray belongs to the target point represented by the set, so the occluded ray is classified in the set. Similarly, if the occluded ray is repelled by the set, it indicates that the occluded ray is not associated with the target point represented by the set, and then the occluded ray is determined to belong to other target points. Further, if all the sets are repelled by the occluded light, it indicates that the occluded light belongs to a new target point.
  • step C when the relationship between the ith (i > 3) occlusion ray Li and the k sets is determined in step C, the following cases are also included:
  • the ith occlusion ray is discarded.
  • a # ⁇ is accepted by both sets at the same time, it means that the occluded light belongs to two target points.
  • the occluded light L1 belongs to the set Cl of the first target point, and the occluded light lines L2 and L3 belong to the set C2 of the second target point.
  • step C Repeating step C, completing traversal of the light of the infrared emitting end or the infrared receiving end in the first direction and the second direction, respectively, thereby obtaining M sets of the first direction and the first N sets of directions.
  • the ray information of the target point in the first direction and the ray information in the second direction are combined to obtain a set of quasi-touch points.
  • the occluded light rays in the set of the first direction are intersected with the occluded light rays in the set of the second direction, and the set of the quasi-touch points is determined by the point of intersection .
  • the occluded light rays in the Xth set Cx (1 ⁇ ⁇ ⁇ ⁇ ) in the first direction are one-to-one and the y-th set Cy in the second direction ( l ⁇ y ⁇ N
  • the occluded rays in the intersection intersect to obtain a set of intersections.
  • One The intersection points are collected as ray information of a quasi-touch point, and the center of the position coordinates of the intersection point set can be used as the final position of the quasi-touch point.
  • the M sets in the first direction are combined with the N sets in the second direction, and finally, M*N quasi-touch points are obtained, and the M*N quasi-touch points include the real touch points and the intersections. ghost points caused by combination.
  • the touch point positioning method in this embodiment classifies the occluded rays associated with the same target point in a specific direction into the same set by analyzing the distribution of the light occluded by the touch object, and the second direction is The set is intersected with the set of the first direction to obtain the ray information of the quasi-touch point, and the position of the real touch point can be obtained according to the quasi-touch point.
  • accurate positioning of multiple touch points on the infrared touch screen can be achieved.
  • the present invention has a small amount of calculation and a high speed in the process of locating a touch point. The accuracy of the resulting quasi-touch points is higher because the interference of the occluded rays that are simultaneously accepted by the plurality of sets is removed.
  • the touch point positioning method described in this embodiment is based on the specific description of the first embodiment.
  • the ray of the collected infrared emitting end or the infrared receiving end is traversed along a specific direction of the infrared touch screen, and the specific direction includes a first direction and a second direction.
  • the ray information of the target point in the specific direction is determined.
  • each target is determined according to an accepting or mutually exclusive relationship between the occluded light being traversed and the occluded light that has been traversed, and a relative positional relationship. The starting and ending boundary of the point.
  • the occluded rays associated with the target points can be determined, and the boundary line of the target points can be further determined. Calculating the position of the quasi-touch point through the boundary line can further reduce the amount of calculation.
  • This embodiment does not limit the order of execution of the two operations of traversing the occluded light in the first direction and traversing the occluded light in the second direction.
  • the first occlusion ray L1 in the traversal process is taken as the start boundary line and the end boundary line of the first target point in the specific direction.
  • each light of each receiving element or emitting element is traversed in sequence until the first occluded light is found. Since a light cannot be judged by the relative position, the first occlusion ray is simultaneously used as the start boundary line and the end boundary line of the first target point as the reference boundary of the occluded ray traversed next. line.
  • B. Determine a relationship between the second occluded light L2 and the first target point.
  • the second occlusion ray L2 repels the first target point
  • the second occlusion ray L2 is used as a start boundary line and a termination boundary line of the second target point.
  • the second occlusion ray L2 is accepted by the first target point, determining a positional relationship between the second occlusion ray L2 and the current boundary line L1 of the first target point. Then, according to the location relationship, determining the The new starting boundary line and the new ending boundary line of the first target point.
  • the so-called ray is accepted by the target point, that is, the ray is accepted by the start boundary line or the end boundary line of the target point, and the so-called ray repulsion with the target point refers to the start boundary line between the ray and the target point.
  • the termination boundary lines are repelled.
  • the second # ⁇ occlusion ray replies with the boundary line of the first target point, it indicates that the first # ⁇ ⁇ ⁇ and the second occluded ray are respectively associated with different target points, at this time, the second The occlusion ray is used as the starting and ending boundary of the new target point (ie, the second target point). Since there is only one occluded light associated with the second target point, the relative position between the rays cannot be determined, and therefore, the second occlusion ray is simultaneously used as the start boundary line and the end boundary line of the second target point.
  • All the rays are traversed in turn, and for any occlusion ray, the relationship with the existing target point is judged. If the occluded light is not associated with any existing target points, a new target point is set to determine k target points.
  • the occlusion ray repels the boundary line of the jth target point, it indicates that the occlusion ray is associated with a target point different from the jth target point, and the ith # ⁇ occlusion ray is set as the start of the new target point. Boundary line and terminating boundary line. Since there is only one occluded ray associated with the new target point, the relative position between the ray cannot be determined. Therefore, the ith occlusion ray is simultaneously used as the start boundary line and the end boundary line of the new target point. .
  • step C when the ith occlusion ray Li is accepted by the jth target point among the k target points, if the starting point of the occlusion ray and the jth target point The starting point of the starting boundary line is the same, and the ending point of the ith occlusion ray is in the opposite direction of the traversing direction to which the ending point of the starting boundary line of the jth target point belongs, and the occlusion ray is used as The new starting boundary line of the jth target point.
  • the starting point of the ith occlusion ray is the same as the starting point of the termination boundary line of the jth target point, and the termination point of the ith ith occlusion ray is at the termination boundary of the jth target point
  • the occlusion ray is used as the new termination boundary line of the jth target point in the positive direction of the traversal direction to which the termination point belongs.
  • the start and end points of the light are the ends of the line of light within the touch area, respectively.
  • the starting point of the light is the infrared receiving element 3, and the end point of the light is the infrared emitting element 2.
  • the starting point of the light is the infrared emitting element 2, and the end point of the light is the infrared receiving element 3.
  • the starting point and the ending point in this embodiment are only used to distinguish the two ends of the light, and any name for distinguishing the two ends of the light is in the protection scope of the present invention without departing from the essence of the present invention. within.
  • the ith occlusion ray Li is accepted by the jth target point among the k target points, if the occlusion ray intersects the start boundary line of the jth target point, The occlusion light and the The current starting boundary line is used as the new starting boundary line of the jth target point. If the occlusion ray intersects the termination boundary line of the jth target point, the ith occlusion ray and the current termination boundary line are both used as the new termination boundary line of the jth target point .
  • the positioning accuracy of the target point can be improved.
  • the first occlusion ray is discarded when the first occlusion ray Li is accepted by at least two of the k target points.
  • a #2 skin occlusion light is accepted by both sets at the same time, it indicates that the occluded light belongs to two target points, but one of the target points may be a false image, therefore, in order to improve the accuracy of the final target point coordinates, Discard the occluded light.
  • step C Repeating step C, completing traversal of the light of the infrared emitting end or the infrared receiving end in the first direction and the second direction, respectively, thereby obtaining a boundary of M target points in the first direction a line and a boundary line of N target points in the second direction.
  • the ray information of the target point in the first direction and the ray information in the second direction are combined to obtain a set of quasi-touch points.
  • the boundary line of the target point in the first direction is intersected with the boundary line of the target point in the second direction to determine the set of quasi-touch points by intersecting the intersection point.
  • intersection points are a ray information of a quasi-touch point. According to the intersection set, the center of the coordinates of the center position of the coordinate of the intersection point location is selected as the final position of the quasi-touch point.
  • M*N quasi-touch points By combining the boundary lines of the M target points in the first direction with the boundary lines of the N target points in the second direction, M*N quasi-touch points can be obtained, and the M*N quasi-touch points include Real touch points and ghost points caused by the combination of intersections.
  • the touch point positioning method in this embodiment finds the boundary line of the light blocked by the touch object, and combines the boundary line in the second direction with the boundary line in the first direction to obtain the light information of the quasi-touch point. , the position of the real touch point can be obtained according to the quasi-touch point. With the method of the embodiment, the quasi-determination bits of the plurality of touch points on the infrared touch screen can be realized. In the process of locating the touch point, only the calculation of the boundary line of the target point in the embodiment can further reduce the calculation amount and the calculation speed is faster. In addition, in the case where the boundary lines intersect, the method of the present embodiment uses two rays as boundary lines, thereby avoiding the accuracy of the quasi-touch points being lowered due to improper selection of the boundary lines.
  • Embodiment 4 Referring to FIG. 7, the embodiment provides a touch positioning device 4, which is applied to an infrared touch screen, where the infrared touch screen includes a plurality of opposite infrared emitting elements and infrared receiving elements, wherein at least one of the infrared emitting elements emits light. Received by a plurality of the infrared receiving elements.
  • the touch positioning device 4 includes a data processing unit 5 for processing light data between the infrared emitting element and the infrared receiving element.
  • the data processing unit 5 comprises a traversal module 3, a quasi-touch point calculation module 7 and a real touch point calculation module 8.
  • the traversing module 3 starts traversing the collected light of the infrared emitting end or the infrared receiving end along a specific direction of the infrared touch screen, wherein the specific direction includes a first direction and a second direction.
  • the traversal module 3 determines the ray information of the target point in the particular direction based on the accepted or mutually exclusive relationship between the occluded ray being traversed and the occluded ray that has been traversed.
  • the ray information of the specific direction includes ray information of the target point in the first direction and light information in the second direction.
  • the quasi-touch point calculation module 7 combines the ray information of the target point in the first direction and the ray information in the second direction to obtain a set of quasi-touch points.
  • the real touch point calculation module 8 removes ghost points in the set of quasi-touch points to determine a real touch point.
  • the acceptance and mutual exclusion relationship between the rays is consistent with the acceptance and mutual exclusion relationship between the rays described in the first embodiment.
  • the touch point positioning device determines the position of the target point according to the relationship between the acceptance and the mutual exclusion between the occluded rays by traversing the light between the infrared receiving element and the infrared emitting element, and sets the first position of the target point.
  • the second position is combined to obtain the position of the quasi-touch point, thereby removing ghost points in the quasi-touch point set, and being able to locate the real touch point.
  • the accurate positioning of multiple touch points of the infrared touch screen can be realized by the method of the invention.
  • the invention has small calculation amount and high speed in the process of locating the touch points.
  • This embodiment is based on the specific description of the fourth embodiment.
  • the traversal module 3 includes a first data traversal module 61 and a second data traversal module 62.
  • the first data traversal module 61 in a first direction of the infrared touch screen, according to an accepted or mutually exclusive relationship between the occluded light being traversed and the occluded light that has been traversed, to the first party All upward occluded rays are categorized by collection. The occluded rays associated with the same target point in the first direction are sorted into the same set.
  • the second data traversal module 62 in the second direction of the infrared touch screen, according to the accepted or mutually exclusive relationship between the occluded light being traversed and the occluded light that has been traversed, the second direction All of the above are occluded rays for collection classification.
  • the occluded rays associated with the same target point in the second direction are sorted into the same set.
  • the quasi-touch point calculation module 7 intersects the occluded light rays in the set of the first direction with the occluded light rays in the set of the second direction to pass Intersect intersections to determine the set of quasi-touch points.
  • first data traversal module 61 and the second data traversal module 62 perform the following operations in the first direction and the second direction, respectively: A. classifying the first occlusion ray LI in the traversal process in the first set CI of the specific direction;
  • step C Repeating step C, completing traversal of the light of the infrared emitting end or the infrared receiving end in the first direction and the second direction, respectively, thereby obtaining M sets of the first direction and the first N sets of directions.
  • the quasi-touch point calculation module 7 obtains the occluded ray in the Xth set Cx (1 ⁇ x ⁇ M ) obtained by the first data traversal module 61, and the traversal module by the second data traversing module.
  • the occluded rays in the yth set Cy ( l ⁇ y ⁇ N ) intersect to obtain a set of intersections.
  • One of the intersection points is a ray information of a quasi-touch point.
  • the first data traversal module 61 includes a first ray culling sub-module 611
  • the second data traversal module 62 includes a second ray culling sub-module 621.
  • the first ray culling sub-module 611 discards the first occlusion ray when the first occlusion ray Li of the first direction is accepted by at least two of the k sets of the first direction.
  • the second ray culling sub-module 621 discards the first occlusion ray when the first occlusion ray Li in the second direction is accepted by at least two of the k sets in the second direction.
  • the touch point positioning device in this embodiment classifies the occluded rays associated with the same target point in a specific direction into the same set by analyzing the distribution of the light blocked by the touch object, and the second direction is The set is intersected with the set of the first direction to obtain the ray information of the quasi-touch point, and the position of the real touch point can be obtained according to the quasi-touch point.
  • accurate positioning of multiple touch points on the infrared touch screen can be achieved. In the process of locating the touch point, the calculation amount is small and the speed is fast. Higher quasi-touch point accuracy can be achieved by removing interference from occluded light that is simultaneously accepted by multiple sets.
  • This embodiment is based on the specific description of the fourth embodiment.
  • the traversal module 3 includes a first data traversal module 61 and a second data traversal module 62.
  • the first data traversing module 61 determines each of the first directions according to the relationship between the occluded ray being traversed in the first direction and the accepted or mutually exclusive relationship and positional relationship of the occluded ray that has been traversed. The starting and ending boundary of the target point.
  • the second data traversal module 62 determines each of the second directions according to the relationship between the occluded ray being traversed in the second direction and the accepted or mutually exclusive relationship and positional relationship of the occluded ray that has been traversed. Starting point of the target point Line and termination boundary lines.
  • the quasi-touch point calculation module 7 intersects the boundary line of each target point in the first direction with the boundary line of each target point in the second direction to pass The point of intersection is to determine the set of quasi-touch points.
  • first data traversal module 61 and the second data traversal module 62 perform the following operations in the first direction and the second direction, respectively:
  • the first occlusion ray L1 in the traversal process is used as a start boundary line and a termination boundary line of the first target point in the specific direction;
  • B. Determine a relationship between the second occlusion ray L2 and the first target point, where the second occluded light L2 is used when the second occlusion ray L2 replies with the first target point a starting boundary line and a ending boundary line of the second target point, determining a current boundary of the second occlusion ray L2 and the first target point when the second occlusion ray L2 is accepted by the first target point a positional relationship of the line L1, and determining a new start boundary line and a new end boundary line of the first target point according to the positional relationship;
  • step C Repeating step C, completing traversal of the light of the infrared emitting end or the infrared receiving end in the first direction and the second direction, respectively, thereby obtaining a boundary of M target points in the first direction a line and a boundary line of N target points in the second direction.
  • the quasi-touch point calculation module 7 compares the start boundary line and the end boundary line of the Xth target point (1 ⁇ X ⁇ M ) in the first direction with the second direction The starting boundary line and the ending boundary line of the y target point (l ⁇ y ⁇ N ) intersect to obtain a set of intersection points.
  • One of the intersection points is a ray information of a quasi-touch point.
  • the first data traversal module 61 includes a first boundary determination sub-module 612
  • the second data traversal module 62 includes a second boundary processing sub-module 321 .
  • the first boundary determination sub-module 612 and the second boundary determination sub-module 622 perform the following operations in the first direction and the second direction, respectively:
  • the i-th occlusion ray Li is accepted by the j-th target point among the k target points, if the starting point of the ith occluded ray and the j-th target point The starting point of the line is the same, and the ending point of the occlusion ray is in the opposite direction of the traversing direction to which the ending point of the starting boundary line of the jth target point belongs, and the ith occlusion ray is used as the j a new starting boundary line of the target point, if the starting point of the first occlusion ray is the same as the starting point of the ending boundary line of the jth target point, and the ending point of the occlusion ray is at the jth target The ith occlusion ray is used as the new termination boundary line of the jth target point in the positive direction of the traversal direction to which the termination point of the termination boundary line belongs.
  • the first boundary determining submodule 612 and the second boundary determining submodule 622 And performing, in the first direction and the second direction, respectively: when the ith occlusion ray Li is accepted by the jth target point among the k target points, if the occlusion ray is If the current starting boundary line of the jth target point intersects, the first occlusion ray and the current starting boundary line are both used as a new starting boundary line of the jth target point, if the occlusion ray is And intersecting the current termination boundary line of the jth target point, and using the ith illusion ray and the current termination boundary line as the new termination boundary line of the jth target point.
  • the first data traversal module 61 includes a first ray culling sub-module 611
  • the second data traversal module 62 includes a second ray culling sub-module 621.
  • the first ray culling sub-module 611 discards the first occlusion ray when the ith occlusion ray Li in the first direction is accepted by at least two of the k target points.
  • the second ray culling sub-module 621 discards the first occlusion ray when the ith occlusion ray Li in the second direction is accepted by at least two of the k target points.
  • the touch point positioning device of the embodiment combines the boundary line in the second direction with the boundary line in the first direction by finding a boundary line blocked by the touch object to obtain the light information of the quasi-touch point, and can Get the position of the real touch point based on the quasi-touch point.
  • accurate positioning of multiple touch points on the infrared touch screen can be achieved.
  • the touch point positioning device in the embodiment uses two rays as the boundary line, thereby avoiding the accuracy of the quasi-touch point due to improper selection of the boundary line.
  • the present embodiment provides a touch screen using the touch positioning device of the above embodiment, which utilizes the modules of the touch positioning device in the above embodiment to implement the touch positioning function.
  • the touch screen of the present embodiment includes a plurality of opposing infrared emitting elements 2 and infrared receiving elements 3, wherein light emitted by at least one of said infrared emitting elements 2 is received by a plurality of said infrared receiving elements 3.
  • the touch screen further includes: a data collecting unit 9 configured to collect light data between the infrared emitting element 2 and the infrared receiving element 3; a data processing unit 5, configured to the infrared emitting element 2 and the The light data between the infrared receiving elements 3 is processed.
  • the data processing unit 5 comprises a traversal module 6, a quasi-touch point calculation module 7 and a real touch point calculation module 8.
  • the traversing module 6 starts traversing the collected light of the infrared emitting end or the infrared receiving end along a specific direction of the infrared touch screen, wherein the specific direction includes a first direction and a second direction.
  • the traversal module 6 determines the ray information of the target point in the particular direction based on the accepted or mutually exclusive relationship between the occluded ray being traversed and the occluded ray that has been traversed.
  • the ray information of the specific direction includes ray information of the target point in the first direction and ray information in the second direction.
  • the quasi-touch point calculation module 7 combines the ray information of the target point in the first direction and the ray information in the second direction to obtain a set of quasi-touch points.
  • the real touch point calculation module 8 removes ghost points in the set of quasi-touch points to determine a real touch point.
  • the touch screen of the embodiment collects the light data between the receiving end and the transmitting end, and uses the data processing unit to process the light data between the infrared receiving component and the infrared emitting component, by accepting or mutually exclusive relationship between the blocked light rays. Determining the position of the target point, and combining the first position and the second position of the target point to obtain the position of the quasi-touch point, and then go In addition to the ghost points in the touch point, the real touch point is located. With the touch screen described in this embodiment, accurate positioning of multiple touch points can be achieved. In the process of locating the touch point, the calculation amount is small and the speed is fast.
  • the traversal module includes a first data traversal module and a second data traversal module.
  • the first data traversal module is in the first direction of the infrared touch screen, in accordance with an accepting or mutually exclusive relationship between the occluded light being traversed and the occluded light that has been traversed, in the first direction
  • All of the occluded rays are categorized by collection.
  • the occluded rays associated with the same target point in the first direction are sorted into the same set.
  • the second data traversal module is in the second direction of the infrared touch screen, in accordance with an accepting or mutually exclusive relationship between the occluded light being traversed and the occluded light that has been traversed, in the second direction All of the occluded rays are categorized by collection. The occluded rays associated with the same target point in the second direction are sorted into the same set.
  • the quasi-touch point calculation module intersects the occluded ray in the set of the first direction one by one with the occluded ray in the set of the second direction to determine the quasi-touch point by intersecting the intersection point set.
  • the first data traversal module includes a first ray culling sub-module
  • the second data traversal module includes a second ray culling sub-module
  • the first ray culling sub-module discards the occlusion ray when an occlusion ray in the first direction is accepted by at least two of the sets of the first direction.
  • the second ray culling sub-module discards the occlusion ray when an occlusion ray in the second direction is accepted by at least two of the sets of the second direction.
  • the touch screen of the embodiment analyzes the distribution of the occluded light of the touch object through each module of the data processing unit, and classifies the occluded rays associated with the same target point in a specific direction into the same set, and the second The set of directions is combined with the set of the first direction to obtain the ray information of the quasi-touch point, and the position of the real touch point can be obtained according to the quasi-touch point.
  • accurate positioning of multiple touch points can be achieved. In the process of locating the touch point, the calculation amount is small and the speed is fast. In addition, higher quasi-touch point accuracy can be obtained by removing interference from occluded light that is simultaneously accepted by multiple sets.
  • the traversal module includes a first data traversal module and a second data traversal module.
  • each of the first data traversing module Determining, in the first direction, each of the first data traversing module according to an accepting or mutually exclusive relationship and a positional relationship between the occluded ray being traversed in the first direction and the occluded ray that has been traversed The starting and ending boundary of the target point.
  • each of the second directions Determining, by the second data traversing module, each of the second directions according to an accepting or mutually exclusive relationship and a positional relationship between the occluded ray being traversed in the second direction and the occluded ray that has been traversed The starting and ending boundary of the target point.
  • the quasi-touch point calculation module sets a boundary line of each target point in the first direction with the second direction The boundary lines of the respective target points on the intersection intersect, and the set of the quasi-touch points is determined by passing the intersection point.
  • first data traversal module includes a first ray culling submodule
  • second data traversal module includes a second ray culling submodule
  • the first ray culling sub-module discards the occlusion ray when an occlusion ray in the first direction is accepted by at least two of the current target points in the first direction.
  • the second ray culling sub-module discards the occlusion ray when an occlusion ray in the second direction is accepted by at least two of the current target points in the second direction.
  • the touch screen of this embodiment finds the boundary line of the light blocked by the touch object by the first data traversal module and the second data traversal module, and the boundary line of each target in the second direction is determined by the quasi-touch point calculation module.
  • the boundary lines of the respective targets in one direction are combined and combined to obtain the ray information of the quasi-touch points, and the position of the real touch points can be obtained according to the quasi-touch points.
  • the touch screen of this embodiment can achieve accurate positioning of multiple touch points. In the process of locating the touch point, only the boundary line of the target point is calculated, which further reduces the calculation amount and the speed is faster.
  • the present embodiment uses two rays as boundary lines, thereby avoiding the accuracy of the quasi-touch points due to improper selection of the boundary lines.

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

本发明公开一种触摸点定位方法,涉及光电技术领域,为提高红外触摸技术的触摸精度而设计。本发明的触摸点定位方法,应用于红外触摸屏,该方法包括:沿红外触摸屏的特定方向开始遍历红外发射端或红外接收端的光线;根据正在遍历的被遮挡光线与已遍历过的被遮挡光线之间的接受或互斥的关系,确定目标点在特定方向的光线信息;将目标点在第一方向的光线信息和在第二方向的光线信息进行相交组合以得到准触摸点集合;去除准触摸点集合中的鬼点,从而确定真实触摸点。本发明的实施例还提供与所述方法相对应的触摸定位装置和应用触摸定位装置的触摸屏,本发明实施例用于实现多点触摸。

Description

一种触摸点定位方法、 装置及触摸屏 技术领域
本发明涉及光电技术领域, 尤其涉及一种触摸点定位方法、 装置及触摸屏。 背景技术
红外触摸屏作为一种生产工艺简单、 生产成本较低的交互设备在诸多领域得到了广泛应 用。 红外触摸屏的基本结构是在触摸框架周边按照一定的顺序安装若干对红外发射和红外接 收元件。 这些红外发射和红外接收元件按照——对应的方式组成发射接收对, 沿着所述框架 边缘构成一个相互垂直的发射接收阵列, 在处理器的控制下按照一定的顺序分别接通每个发 射接收对, 检测每个发射接收对之间的红外光线是否被阻断, 以此来判定是否有触摸事件发 生。 当只有一个触摸点时, 红外触摸屏可以稳定的工作, 但随着多触摸点的应用增多, 当对 红外触摸屏上的两个或两个以上触摸点同时执行触摸操作时, 触摸处理系统可能会错误地计 算触摸点位置坐标, 导致报告错误的触摸点。
因此, 业界对红外触摸技术作了很多有益的尝试来实现多点触摸。 红外多点触摸的现有 技术之一是通过选取准触摸点集合和定位真实触摸点两大步骤来实现多触摸点的定位。其中, 准触摸点集合的选取包括对扫描数据进行分析, 并根据所分析的数据, 选取包括鬼点 (非真 实触摸点)和真实触摸点在内的点集合; 定位真实触摸点则包括求取校验点集, 并根据校验 点集去除准触摸点集合中的鬼点, 从而定位真实触摸点。 所选取的准触摸点集合的准确率, 会直接影响后续的真实触摸点定位的准确性。
随着对触摸屏的分辨率需求的增高以及小触摸点应用的逐渐增多, 现有的触摸定位方法 的弊端正逐渐显现, 例如, 对小触摸点的定位会出现遗漏或是错误(例如, 一个小触摸点被 定位成多个触摸点)等。 这大多是因为准触摸点集合的选取出现遗漏或者不准确, 因此, 更 为先进的应用于红外触摸屏的触摸点定位方法一直在不断地探索当中。 发明内容
本发明提供一种触摸点定位方法及触摸定位装置, 用以提高红外触摸技术的触摸精度。 根据本发明的实施例的触摸点定位方法可应用于红外触摸屏, 所述红外触摸屏包括多个 相对的红外发射元件和红外接收元件, 其中, 至少一个所述红外发射元件发出的光线被多个 所述红外接收元件接收, 该方法包括:
沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接收端的光线, 所述 特定方向包括第一方向和第二方向;
根据正在遍历的被遮挡光线与已遍历过的被遮挡光线之间的接受或互斥的关系, 确定目 标点在所述特定方向的光线信息, 所述特定方向的光线信息包括目标点在第一方向的光线信 息和在第二方向的光线信息; 将所述目标点在第一方向的光线信息和在第二方向的光线信息进行相交组合, 以得到准 触摸点集合;
去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。
与所述触摸点定位方法相对应地, 本发明的实施例还提供一种触摸定位装置, 其应用于 红外触摸屏, 所述红外触摸屏包括多个相对的红外发射元件和红外接收元件, 其中, 至少一 个所述红外发射元件发出的光线被多个所述红外接收元件接收, 所述触摸定位装置包括数据 处理单元, 用于对所述红外发射元件和所述红外接收元件之间的光线数据进行处理, 所述数 据处理单元包括遍历模块、 准触摸点计算模块和真实触摸点计算模块; 其中,
所述遍历模块用于沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接 收端的光线, 所述特定方向包括第一方向和第二方向, 并根据正在遍历的被遮挡光线与已遍 历过的被遮挡光线之间的接受或互斥的关系, 确定目标点在所述特定方向的光线信息, 所述 特定方向的光线信息包括目标点在第一方向的光线信息和在第二方向的光线信息;
所述准触摸点计算模块用于将所述目标点在第一方向的光线信息和在第二方向的光线信 息进行相交组合, 以得到准触摸点集合;
所述真实触摸点计算模块用于去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。 本发明的实施例还提供一种应用所述触摸定位装置的触摸屏, 其包括多个相对的红外发 射元件和红外接收元件, 其中, 至少一个所述红外发射元件发出的光线被多个所述红外接收 元件接收, 所述触摸屏还包括:
数据采集单元, 用于采集所述红外发射元件和所述红外接收元件之间的光线数据; 数据处理单元,用于对所述红外发射元件和所述红外接收元件之间的光线数据进行处理, 所述数据处理单元包括遍历模块、 准触摸点计算模块和真实触摸点计算模块; 其中,
所述遍历模块用于沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接 收端的光线, 所述特定方向包括第一方向和第二方向, 并根据正在遍历的被遮挡光线与已遍 历过的被遮挡光线之间的接受或互斥的关系, 确定目标点在所述特定方向的光线信息, 所述 特定方向的光线信息包括目标点在第一方向的光线信息和在第二方向的光线信息;
所述准触摸点计算模块用于将所述目标点在第一方向的光线信息和在第二方向的光线信 息进行相交组合, 以得到准触摸点集合;
所述真实触摸点计算模块用于去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。 根据本发明的实施例的触摸点定位方法、 装置及触摸屏, 通过遍历红外接收元件和红外 发射元件之间的光线, 根据被遮挡光线之间的接受或互斥的关系确定与目标点相关联的光线 信息, 并将目标点在第一方向的光线信息和在第二方向的光线信息进行组合以得到准触摸点 的位置, 进而去除准触摸点中的鬼点, 能够定位真实触摸点。 通过本发明所述的方法和装置, 可以实现红外触摸屏中多个触摸点的准确定位, 本发明在定位触摸点的过程中, 计算量小, 速度快。 附图说明
为了更清楚地说明本发明的实施例,下面将对实施例中所需^ ί吏用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为应用根据本发明的实施例一的触摸定位方法的触摸屏的结构示意图;
图 2为根据本发明的实施例一的触摸定位方法的流程示意图;
图 3为表示本发明的实施例中的光线之间的接受关系的示意图;
图 4为表示本发明的实施例中的光线之间的互斥关系的示意图;
图 5为表示在根据本发明的实施例二中的光线被两个集合接受的情况的示意图; 图 6为表示在根据本发明的实施例三中的光线起始点和终止点的示意图;
图 7为根据本发明的实施例四的触摸定位装置的模块示意图;
图 8为根据本发明的实施例五的触摸定位装置的模块示意图;
图 9为根据本发明的实施例六的触摸定位装置的模块示意图;
图 10是根据本发明的实施例七的触摸屏的结构示意图;
图 11是在根据本发明的实施例一中的确定真实触摸点的示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明 中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
实施例一
本实施例旨在提供一种触摸点定位方法, 其基于红外触摸屏硬件结构, 用以提高红外触 摸技术的触摸检测精度。 参见图 1, 所述红外触摸屏包括多个相对的红外发射元件 2和红外 接收元件 3, 其中, 至少一个所述红外发射元件 2发出的光线被多个所述红外接收元件 3接 收。 参见图 2, 该方法包括如下步骤:
在步骤 101, 沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接收端 的光线, 所述特定方向包括第一方向和第二方向。
第一方向或第二方向为在触摸屏的一个接收端 (或发送端)的多个红外接收元件(或红 外发射元件) 的排列方向, 所述第一方向和所述第二方向沿着不同的接收端 (或发射端) 中 的元件排列顺序进行延伸。 特别对于矩形触摸屏来说, 第一方向和第二方向分别为水平方向 和垂直方向。
一个红外发射元件所发出的光线被多个接收元件接收。 所述多个接收元件可以包括偏轴 接收元件, 也可以包括轴正对接收元件。 在本实施例中, 每个发射元件所发出的光线能够被 与之垂直正对的接收元件和与之偏离的接收元件接收。 同理, 每个接收元件能够接收与之垂 直正对的发射元件和与之偏离的发射元件所发出的光线。 采集在发射端或接收端的各元件所 发射或接收的光线数据, 故光线的遍历可以对发射端的光线数据进行遍历, 也可以对接收端 的光线数据进行遍历。 本发明的实施例所提及的 "遍历光线"是指遍历所采集到的光线数据, 而非光线本身。 根据本发明的实施例分别遍历第一方向和第二方向的光线数据。
在步骤 102, 根据正在遍历的被遮挡光线与已遍历过的被遮挡光线之间的接受或互斥的 关系确定目标点在所述特定方向的光线信息。
在该步骤中, 所述特定方向的光线信息包括目标点在第一方向的光线信息和在第二方向 的光线信息, 即, 通过遍历第一方向上的光线来确定目标点在第一方向的光线信息, 通过遍 历第二方向上的光线来确定目标点在第二方向的光线信息。
根据光线在触摸区域中的存在关系, 光线与光线之间的关系可以分为相互接受和互斥两 种。 其中, 两条光线之间相互接受包括如下情况:
( 1 )参见图 3中的 3a, 两条光线的发射端相同, 接收端相邻;
( 2 )参见图 3中的 3b, 两条光线的发射端相邻, 接收端相同;
( 3 )参见图 3中的 3c和 3d, 两条光线在触摸屏区域内相交(两条光线的接收端或发射 端可以相邻也可以不相邻) 。
两条光线之间互斥包括如下情况:
( 1 )参见图 4中的 4a, 两条光线平行;
( 2 )参见图 4中的 4b, 两条光线的相交点在触摸屏区域之外;
( 3 )参见图 4中的 4c, 两条光线的发射端相同, 接收端之间至少相隔一个接收元件;
( 4 )参见图 4中的 4d, 两条光线的接收端相同, 发射端之间至少相隔一个发射元件。 当触摸物进入触摸区域时, 在触摸物触碰的位置处, 光线被遮挡, 故通过对被遮挡光线 进行分析, 可以确定触摸物的位置, 本实施例结合光线与光线之间的接受或互斥的关系, 在 第一或第二方向上, 对被遮挡光线进行分析, 以确定目标点在第一或第二方向的光线信息。
在步骤 103, 将所述目标点在第一方向的光线信息和在第二方向的光线信息进行相交组 合以得到准触摸点集合。
由于才艮据不同方向的两个坐标能够确定一个点, 因此, 本实施例将第一方向上的目标点 的光线信息和第二方向上的目标点的光线信息进行组合, 可以得到若干位置点的集合。 然后, 根据位置点的集合, 可以确定准触摸点的位置。 由于多线相交组合的特性, 因此, 在组合过 程中, 会出现非真实触摸点, 这些非真实触摸点成为鬼点。 因此, 如果是多点触摸, 则准触 摸点集合是包括鬼点和真实触摸点的集合。
在步骤 104, 去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。
参见图 11 , 在得到准触摸点集合后, 可以采用如下方案去除准触摸点集合中的鬼点。 首 先, 以当前待处理的准触摸点 1为中心, 找到至少一条不与其他准触摸点交叉的直线 al。 然 后, 选择直线 al在触摸检测区内的两个端点所对应的红外发射元件 21和红外接收元件 22。 检测红外发射元件 21和红外接收元件 22之间的光线, 并判断该光线是否被遮挡。 若该光线 被遮挡, 则当前待处理的准触摸点 1为真实触摸点, 否则, 该准触摸点 1为鬼点。 使用上述 步骤依次判断准触摸点集合中的其余准触摸点是真实触摸点还是鬼点。
最后, 将真实触摸点的坐标转换成屏幕的真实坐标并输出, 即将真实触摸点的内部坐标 值转换为安装所述触摸屏的计算机系统所能接受的数据, 并通过所述触摸屏的接口, 传输到 所述计算机系统之中。
以上所描述的的去除鬼点以定位真实触摸点的方法仅用于举例, 但并不限于此, 也可以 采用其它方法去除准触摸点集合中的鬼点。
根据本实施例的触摸点定位方法通过遍历红外接收元件和红外发射元件之间的光线, 根 据被遮挡光线之间的接受或互斥的关系确定与目标点相关联的光线信息, 并将目标点在第一 方向的光线信息和在第二方向的光线信息进行组合, 以得到准触摸点集合, 进而去除准触摸 点集合中的鬼点, 能够定位真实触摸点。 通过本实施例的方法, 可以实现红外触摸屏上多个 触摸点的准确定位。 此外, 本实施例在定位真实触摸点的过程中, 计算量小, 速度快。
为了进一步说明本发明的技术方案, 下面对本发明的具体实施方式进行举例说明, 以下 实施例中的光线与光线之间的接受或互斥的关系均可以参考实施例一所述的。
实施例二
本实施例所述的触摸点定位方法是基于实施例一的具体说明。
首先,沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接收端的光线, 其中, 所述特定方向包括第一方向和第二方向。
接着, 根据正在遍历的被遮挡光线与已遍历过的被遮挡光线之间的接受或互斥的关系, 确定目标点在所述特定方向的光线信息。
具体地, 在所述红外触摸屏的第一方向和第二方向上, 按照正在遍历的被遮挡光线与已 遍历过的被遮挡光线之间的接受或互斥的关系, 对全部被遮挡光线进行集合分类, 其中, 在 所述特定方向上, 与同一个目标点相关联的被遮挡光线被分类在同一个集合中。
一个触摸物所遮挡的光线在同一个方向 (第一或者第二)方向上集中分布, 因此, 本实 施例将与同一个目标点相关联的被遮挡光线分类在同一个集合中, 以集合的形式进行目标点 之间的区分, 不同的目标点形成不同的集合。
本实施例并不限制在第一方向上对被遮挡光线进行分类和在第二方向上对被遮挡光线进 行分类这两个操作的执行顺序。
进一步地, 在第一方向上或第二方向上, 执行如下操作:
A、 将遍历过程中的第一 遮挡光线 L1分类在所述特定方向的第一集合 C1中。
按照遍历方向, 依次遍历每个接收元件或是发射元件的每根光线, 直至找到第一根被遮 挡光线, 将所述第一根被遮挡光线 L1作为第一目标点的一个光线分类在集合 C1中。
B、确定第二 遮挡光线 L2与所述第一集合 C 1的关系。 当所述第二 遮挡光线 L2 被所述第一集合 C1接受时, 将所述第二 遮挡光线分类在所述第一集合 C1中。 当所述第 二 遮挡光线 L2与所述第一集合 C1相斥时, 将所述第二 遮挡光线 L2分类在第二集 合 C2中。
在以上的描述中, 所谓的光线被集合接受是指光线被该集合中的任一条光线接受, 所谓 的光线与集合相斥是指光线与该集合中的所有光线之间均互斥。
光线被集合接受是基于光线之间相互接受或互斥的关系, 即, 光线与集合中的每根光线 之间进行接受和互斥的判断。 对于本实施例, 如果被遮挡光线被集合中的任一 遮挡光线 接受, 则表明这两条被遮挡光线之间相互接受; 当被遮挡光线不被集合中的任一 遮挡光 线接受时, 则表明这两# ^皮遮挡光线之间互斥。
C、 确定第 i根(i > 3 )被遮挡光线 Li与 k个集合的关系, 其中, 所述 k个集合根据已 遍历过的被遮挡光线而确定。 当所述第 i 遮挡光线 Li被所述 k个集合中的第 j集合 Cj 接受时, 将所述第 i 遮挡光线分类在所述第 j集合 Cj 中。 当所述第 i 遮挡光线 Li 与所述 k个集合均相斥时, 将所述第 i # ^皮遮挡光线 Li分类在第 k+1集合 Ck+1中。
如果被遮挡光线被集合接受, 则表明该被遮挡光线属于该集合所代表的目标点, 故该被 遮挡光线被分类在该集合中。 同理, 如果被遮挡光线与集合相斥, 则表明该被遮挡光线与该 集合所代表的目标点不关联, 则判定该被遮挡光线属于其它目标点。 进一步地, 如果所有集 合均与该被遮挡光线相斥, 则表明该被遮挡光线属于新的目标点。
进一步地, 在步骤 C确定第 i ( i > 3 ) 遮挡光线 Li与 k个集合的关系时, 还包括如 下情况:
当所述第 遮挡光线 Li被所述 k个集合中的至少两个集合接受时, 则舍弃所述第 i 遮挡光线。
如果一 #^皮遮挡光线同时被两个集合接受, 则表明该被遮挡光线属于两个目标点。但是, 参见图 5, 以发射端的光线数据为例, 被遮挡光线 L1属于第一目标点的集合 Cl, 被遮挡光 线 L2和 L3属于第二目标点的集合 C2。 将被遮挡光线 L4与集合 C1和集合 C2中的每根光 线进行判断, 发现被遮挡光线 L4与 L1相互接受且 L4与 L2、 L3也相互接受, 这样, 被遮 挡光线 L4所在的一个目标点可能是假的映像, 因此, 为了避免影响最终目标点的坐标的准 确度, 将该被遮挡光线 L4舍弃。
D、 重复步骤 C, 分别在所述第一方向和所述第二方向上完成对所述红外发射端或红外 接收端的光线的遍历, 从而得到所述第一方向的 M个集合和所述第二方向的 N个集合。
因此, 通过分别在第一方向和第二方向上执行步骤 A至步骤 D, 能够确定第一方向的 M 个集合和第二方向的 N个集合。
然后, 将所述目标点在第一方向的光线信息和在第二方向的光线信息进行相交组合以得 到准触摸点集合。
在本实施例中, 具体地, 所述第一方向的集合中的被遮挡光线一一与所述第二方向的集 合中的被遮挡光线进行相交, 以通 目交交点来确定准触摸点集合。
进一步地, 在该步骤中, 将所述第一方向的第 X集合 Cx ( 1 < χ < Μ )中的被遮挡光线一 一与所述第二方向的第 y集合 Cy ( l < y < N ) 中的被遮挡光线进行相交以得到交点集合。 一 个所述交点集合为一个准触摸点的光线信息, 并且可以将交点集合的位置坐标的中心作为准 触摸点的最终位置。
这样, 将第一方向的 M个集合与第二方向的 N个集合进行相交组合, 最终可得到 M*N 个准触摸点, 所述 M*N个准触摸点中包括真实触摸点和由于相交组合而引起的鬼点。
然后, 去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。
本实施例所述的触摸点定位方法通过分析触摸物所遮挡的光线的分布情况, 将在特定方 向上与同一个目标点相关联的被遮挡光线分类在同一个集合中, 并将第二方向的集合与第一 方向的集合进行相交组合以得到准触摸点的光线信息, 能够根据准触摸点得到真实触摸点的 位置。 通过本实施例的方法, 可以实现红外触摸屏上多个触摸点的准确定位。 此外, 本发明 在定位触摸点的过程中, 计算量小, 速度快。 由于除去了同时被多个集合接受的被遮挡光线 的干扰, 因此, 所得到的准触摸点的精度更高。
实施例三
本实施例所述的触摸点定位方法是基于实施例一的具体说明。
首先,沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接收端的光线, 所述特定方向包括第一方向和第二方向。
接着, 根据正在遍历的被遮挡光线与已遍历过的被遮挡光线之间的接受或互斥的关系, 确定目标点在所述特定方向的光线信息。
具体地, 在所述红外触摸屏的第一方向和第二方向上, 根据正在遍历的被遮挡光线与已 遍历过的被遮挡光线之间的接受或互斥的关系以及相对位置关系, 确定各目标点的起始边界 线和终止边界线。
本实施例利用光线之间相互接受或互斥的关系以及光线之间的相对位置关系, 能够确定 与目标点相关联的被遮挡光线, 并进一步确定目标点的边界线。 通过边界线计算准触摸点的 位置, 能够更进一步地减少计算量。
本实施例并不限制在第一方向上对被遮挡光线进行遍历和在第二方向上对被遮挡光线进 行遍历这两个操作的执行顺序。
进一步地, 在该步骤 302中可包括如下操作:
A、将遍历过程中的第一 遮挡光线 L1作为所述特定方向上的第一目标点的起始边界 线和终止边界线。
按照遍历方向, 依次遍历每个接收元件或发射元件的每根光线, 直至找到第一 遮挡 光线。 由于一根光线无法进行相对位置的判断, 因此, 将所述第一 遮挡光线同时作为第 一目标点的起始边界线和终止边界线, 以作为接下来所遍历到的被遮挡光线的参考边界线。
B、 确定第二根被遮挡光线 L2与所述第——一目标点的关系。 当所述第二 遮挡光线 L2 与所述第一目标点相斥时, 将所述第二 遮挡光线 L2作为第二目标点的起始边界线和终 止边界线。 当所述第二 遮挡光线 L2被所述第一目标点接受时, 确定所述第二# ^皮遮挡 光线 L2与所述第一目标点的当前边界线 L1的位置关系。 然后, 才艮据该位置关系, 确定所述 第一目标点的新起始边界线和新终止边界线。
在本实施例中, 所谓的光线被目标点接受是指光线被目标点的起始边界线或终止边界线 接受, 所谓的光线与目标点相斥是指光线与目标点的起始边界线和终止边界线均相斥。
如果第二# ^皮遮挡光线与第一目标点的边界线相斥, 则表明第一 #^皮遮挡光线与第二根 被遮挡光线分别与不同的目标点相关联, 此时, 将第二 遮挡光线作为新的目标点 (即第 二目标点)的起始边界线和终止边界线。 由于与第二目标点相关联的被遮挡光线只有一根, 无法判断光线之间的相对位置, 因此, 将第二 遮挡光线同时作为第二目标点的起始边界 线和终止边界线。
C、 确定第 i根(i > 3 )被遮挡光线 Li与 k个目标点的关系, 其中, 所述 k个目标点根 据已遍历过的被遮挡光线而确定。 当所述第 遮挡光线 Li与所述 k个目标点均相斥时, 将所述第 遮挡光线作为第 k+1 目标点的起始边界线和终止边界线。 当所述第 遮 挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 确定所述第 i根遮挡光线与所述第 i目 标点的当前边界线的位置关系。 然后, 根据该位置关系, 确定所述第 i 目标点的新起始边界 线和新终止边界线。
依次遍历所有的光线, 对于任一 遮挡光线, 判断其与已存在的目标点的关联关系。 如果该被遮挡光线不与任何已存在的目标点相关联, 则设置新的目标点, 从而确定 k个目标 点。
如果第 遮挡光线与第 j 目标点的边界线相斥,则表明第 遮挡光线与不同于第 j 目标点的目标点相关联, 将第 i #^皮遮挡光线设为新的目标点的起始边界线和终止边界线。 由于与新的目标点第相关联的被遮挡光线只有一根, 无法判断光线之间的相对位置, 因此, 将第 i 遮挡光线同时作为所述新的目标点的起始边界线和终止边界线。
进一步地, 在执行步骤 C时, 当所述第 i 遮挡光线 Li被所述 k个目标点中的第 j 目 标点接受时,如果所述第 遮挡光线的起始点与所述第 j 目标点的起始边界线的起始点相 同,而所述第 i 遮挡光线的终止点在所述第 j 目标点的起始边界线的终止点所属的遍历方 向的反方向上,则将所述第 遮挡光线作为所述第 j 目标点的新起始边界线。如果所述第 i 遮挡光线的起始点与所述第 j 目标点的终止边界线的起始点相同, 而所述第 i *f皮遮挡 光线的终止点在所述第 j 目标点的终止边界线的终止点所属的遍历方向的正方向上, 则将所 述第 遮挡光线作为所述第 j 目标点的新终止边界线。
光线的起始点和终止点分别是光线在触摸区域内的线段的一端。 参见图 6中的 6a, 如果 遍历接收端的光线, 则光线的起始点为红外接收元件 3, 光线的终止点为红外发射元件 2。 参 见图 6中的 6b, 如果遍历发射端的光线, 则光线的起始点为红外发射元件 2, 光线的终止点 为红外接收元件 3。 当然, 本实施例所述的起始点和终止点仅用于区分光线的两端, 任何用 于区分光线的两端的名称, 在不脱离本发明的实质的情况下, 均在本发明的保护范围之内。
进一步地, 当所述第 i #^皮遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 如果 所述第 遮挡光线与所述第 j 目标点的起始边界线相交,则将所述第 遮挡光线和所 述当前起始边界线均作为所述第 j 目标点的新起始边界线。如果所述第 遮挡光线与所述 第 j 目标点的终止边界线相交,则将所述第 i #^皮遮挡光线和所述当前终止边界线均作为所述 第 j 目标点的新终止边界线。
通过在第 i 遮挡光线与目标点的当前起始边界线(或终止边界线)相交时将两条光 线均作为新的起始边界线(或终止边界线) , 能够提高目标点的定位准确性。
进一步地, 在确定第 i根( i > 3 )被遮挡光线 Li与 k个目标点的关系时, 还包括如下情 况:
当所述第 遮挡光线 Li被所述 k个目标点中的至少两个目标点接受时, 舍弃所述第 遮挡光线。
如果一 #^皮遮挡光线同时被两个集合接受, 则表明该被遮挡光线属于两个目标点, 但其 中一个目标点可能为假的映像, 因此, 为了提高最终的目标点坐标的准确度, 舍弃该被遮挡 光线。
D、 重复步骤 C, 分别在所述第一方向和所述第二方向上完成对所述红外发射端或红外 接收端的光线的遍历,从而得到所述第一方向上的 M个目标点的边界线和所述第二方向上的 N个目标点的边界线。
然后, 将所述目标点在第一方向的光线信息和在第二方向的光线信息进行相交组合以得 到准触摸点集合。
在本实施例中, 具体地, 将所述第一方向上的目标点的边界线与所述第二方向上的目标 点的边界线进行相交, 以通过相交交点来确定准触摸点集合。
进一步地, 在该步骤中可包括如下操作:
将所述第一方向上的第 X 目标点 (1 < χ < Μ )的起始边界线和终止边界线——与所述第 二方向上的第 y 目标点 (l < y < N ) 的起始边界线和终止边界线相交以得到交点集合。 一个 所述交点集合为一个准触摸点的光线信息。 根据交点集合, 选取交点集合位置坐标的中心位 置坐标的中心作为准触摸点的最终位置。
通过将第一方向上的 M个目标点的边界线与第二方向上的 N个目标点的边界线进行相 交组合, 能够得到 M*N个准触摸点, 这 M*N个准触摸点包括真实触摸点和由于相交组合而 引起的鬼点。
然后, 去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。
本实施例所述的触摸点定位方法通过找到触摸物所遮挡的光线的边界线, 并将第二方向 上的边界线与第一方向上的边界线进行相交组合以得到准触摸点的光线信息, 能够根据准触 摸点得到真实触摸点的位置。 通过本实施例的方法, 可以实现红外触摸屏上多个触摸点的准 确定位。 本实施例在定位触摸点的过程中, 只对目标点的边界线进行计算, 能够进一步减少 了计算量, 计算速度更快。 另外, 本实施例的方法对于边界线相交的情况, 以两条光线作为 边界线, 从而避免了由于边界线选取不当而使准触摸点的精度降低。
实施例四 参见图 7, 本实施例提供一种触摸定位装置 4, 其应用于红外触摸屏, 所述红外触摸屏包 括多个相对的红外发射元件和红外接收元件, 其中, 至少一个所述红外发射元件发出的光线 被多个所述红外接收元件接收。 所述触摸定位装置 4包括数据处理单元 5 , 用于对所述红外 发射元件和所述红外接收元件之间的光线数据进行处理。 所述数据处理单元 5包括遍历模块 3、 准触摸点计算模块 7和真实触摸点计算模块 8。
所述遍历模块 3沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接收 端的光线, 其中所述特定方向包括第一方向和第二方向。 然后, 遍历模块 3根据正在遍历的 被遮挡光线与已遍历过的被遮挡光线之间的接受或互斥的关系, 确定目标点在所述特定方向 的光线信息。 所述特定方向的光线信息包括目标点在第一方向的光线信息和在第二方向的光 线信息。
所述准触摸点计算模块 7将所述目标点在第一方向的光线信息和在第二方向的光线信息 进行相交组合, 以得到准触摸点集合。
所述真实触摸点计算模块 8去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。 在本实施例中, 光线之间的接受和互斥关系与实施例一中所述的光线之间的接受与互斥 关系一致。
根据本实施例的触摸点定位装置通过遍历红外接收元件和红外发射元件之间的光线, 根 据被遮挡光线之间的接受与互斥的关系确定目标点的位置, 并将目标点的第一位置和第二位 置进行组合, 以得到准触摸点的位置, 进而去除准触摸点集合中的鬼点, 能够定位真实触摸 点。 通过本发明所述的方法可以实现红外触摸屏多个触摸点的准确定位, 本发明在定位触摸 点的过程中, 计算量小, 速度快。
实施例五
本实施例是基于实施例四的具体说明。
参见图 8, 在本实施例所述的触摸定位装置 4中, 所述遍历模块 3包括第一数据遍历模 块 61和第二数据遍历模块 62。
所述第一数据遍历模块 61在所述红外触摸屏的第一方向上,按照正在遍历的被遮挡光线 与已遍历过的被遮挡光线之间的接受或互斥的关系, 对所述第一方向上的全部被遮挡光线进 行集合分类。在所述第一方向上与同一个目标点相关联的被遮挡光线被分类在同一个集合中。
所述第二数据遍历模块 62在所述红外触摸屏的第二方向上,按照正在遍历的被遮挡光线 与已遍历过的被遮挡光线之间的接受或互斥的关系, 对所述第二方向上的全部被遮挡光线进 行集合分类。在所述第二方向上与同一个目标点相关联的被遮挡光线被分类在同一个集合中。
相应地, 在本实施例中, 所述准触摸点计算模块 7将所述第一方向的集合中的被遮挡光 线一一与所述第二方向的集合中的被遮挡光线进行相交, 以通过相交交点来确定准触摸点的 集合。
进一步地, 所述第一数据遍历模块 61和所述第二数据遍历模块 62分别在所述第一方向 和所述第二方向上执行如下操作: A、 将遍历过程中的第一 遮挡光线 LI分类在所述特定方向的第一集合 CI中;
B、 确定第二# ^皮遮挡光线 L2与所述第一集合 C1的关系, 其中, 当所述第二 遮挡 光线 L2被所述第一集合 C1接受时, 将所述第二 遮挡光线分类在所述第一集合 C1中, 当所述第二 遮挡光线 L2与所述第一集合 C1相斥时, 将所述第二 遮挡光线 L2分类 在第二集合 C2中;
C、 确定第 i根(i > 3 )被遮挡光线 Li与 k个集合的关系, 其中, 所述 k个集合根据已 遍历过的被遮挡光线而确定, 当所述第 i 遮挡光线 Li被所述 k个集合中的第 j集合 Cj 接受时, 将所述第 i 遮挡光线分类在所述第 j集合 Cj 中, 当所述第 i 遮挡光线 Li 与所述 k个集合均相斥时, 将所述第 遮挡光线 Li分类在第 k+1集合 Ck+1中;
D、 重复步骤 C, 分别在所述第一方向和所述第二方向上完成对所述红外发射端或红外 接收端的光线的遍历, 从而得到所述第一方向的 M个集合和所述第二方向的 N个集合。
相应地, 所述准触摸点计算模块 7将由所述第一数据遍历模块 61得到的第 X集合 Cx ( 1 < x < M ) 中的被遮挡光线一一与由所述第二数据遍历模块得到的第 y集合 Cy ( l < y < N ) 中的被遮挡光线进行相交, 以得到交点集合。一个所述交点集合为一个准触摸点的光线信息。
进一步地, 在本实施例中, 所述第一数据遍历模块 61包括第一光线剔除子模块 611, 所 述第二数据遍历模块 62包括第二光线剔除子模块 621。
所述第一光线剔除子模块 611在所述第一方向的第 遮挡光线 Li被所述第一方向的 k个集合中的至少两个集合接受时舍弃所述第 遮挡光线。
所述第二光线剔除子模块 621在所述第二方向的第 遮挡光线 Li被所述第二方向的 k个集合中的至少两个集合接受时舍弃所述第 遮挡光线。
本实施例所述的触摸点定位装置通过分析触摸物所遮挡的光线的分布情况, 将在特定方 向上与同一个目标点相关联的被遮挡光线分类在同一个集合中, 并将第二方向的集合与第一 方向的集合进行相交组合以得到准触摸点的光线信息, 能够根据准触摸点得到真实触摸点的 位置。通过本实施例所述的触摸点定位装置, 可以实现红外触摸屏上多个触摸点的准确定位。 本实施例在定位触摸点的过程中, 计算量小, 速度快。 由于去除了同时被多个集合接受的被 遮挡光线的干扰, 能够得到更高的准触摸点精度。
实施例六
本实施例是基于实施例四的具体说明。
参见图 9, 在本实施例所述触摸定位装置 4中, 所述遍历模块 3包括第一数据遍历模块 61和第二数据遍历模块 62。
所述第一数据遍历模块 61 根据所述第一方向上的正在遍历的被遮挡光线与已遍历过的 被遮挡光线的接受或互斥的关系以及位置关系, 确定所述第一方向上的各目标点的起始边界 线和终止边界线。
所述第二数据遍历模块 62根据所述第二方向上的正在遍历的被遮挡光线与已遍历过的 被遮挡光线的接受或互斥的关系以及位置关系, 确定所述第二方向上的各目标点的起始边界 线和终止边界线。
相应地, 在本实施例中, 所述准触摸点计算模块 7将所述第一方向上的各目标点的边界 线与所述第二方向上的各目标点的边界线进行相交,以通 目交交点来确定准触摸点的集合。
进一步地, 所述第一数据遍历模块 61和所述第二数据遍历模块 62分别在所述第一方向 和所述第二方向上执行如下操作:
A、将遍历过程中的第一 遮挡光线 L1作为所述特定方向上的第一目标点的起始边界 线和终止边界线;
B、 确定第二 遮挡光线 L2与所述第一目标点的关系, 其中, 当所述第二 遮挡光 线 L2与所述第一目标点相斥时,将所述第二根被遮挡光线 L2作为第二目标点的起始边界线 和终止边界线, 当所述第二 遮挡光线 L2被所述第一目标点接受时, 确定所述第二 遮挡光线 L2与所述第一目标点的当前边界线 L1的位置关系, 并且才艮据该位置关系, 确定所 述第一目标点的新起始边界线和新终止边界线;
C、 确定第 i根(i > 3 )被遮挡光线 Li与 k个目标点的关系, 其中, 所述 k个目标点根 据已遍历过的被遮挡光线而确定, 当所述第 i # ^皮遮挡光线 Li与所述 k个目标点均相斥时, 将所述第 遮挡光线作为第 k+1 目标点的起始边界线和终止边界线, 当所述第 遮 挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 确定所述第 i根遮挡光线与所述第 i目 标点的当前边界线的位置关系, 并且根据该位置关系确定所述第 i 目标点的新起始边界线和 新终止边界线;
D、 重复步骤 C, 分别在所述第一方向和所述第二方向上完成对所述红外发射端或红外 接收端的光线的遍历,从而得到所述第一方向上的 M个目标点的边界线和所述第二方向上的 N个目标点的边界线。
相应地, 所述准触摸点计算模块 7将所述第一方向上的第 X目标点 ( 1 < X < M )的起始 边界线和终止边界线——与所述第二方向上的第 y 目标点 (l < y < N ) 的起始边界线和终止 边界线相交以得到交点集合。 一个所述交点集合为一个准触摸点的光线信息。
进一步地, 在本实施例中, 所述第一数据遍历模块 61包括第一边界判断子模块 612, 所 述第二数据遍历模块 62包括第二边界处理子模块 321。 所述第一边界判断子模块 612和所述 第二边界判断子模块 622分别在所述第一方向和所述第二方向上执行如下操作:
当所述第 i #^皮遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 如果所述第 i根 被遮挡光线的起始点与所述第 j 目标点的起始边界线的起始点相同,而所述第 遮挡光线 的终止点在所述第 j 目标点的起始边界线的终止点所属的遍历方向的反方向上,则将所述第 i 遮挡光线作为所述第 j 目标点的新起始边界线,如果所述第 遮挡光线的起始点和所 述第 j 目标点的终止边界线的起始点相同,而所述第 遮挡光线的终止点在所述第 j 目标 点的终止边界线的终止点所属的遍历方向的正方向上, 则将所述第 i 遮挡光线作为所述 第 j 目标点的新终止边界线。
进一步地,在本实施例中,所述第一边界判断子模块 612和所述第二边界判断子模块 622 还分别在所述第一方向和所述第二方向上执行如下操作: 当所述第 i 遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 如果所述第 遮挡光线与所述第 j 目标点的当前起始 边界线相交,则将所述第 遮挡光线和所述当前起始边界线均作为所述第 j 目标点的新起 始边界线,如果所述第 遮挡光线与所述第 j 目标点的当前终止边界线相交,则将所述第 i #^皮遮挡光线和所述当前终止边界线均作为所述第 j 目标点的新终止边界线。
进一步地, 在本实施例中, 所述第一数据遍历模块 61包括第一光线剔除子模块 611, 所 述第二数据遍历模块 62包括第二光线剔除子模块 621。
所述第一光线剔除子模块 611在所述第一方向的第 i 遮挡光线 Li被所述 k个目标点 中的至少两个目标点接受时舍弃所述第 遮挡光线。
所述第二光线剔除子模块 621在所述第二方向的第 i 遮挡光线 Li被所述 k个目标点 中的至少两个目标点接受时, 舍弃所述第 遮挡光线。
本实施例所述的触摸点定位装置通过找到触摸物所遮挡光线的边界线, 将第二方向上的 边界线与第一方向上的边界线进行相交组合以得到准触摸点的光线信息, 能够根据准触摸点 得到真实触摸点的位置。 通过本实施例所述的触摸点定位装置, 可以实现红外触摸屏上多个 触摸点的准确定位。 本实施例在定位触摸点的过程中, 只对目标点的边界线进行计算, 进一 步减少了计算量, 速度更快。 本实施例所述的触摸点定位装置对于边界线相交的情况, 以两 条光线作为边界线, 从而避免了由于边界线选取不当而导致的准触摸点的精度降低。
实施例七
本实施例提供一种利用上述实施例的触摸定位装置的触摸屏, 其利用上述实施例中的触 摸定位装置的各模块来实现触摸定位功能。
参见图 10,本实施例的触摸屏包括多个相对的红外发射元件 2和红外接收元件 3, 其中, 至少一个所述红外发射元件 2发出的光线被多个所述红外接收元件 3接收。 所述触摸屏还包 括: 数据采集单元 9, 用于采集所述红外发射元件 2和所述红外接收元件 3之间的光线数据; 数据处理单元 5, 用于对所述红外发射元件 2和所述红外接收元件 3之间的光线数据进行处 理。 所述数据处理单元 5包括遍历模块 6、 准触摸点计算模块 7和真实触摸点计算模块 8。 所 述遍历模块 6沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接收端的光 线, 其中, 所述特定方向包括第一方向和第二方向。 所述遍历模块 6根据正在遍历的被遮挡 光线与已遍历过的被遮挡光线之间的接受或互斥的关系, 确定目标点在所述特定方向的光线 信息。所述特定方向的光线信息包括目标点在第一方向的光线信息和在第二方向的光线信息。 所述准触摸点计算模块 7将所述目标点在第一方向的光线信息和在第二方向的光线信息进行 相交组合, 以得到准触摸点集合。 所述真实触摸点计算模块 8去除所述准触摸点集合中的鬼 点, 从而确定真实触摸点。
本实施例所述的触摸屏采集接收端和发射端之间的光线数据, 利用数据处理单元处理红 外接收元件和红外发射元件之间的光线数据, 通过被遮挡光线之间接受或互斥的关系来确定 目标点的位置, 并将目标点的第一位置和第二位置进行组合, 得到准触摸点的位置, 进而去 除准触摸点中的鬼点, 从而定位真实触摸点。 通过本实施例所述的触摸屏, 可以实现多个触 摸点的准确定位。 本实施例在定位触摸点的过程中, 计算量小, 速度快。
实施例八
本实施例对实施例七所述的触摸屏的数据处理单元中的各模块做进一步的具体说明。 在本实施例中, 遍历模块包括第一数据遍历模块和第二数据遍历模块。 所述第一数据遍 历模块在所述红外触摸屏的第一方向上, 按照正在遍历的被遮挡光线与已遍历过的被遮挡光 线之间的接受或互斥的关系, 对所述第一方向上的全部被遮挡光线进行集合分类。 在所述第 一方向上与同一个目标点相关联的被遮挡光线被分类在同一个集合中。 所述第二数据遍历模 块在所述红外触摸屏的第二方向上, 按照正在遍历的被遮挡光线与已遍历过的被遮挡光线之 间的接受或互斥的关系, 对所述第二方向上的全部被遮挡光线进行集合分类。 在所述第二方 向上与同一个目标点相关联的被遮挡光线被分类在同一个集合中。
相应地, 所述准触摸点计算模块将所述第一方向的集合中的被遮挡光线一一与所述第二 方向的集合中的被遮挡光线进行相交, 以通过相交交点来确定准触摸点集合。
进一步地, 在本实施例中, 所述第一数据遍历模块包括第一光线剔除子模块, 所述第二 数据遍历模块包括第二光线剔除子模块。
所述第一光线剔除子模块在所述第一方向上的某一 遮挡光线被所述第一方向的所有 集合中的至少两个集合接受时舍弃该 遮挡光线。
所述第二光线剔除子模块在所述第二方向上的某一 遮挡光线被所述第二方向的所有 集合中的至少两个集合接受时舍弃该 遮挡光线。
本实施例所述的触摸屏通过数据处理单元的各模块分析触摸物所遮挡光线的分布情况, 将在特定方向上与同一个目标点相关联的被遮挡光线分类在同一个集合中, 将第二方向的集 合与第一方向的集合进行相交组合以得到准触摸点的光线信息, 能够根据准触摸点得到真实 触摸点的位置。 通过本实施例所述的触摸屏, 可以实现多个触摸点的准确定位。 本实施例在 定位触摸点的过程中, 计算量小, 速度快。 此外, 由于去除了同时被多个集合接受的被遮挡 光线的干扰, 能够得到更高的准触摸点精度。
实施例九
本实施例对实施例七所述的触摸屏的数据处理单元中的各模块做进一步具体说明。 在本实施例中, 所述遍历模块包括第一数据遍历模块和第二数据遍历模块。
所述第一数据遍历模块根据所述第一方向上的正在遍历的被遮挡光线与已遍历过的被遮 挡光线之间的接受或互斥关系以及位置关系, 确定所述第一方向上的各目标点的起始边界线 和终止边界线。
所述第二数据遍历模块根据所述第二方向上的正在遍历的被遮挡光线与已遍历过的被遮 挡光线之间的接受或互斥关系以及位置关系, 确定所述第二方向上的各目标点的起始边界线 和终止边界线。
相应地, 所述准触摸点计算模块将所述第一方向上的各目标点的边界线与所述第二方向 上的各目标点的边界线进行相交, 以通 ±^I交交点来确定准触摸点的集合。
进一步地, 所述第一数据遍历模块包括第一光线剔除子模块, 所述第二数据遍历模块包 括第二光线剔除子模块。
所述第一光线剔除子模块在所述第一方向上的某一 遮挡光线被第一方向上的当前所 有目标点中的至少两个目标点接受时舍弃该 遮挡光线。
所述第二光线剔除子模块在所述第二方向上的某一 遮挡光线被第二方向上的当前所 有目标点中的至少两个目标点接受时舍弃该 遮挡光线。
本实施例所述的触摸屏通过由第一数据遍历模块和第二数据遍历模块找到触摸物所遮挡 的光线的边界线, 由准触摸点计算模块将第二方向上的各目标的边界线与第一方向上的各目 标的边界线进行相交组合以得到准触摸点的光线信息, 能够根据准触摸点得到真实触摸点的 位置。 本实施例所述的触摸屏可以实现多个触摸点的准确定位。 本实施例在定位触摸点的过 程中, 只对目标点的边界线进行计算, 进一步减少了计算量, 速度更快。 此外, 本实施例对 于边界线相交的情况, 以两条光线作为边界线, 从而避免了由于边界线选取不当而导致的准 触摸点的精度降低。
本发明的技术方案并不限于以上具体实施方式中所述的实施例。 本领域技术人员根据本 发明的技术方案得出其他的实施方式, 同样属于本发明的技术创新范围。

Claims

权利要求
1、一种触摸点定位方法, 该方法应用于红外触摸屏, 所述红外触摸屏包括多个相对的红 外发射元件和红外接收元件, 其中, 至少一个所述红外发射元件发出的光线被多个所述红外 接收元件接收, 其特征在于, 该方法包括:
沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接收端的光线, 所述 特定方向包括第一方向和第二方向;
根据正在遍历的被遮挡光线与已遍历过的被遮挡光线之间的接受或互斥关系, 确定目标 点在所述特定方向的光线信息, 所述特定方向的光线信息包括目标点在第一方向的光线信息 和在第二方向的光线信息;
将所述目标点在第一方向的光线信息和在第二方向的光线信息进行相交组合以得到准触 摸点集合;
去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。
2、按照权利要求 1所述的触摸点定位方法, 其特征在于, 所述根据正在遍历的被遮挡光 线与已遍历过的被遮挡光线之间的接受或互斥关系确定目标点在所述特定方向的光线信息的 步骤包括: 在所述红外触摸屏的第一方向和第二方向:
按照正在遍历的被遮挡光线和已遍历过的被遮挡光线之间的光线接受或互斥的关系, 对 全部被遮挡光线进行集合分类, 其中, 在所述特定方向上, 与同一个目标点相关联的被遮挡 光线被分类在同一个集合中;
所述将所述目标点在第一方向的光线信息和在第二方向的光线信息进行相交组合以得到 准触摸点集合的步骤包括:
所述第一方向的集合中的被遮挡光线一一与所述第二方向的集合中的被遮挡光线进行相 交, 以通 i±^I交交点确定准触摸点集合。
3、按照权利要求 2所述的触摸点定位方法, 其特征在于, 所述按照正在遍历的被遮挡光 线和已遍历过的被遮挡光线之间的光线接受或互斥的关系 , 对全部被遮挡光线进行集合分类 的步骤包括:
A、 将遍历过程中的第一 遮挡光线 L1分类在所述特定方向的第一集合 C1中;
B、 确定第二# ^皮遮挡光线 L2与所述第一集合 C 1的关系, 其中, 当所述第二 遮挡 光线 L2被所述第一集合 C1接受时, 将所述第二 遮挡光线分类在所述第一集合 C1中, 当所述第二 遮挡光线 L2与所述第一集合 C1相斥时, 将所述第二 遮挡光线 L2分类 在第二集合 C2中;
C、 确定第 i根( i>=3 )被遮挡光线 Li与 k个集合的关系, 所述 k个集合根据已遍历过 的被遮挡光线而确定, 其中, 当所述第 i 遮挡光线 Li被所述 k个集合中的第 j集合 Cj 接受时, 将所述第 i 遮挡光线分类在所述第 j集合 Cj 中, 当所述第 i 遮挡光线 Li 与所述 k个集合均相斥时, 将所述第 i # ^皮遮挡光线 Li分类在第 k+1集合 Ck+1中;
D、 重复步骤 C, 分别在所述第一方向和所述第二方向完成对所述红外发射端或红外接 收端的光线的遍历, 从而得到所述第一方向的 M个集合和所述第二方向的 N个集合; 所述第一方向的集合中的被遮挡光线一一与所述第二方向的集合中的被遮挡光线进行相 交以通 目交交点确定准触摸点集合的步骤包括:
将所述第一方向的第 X集合 Cx ( K x < M ) 中的被遮挡光线——与所述第二方向的第 y 集合 Cy ( 1 < y < N ) 中的被遮挡光线进行相交以得到交点集合, 一个所述交点集合为一个准 触摸点的光线信息。
4、 按照权利要求 3所述的触摸点定位方法, 其特征在于, 所述确定第 i ( i > 3 )根被遮 挡光线 Li与 k个集合的关系的步骤还包括:
当所述第 i 遮挡光线 Li被所述 k个集合中的至少两个集合接受时, 舍弃所述第 i根 被遮挡光线。
5、按照权利要求 1所述的触摸点定位方法, 其特征在于, 所述根据正在遍历的被遮挡光 线与已遍历过的被遮挡光线之间的接受或互斥关系确定目标点在所述特定方向的光线信息的 步骤包括: 在所述红外触摸屏的第一方向和第二方向上:
根据正在遍历的被遮挡光线和已遍历过的被遮挡光线之间的接受或互斥的关系以及相对 位置关系, 确定各目标点的起始边界线和终止边界线;
所述将所述目标点在第一方向的光线信息和在第二方向的光线信息进行相交组合以得到 准触摸点集合的步骤包括:
将所述第一方向上的目标点的边界线与所述第二方向上的目标点的边界线进行相交, 以 通±^I交交点确定准触摸点集合。
6、按照权利要求 5所述的触摸点定位方法, 其特征在于, 所述根据正在遍历的被遮挡光 线和已遍历过的被遮挡光线之间的接受或互斥关系以及相对位置关系确定各目标点的起始边 界线和终止边界线的步骤包括:
A、将遍历过程中的第一 遮挡光线 L1作为所述特定方向上的第一目标点的起始边界 线和终止边界线;
B、 确定第二 遮挡光线 L2与所述第一目标点的关系, 其中, 当所述第二 遮挡光 线 L2与所述第一目标点相斥时,将所述第二根被遮挡光线 L2作为第二目标点的起始边界线 和终止边界线, 当所述第二 遮挡光线 L2被所述第——一目标点接受时, 确定所述第二 遮挡光线 L2与所述第一目标点的当前边界线 L1的位置关系,并且根据该位置关系确定所述 第一目标点的新起始边界线和新终止边界线;
C、 确定第 i根(i > 3 )被遮挡光线 Li与 k个目标点的关系, 所述 k个目标点根据已遍 历过的被遮挡光线而确定, 其中, 当所述第 遮挡光线 Li与所述 k个目标点均相斥时, 将所述第 遮挡光线作为第 k+1 目标点的起始边界线和终止边界线, 当所述第 遮 挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 确定所述第 i根遮挡光线与所述第 i目 标点的当前边界线的位置关系, 并且根据该位置关系确定所述第 i 目标点的新起始边界线和 新终止边界线; D、 重复步骤 C, 分别在所述第一方向和所述第二方向上完成对所述红外发射端或红外 接收端的光线的遍历,从而得到在所述第一方向上的 M个目标点的边界线和在所述第二方向 上的 N个目标点的边界线;
所述将所述第一方向上的目标点的边界线与所述第二方向上的目标点的边界线进行相交 以通 目交交点确定准触摸点集合的步骤包括:
将所述第一方向上的第 X 目标点 (1 < χ < Μ )的起始边界线和终止边界线——与所述第 二方向上的第 y 目标点 (l < y < N ) 的起始边界线和终止边界线相交以得到交点集合, 一个 所述交点集合为一个准触摸点的光线信息。
7、 按照权利要求 6所述的触摸点定位方法, 其特征在于, 所述当所述第 遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时确定所述第 i根遮挡光线与所述第 i目标点的当 前边界线的位置关系并且根据该位置关系确定所述第 i 目标点的新起始边界线和新终止边界 线的步骤包括:
当所述第 i #^皮遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 如果所述第 i根 被遮挡光线的起始点和所述第 j 目标点的起始边界线的起始点相同,而所述第 遮挡光线 的终止点在所述第 j 目标点的起始边界线的终止点所属的遍历方向的反方向上,则将所述第 i 遮挡光线作为所述第 j 目标点的新起始边界线,如果所述第 遮挡光线的起始点和所 述第 j 目标点的终止边界线的起始点相同,而所述第 遮挡光线的终止点在所述第 j 目标 点的终止边界线的终止点所属的遍历方向的正方向上, 则将所述第 i 遮挡光线作为所述 第 j 目标点的新终止边界线。
8、 按照权利要求 6所述的触摸点定位方法, 其特征在于, 所述当所述第 遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时确定所述第 i根遮挡光线与所述第 i目标点的当 前边界线的位置关系并且根据该位置关系确定所述第 i 目标点的新起始边界线和新终止边界 线的步骤还包括:
当所述第 i 遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 如果所述第 i根 被遮挡光线与所述第 j 目标点的起始边界线相交,则将所述第 i 遮挡光线和所述当前起始 边界线均作为所述第 j 目标点的新起始边界线,如果所述第 遮挡光线与所述第 j 目标点 终止边界线相交,则将所述第 i 遮挡光线和所述当前终止边界线均作为所述第 j 目标点的 新终止边界线。
9、 按照权利要求 6至 8任意一项所述的触摸点定位方法, 其特征在于, 所述确定第 i根 ( i > 3 )被遮挡光线 Li与 k个目标点的关系的步骤还包括:
当所述第 遮挡光线 Li被所述 k个目标点中的至少两个目标点接受时, 舍弃所述第 遮挡光线。
10、 一种触摸定位装置, 应用于红外触摸屏, 所述红外触摸屏包括多个相对的红外发射 元件和红外接收元件, 其中, 至少一个所述红外发射元件发出的光线被多个所述红外接收元 件接收, 其特征在于, 所述触摸定位装置包括数据处理单元, 用于对所述红外发射元件和所 述红外接收元件之间的光线的数据进行处理, 所述数据处理单元包括遍历模块、 准触摸点计 算模块和真实触摸点计算模块; 其中,
所述遍历模块用于沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接 收端的光线, 其中所述特定方向包括第一方向和第二方向, 并根据正在遍历的被遮挡光线与 已遍历过的被遮挡光线之间的接受或互斥的关系确定目标点在所述特定方向的光线信息, 所 述特定方向的光线信息包括目标点在第一方向的光线信息和在第二方向的光线信息;
所述准触摸点计算模块用于将所述目标点在第一方向的光线信息和在第二方向的光线信 息进行相交组合以得到准触摸点集合;
所述真实触摸点计算模块用于去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。
11、按照权利要求 10所述的触摸定位装置, 其特征在于, 所述遍历模块包括第一数据遍 历模块和第二数据遍历模块; 其中,
所述第一数据遍历模块用于在所述红外触摸屏的第一方向上, 按照正在遍历的被遮挡光 线与已遍历过的被遮挡光线之间的接受或互斥的关系, 对所述第一方向上的全部被遮挡光线 进行集合分类, 以将在所述第一方向上的与同一个目标点相关联的被遮挡光线分类在同一个 集合中;
所述第二数据遍历模块用于在所述红外触摸屏的第二方向上, 按照正在遍历的被遮挡光 线与已遍历过的被遮挡光线之间的接受或互斥的关系, 对所述第二方向上的全部被遮挡光线 进行集合分类, 以将在所述第二方向上的与同一个目标点相关联的被遮挡光线分类在同一个 集合中;
所述准触摸点计算模块用于将所述第一方向的集合中的被遮挡光线一一与所述第二方向 的集合中的被遮挡光线进行相交, 以通过相交交点来确定准触摸点集合。
12、按照权利要求 11所述的触摸定位装置, 其特征在于, 所述第一数据遍历模块和所述 第二数据遍历模块用于分别在所述第一方向和所述第二方向上均执行如下操作:
A、 将遍历过程中的第一 遮挡光线 L1分类在所述特定方向的第一集合 C1中;
B、 确定第二# ^皮遮挡光线 L2与所述第一集合 C 1的关系, 其中, 当所述第二 遮挡 光线 L2被所述第一集合 C1接受时, 将所述第二 遮挡光线分类在所述第一集合 C1中, 当所述第二 遮挡光线 L2与所述第一集合 C1相斥时, 将所述第二 遮挡光线 L2分类 在第二集合 C2中;
C、 确定第 i根(i > 3 )被遮挡光线 Li与 k个集合的关系, 其中, 所述 k个集合根据已 遍历过的被遮挡光线而确定, 当所述第 i 遮挡光线 Li被所述 k个集合中的第 j集合 Cj 接受时, 将所述第 i 遮挡光线分类在所述第 j集合 Cj 中, 当所述第 i 遮挡光线 Li 与所述 k个集合均相斥时, 将所述第 i # ^皮遮挡光线 Li分类在第 k+1集合 Ck+1中;
D、 重复步骤 C, 分别在所述第一方向和所述第二方向上完成对所述红外发射端或红外 接收端的光线的遍历, 以得到所述第一方向的 M个集合和所述第二方向的 N个集合;
所述准触摸点计算模块用于将由所述第一数据遍历模块得到的第 X集合 Cx ( 1 < X < M ) 中的被遮挡光线一一与由所述第二数据计算模块得到的第 y集合 Cy ( 1 < y < N ) 中的被遮挡 光线进行相交以得到交点集合, 一个所述交点集合为一个准触摸点的光线信息。
13、按照权利要求 12所述的触摸定位装置, 其特征在于, 所述第一数据遍历模块包括第 一光线剔除子模块, 所述第二数据遍历模块包括第二光线剔除子模块; 其中,
所述第一光线剔除子模块用于当所述第一方向上的第 i #^皮遮挡光线 Li被所述第一方向 的 k个集合中的至少两个集合接受时, 舍弃所述第 遮挡光线;
所述第二光线剔除子模块用于当所述第二方向上的第 i #^皮遮挡光线 Li被所述第二方向 的 k个集合中的至少两个集合接受时, 舍弃所述第 遮挡光线。
14、按照权利要求 10所述的触摸定位装置, 其特征在于, 所述遍历模块包括第一数据遍 历模块和第二数据遍历模块; 其中,
所述第一数据遍历模块用于根据所述第一方向上的正在遍历的被遮挡光线与已遍历过的 被遮挡光线之间的接受或互斥的关系以及位置关系, 确定所述第一方向上的各目标点的起始 边界线和终止边界线;
所述第二数据遍历模块用于根据所述第二方向上的正在遍历的被遮挡光线与已遍历过的 被遮挡光线之间的接受或互斥的关系以及位置关系, 确定所述第二方向上的各目标点的起始 边界线和终止边界线;
所述准触摸点计算模块用于将所述第一方向上的各目标点的边界线与所述第二方向上的 各目标点的边界线进行相交, 以通 目交交点来确定准触摸点集合。
15、按照权利要求 14所述的触摸定位装置, 其特征在于, 所述第一数据遍历模块和所述 第二数据遍历模块用于分别在所述第一方向和所述第二方向上均执行如下操作:
Α、将遍历过程中的第一 遮挡光线 L1作为所述特定方向上的第一目标点的起始边界 线和终止边界线;
Β、 确定第二 遮挡光线 L2与所述第一目标点的关系, 其中, 当所述第二 遮挡光 线 L2与所述第一目标点相斥时,将所述第二根被遮挡光线 L2作为第二目标点的起始边界线 和终止边界线, 当所述第二 遮挡光线 L2被所述第一目标点接受时, 确定所述第二 遮挡光线 L2与所述第一目标点的当前边界线 L1的位置关系,并且根据该位置关系确定所述 第一目标点的新起始边界线和新终止边界线;
C、 确定第 i根(i > 3 )被遮挡光线 Li与 k个目标点的关系, 其中, 所述 k个目标点根 据已遍历过的被遮挡光线而确定, 当所述第 i # ^皮遮挡光线 Li与所述 k个目标点均相斥时, 将所述第 遮挡光线作为第 k+1 目标点的起始边界线和终止边界线, 当所述第 遮 挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 确定所述第 i根遮挡光线与所述第 i目 标点的当前边界线的位置关系, 并且根据该位置关系确定所述第 i 目标点的新起始边界线和 新终止边界线;
D、 重复步骤 C, 分别在所述第一方向和所述第二方向上完成对所述红外发射端或红外 接收端的光线的遍历,以得到在所述第一方向上的 M个目标点的边界线和在所述第二方向上 的 N个目标点的边界线;
所述准触摸点计算模块用于将所述第一方向上的第 X目标点 (1 < χ < Μ ) 的起始边界线 和终止边界线——与所述第二方向上的第 y 目标点 (l < y < N ) 的起始边界线和终止边界线 相交以得到交点集合, 一个所述交点集合为一个准触摸点的光线信息。
16、按照权利要求 15所述的触摸定位装置, 其特征在于: 所述第一数据遍历模块包括第 一边界判断子模块, 所述第二数据遍历模块包括第二边界处理子模块; 其中, 所述第一边界 判断子模块和所述第二边界判断子模块用于分别在所述第一方向和所述第二方向上执行如下 操作:
当所述第 i 遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 如果所述第 i根 被遮挡光线的起始点与所述第 j 目标点的起始边界线的起始点相同,而所述第 遮挡光线 的终止点在所述第 j 目标点的起始边界线的终止点所属的遍历方向的反方向上,则将所述第 i 遮挡光线作为所述第 j 目标点的新起始边界线,如果所述第 i 遮挡光线的起始点与所 述第 j 目标点的终止边界线的起始点相同,而所述第 遮挡光线的终止点在所述第 j 目标 点的终止边界线的终止点所属的遍历方向的正方向上, 则将所述第 i #^皮遮挡光线作为所述 第 j 目标点的新终止边界线。
17、按照权利要求 15所述的触摸定位装置, 其特征在于, 所述第一边界判断子模块和所 述第二边界判断子模块还用于分别在所述第一方向和所述第二方向上执行如下操作:
当所述第 i 遮挡光线 Li被所述 k个目标点中的第 j 目标点接受时, 如果所述第 i根 被遮挡光线与所述第 j 目标点的起始边界线相交,则将所述第 i 遮挡光线和所述当前起始 边界线均作为所述第 j 目标点的新起始边界线,如果所述第 遮挡光线与所述第 j 目标点 的终止边界线相交,则将所述第 i 遮挡光线和所述当前终止边界线均作为所述第 j 目标点 的新终止边界线。
18、 按照权利要求 15至 17任意一项所述的触摸定位装置, 其特征在于: 所述第一数据 遍历模块包括第一光线剔除子模块, 所述第二数据遍历模块包括第二光线剔除子模块; 其中, 所述第一光线剔除子模块用于当所述第一方向上的第 i # ^皮遮挡光线 Li被所述 k个目标 点中的至少两个目标点接受时, 舍弃所述第 i 遮挡光线;
所述第二光线剔除子模块用于当所述第二方向上的第 i # ^皮遮挡光线 Li被所述 k个目标 点中的至少两个目标点接受时, 舍弃所述第 遮挡光线。
19、 一种触摸屏, 包括多个相对的红外发射元件和红外接收元件, 其中, 至少一个所述 红外发射元件发出的光线被多个所述红外接收元件接收, 其特征在于, 所述触摸屏还包括: 数据采集单元, 用于采集所述红外发射元件和所述红外接收元件之间的光线数据; 数据处理单元,用于对所述红外发射元件和所述红外接收元件之间的光线数据进行处理, 所述数据处理单元包括遍历模块、 准触摸点计算模块和真实触摸点计算模块; 其中,
所述遍历模块用于沿所述红外触摸屏的特定方向开始遍历采集到的红外发射端或红外接 收端的光线, 其中, 所述特定方向包括第一方向和第二方向, 并根据正在遍历的被遮挡光线 与已遍历过的被遮挡光线之间的接受或互斥的关系确定目标点在所述特定方向的光线信息, 所述特定方向的光线信息包括目标点在第一方向的光线信息和目标点在第二方向的光线信 息;
所述准触摸点计算模块用于将所述目标点在第一方向的光线信息和在第二方向的光线信 息进行相交组合以得到准触摸点集合;
所述真实触摸点计算模块用于去除所述准触摸点集合中的鬼点, 从而确定真实触摸点。
20、按照权利要求 19所述的触摸屏, 其特征在于: 所述遍历模块包括第一数据遍历模块 和第二数据遍历模块; 其中,
所述第一数据遍历模块用于在所述红外触摸屏的第一方向上, 按照正在遍历的被遮挡光 线与已遍历过的被遮挡光线之间的光线接受或互斥的关系, 对所述第一方向上的全部被遮挡 光线进行集合分类, 其中, 在所述第一方向上与同一个目标点相关联的被遮挡光线被分类在 同一个集合中;
所述第二数据遍历模块用于在所述红外触摸屏的第二方向上, 按照正在遍历的被遮挡光 线与已遍历过的被遮挡光线之间的光线接受或互斥的关系, 对所述第二方向上的全部被遮挡 光线进行集合分类, 其中, 在所述第二方向上与同一个目标点相关联的被遮挡光线被分类在 同一个集合中;
所述准触摸点计算模块用于将所述第一方向的集合中的被遮挡光线一一与所述第二方向 的集合中的被遮挡光线进行相交, 以通过相交交点来确定准触摸点集合。
21、按照权利要求 20所述的触摸屏, 其特征在于, 所述第一数据遍历模块包括第一光线 剔除子模块, 所述第二数据遍历模块包括第二光线剔除子模块; 其中,
所述第一光线剔除子模块用于当所述第一方向上的某一 遮挡光线被所述第一方向的 所有集合中的至少两个集合接受时, 舍弃所述第一方向上的所述某一 遮挡光线;
所述第二光线剔除子模块用于当所述第二方向上的某一 遮挡光线被所述第二方向的 所有集合中的至少两个集合接受时, 舍弃所述第二方向上的所述某一 遮挡光线。
22、按照权利要求 19所述的触摸屏, 其特征在于, 所述遍历模块包括第一数据遍历模块 和第二数据遍历模块; 其中,
所述第一数据遍历模块用于根据所述第一方向上的正在遍历的被遮挡光线与已遍历过的 被遮挡光线之间的接受或互斥的关系以及位置关系, 确定所述第一方向上的各目标点的起始 边界线和终止边界线;
所述第二数据遍历模块用于根据所述第二方向上的正在遍历的被遮挡光线与已遍历过的 被遮挡光线之间的接受或互斥的关系以及位置关系, 确定所述第二方向上的各目标点的起始 边界线和终止边界线;
所述准触摸点计算模块用于将所述第一方向上的各目标点的边界线与所述第二方向上的 各目标点的边界线进行相交, 以通 目交交点来确定准触摸点集合。
23、按照权利要求 22所述的触摸屏, 其特征在于: 所述第一数据遍历模块包括第一光线 剔除子模块, 所述第二数据遍历模块包括第二光线剔除子模块; 其中,
所述第一光线剔除子模块用于当所述第一方向上的某一 遮挡光线被第一方向上的当 前所有目标点中的至少两个目标点接受时, 舍弃所述第一方向上的所述某一 遮挡光线; 所述第二光线剔除子模块用于当所述第二方向上的某一# ^皮遮挡光线被第二方向上的当 前所有目标点中的至少两个目标点接受时, 舍弃所述第二方向的所述某一 # ^皮遮挡光线。
PCT/CN2011/082842 2010-11-29 2011-11-24 一种触摸点定位方法、装置及触摸屏 WO2012072000A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010571576.5A CN102479004B (zh) 2010-11-29 2010-11-29 一种触摸点定位方法、装置及触摸屏
CN201010571576.5 2010-11-29

Publications (1)

Publication Number Publication Date
WO2012072000A1 true WO2012072000A1 (zh) 2012-06-07

Family

ID=46091671

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082842 WO2012072000A1 (zh) 2010-11-29 2011-11-24 一种触摸点定位方法、装置及触摸屏

Country Status (2)

Country Link
CN (1) CN102479004B (zh)
WO (1) WO2012072000A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373267A (zh) * 2015-12-14 2016-03-02 广州华欣电子科技有限公司 一种红外触摸屏多点识别方法、装置及红外触摸屏
CN105426020A (zh) * 2015-12-14 2016-03-23 广州华欣电子科技有限公司 一种红外触摸屏多点识别方法、装置及红外触摸屏

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423724B (zh) * 2013-09-06 2019-07-26 联想(北京)有限公司 触控位置确定方法、装置、电路、pcb板及电子设备
CN104391612B (zh) * 2014-11-20 2020-10-30 海信视像科技股份有限公司 一种触摸点边界的获取方法及装置
TWI529583B (zh) * 2014-12-02 2016-04-11 友達光電股份有限公司 觸控系統與觸控偵測方法
CN110489015B (zh) * 2019-08-19 2023-08-08 青岛海信商用显示股份有限公司 触摸点确定方法及装置、触摸屏和显示器

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1945514A (zh) * 2006-07-27 2007-04-11 广东威创日新电子有限公司 抗干扰型红外触摸装置及定位方法
CN101149656A (zh) * 2007-10-26 2008-03-26 广东威创视讯科技股份有限公司 一种红外线触摸屏及多点触摸定位方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100782431B1 (ko) * 2006-09-29 2007-12-05 주식회사 넥시오 적외선 터치스크린의 다점 좌표인식방법 및 접점면적인식방법
CN101075168B (zh) * 2007-06-22 2014-04-02 北京汇冠新技术股份有限公司 一种识别红外触摸屏上多个触摸点的方法
CN201548935U (zh) * 2009-10-30 2010-08-11 北京汇冠新技术股份有限公司 一种红外触摸屏

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1945514A (zh) * 2006-07-27 2007-04-11 广东威创日新电子有限公司 抗干扰型红外触摸装置及定位方法
CN101149656A (zh) * 2007-10-26 2008-03-26 广东威创视讯科技股份有限公司 一种红外线触摸屏及多点触摸定位方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373267A (zh) * 2015-12-14 2016-03-02 广州华欣电子科技有限公司 一种红外触摸屏多点识别方法、装置及红外触摸屏
CN105426020A (zh) * 2015-12-14 2016-03-23 广州华欣电子科技有限公司 一种红外触摸屏多点识别方法、装置及红外触摸屏
CN105373267B (zh) * 2015-12-14 2018-09-18 广州华欣电子科技有限公司 一种红外触摸屏多点识别方法、装置及红外触摸屏
CN105426020B (zh) * 2015-12-14 2019-06-25 广州华欣电子科技有限公司 一种红外触摸屏多点识别方法、装置及红外触摸屏

Also Published As

Publication number Publication date
CN102479004A (zh) 2012-05-30
CN102479004B (zh) 2014-11-05

Similar Documents

Publication Publication Date Title
WO2012072000A1 (zh) 一种触摸点定位方法、装置及触摸屏
CN104615310B (zh) 一种确定候选触摸点的方法及装置
US20120218230A1 (en) Infrared touch screen device and multipoint locating method thereof
CN103365480B (zh) 一种多点红外触摸屏触摸识别方法及系统
WO2013016996A1 (zh) 一种红外触摸屏多点识别方法及系统
CN103902105B (zh) 一种用于红外触摸屏触摸识别的方法及系统
CN104216571A (zh) 一种触摸屏、触摸识别方法及装置
CN102419661A (zh) 一种触摸定位方法、触摸定位装置及红外触摸屏
CN104598082B (zh) 一种确定候选触摸点的方法及装置
CN110489015B (zh) 触摸点确定方法及装置、触摸屏和显示器
WO2014044180A1 (zh) 红外多点识别方法、红外多点识别装置和红外触摸屏
TW201113786A (en) Touch sensor apparatus and touch point detection method
CN102402339A (zh) 触摸定位方法、触摸屏、触摸系统和显示器
CN103092438B (zh) 一种红外触摸装置及多点触摸定位方法
CN101566898B (zh) 电子显示系统的定位装置及方法
WO2012171457A1 (zh) 一种红外触摸屏的多点识别方法及系统
CN102419664B (zh) 一种红外触摸屏的多点识别方法及系统
CN107957826B (zh) 一种红外触屏多触摸点区域的识别方法及识别系统
CN104680142A (zh) 一种基于特征点集分割和rst不变特征的四联指比对方法
CN108413866B (zh) 一种偏位检测方法、系统及终端设备
CN102331886B (zh) 基于斜坐标系的红外触摸屏触摸定位方法及装置
CN102331885B (zh) 基于斜坐标系的红外触摸屏触摸定位方法及装置
CN105808019B (zh) 一种用于红外触摸屏的触点坐标检测方法
WO2022047839A1 (zh) 一种红外触摸屏多点触摸识别方法、装置及设备
CN103473549A (zh) 图像目标检测方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11844624

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/10/2013)

122 Ep: pct application non-entry in european phase

Ref document number: 11844624

Country of ref document: EP

Kind code of ref document: A1