CN106406638B - Touch point contour generation method and equipment - Google Patents

Touch point contour generation method and equipment Download PDF

Info

Publication number
CN106406638B
CN106406638B CN201610805354.2A CN201610805354A CN106406638B CN 106406638 B CN106406638 B CN 106406638B CN 201610805354 A CN201610805354 A CN 201610805354A CN 106406638 B CN106406638 B CN 106406638B
Authority
CN
China
Prior art keywords
touch
scanning
area
scanning direction
touch point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610805354.2A
Other languages
Chinese (zh)
Other versions
CN106406638A (en
Inventor
王武军
马亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201610805354.2A priority Critical patent/CN106406638B/en
Publication of CN106406638A publication Critical patent/CN106406638A/en
Application granted granted Critical
Publication of CN106406638B publication Critical patent/CN106406638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

The invention discloses a touch point contour generation method, which is applied to infrared touch control scanning equipment and is used for scanning according to a preset scanning direction and a preset scanning angle for each scanning direction when touch operation occurs; the method comprises the steps of obtaining touch areas in all scanning directions and determining touch points, further determining extended touch areas corresponding to the touch areas, respectively determining outlines corresponding to the touch areas and the extended touch areas, and generating outlines of the touch points according to the outlines and a preset touch object fitting algorithm. Therefore, the accuracy of the output touch point outline is improved, and the problems of inaccurate touch and mistaken touch caused by the distortion of the area shape of the touch point are effectively reduced.

Description

Touch point contour generation method and equipment
Technical Field
The invention relates to the technical field of communication, in particular to a touch point contour generation method. The invention also relates to infrared touch scanning equipment.
Background
Touch screens are electronic systems that can detect the presence and location of a touch within a display area, which simplifies human-computer interaction methods. In the current touch technology, the infrared touch technology has the advantages of strong environmental adaptability, longer service life, more recognizable touch points and the like.
An Infrared Technology Touch Screen (Infrared Touch Screen Technology) is composed of Infrared emitting and receiving sensing elements mounted on the outer frame of the Touch Screen, and an Infrared detecting net is formed on the Screen surface, and any Touch object can change the Infrared on the Touch points to realize the Touch Screen operation. The infrared touch screen is implemented on the principle similar to the surface acoustic wave touch screen, and uses infrared emitting and receiving sensing elements. The elements form an infrared detection network on the surface of the screen, and an object (such as a finger) for touch operation can change the infrared ray of an electric shock and further be converted into a coordinate position for touch operation so as to realize the response of the operation. On the infrared touch screen, the circuit board devices arranged on four sides of the screen are provided with infrared transmitting tubes and infrared receiving tubes, and the infrared transmitting tubes and the infrared receiving tubes correspondingly form a transverse and vertical crossed infrared matrix.
An existing infrared touch screen is a rectangular structure, as shown in fig. 1, which is a schematic structural diagram of an infrared technology touch screen in the prior art, and is composed of a long edge emitting edge, a long edge receiving edge, a short edge emitting edge, and a short edge receiving edge. There are a plurality of emission lamps on the emission edge, and a plurality of receiving lamps are corresponded to on corresponding receiving edge, and it usually adopts 1 to scan in multiple ways, that is, one emission lamp shines, and a plurality of receiving lamps receive simultaneously on the opposite, from this form the optical network, judge the touch action according to the different forms of optical network under the touch and non-touch condition. Because the traditional infrared point positioning algorithm obtains touch points according to the orthogonalization of the blocked light paths in the long-short side normal scanning direction, the infrared touch screen can work normally under the condition of single-point touch; however, in the multi-point touch, the number of points obtained by orthogonal calculation is greater than that of the real touch points, and the true and false point judgment (called ghost point removal) needs to be performed, otherwise, the system goes wrong.
In a representative infrared multi-point identification scheme in the industry, a mode of increasing a light path is generally adopted to improve touch sensitivity, and a hardware acceleration technology is adopted to improve the response speed of a touch screen. For example, a quasi-touch point set is calculated in a forward scanning direction, and then false points are removed according to a direct logic mode, and the mode adopts fewer optical path layers to perform scanning and algorithm calculation, so that the identification precision of the real outline of the touch object is not high; another prior art solution is to use a higher-level processor to perform multi-point recognition and de-ghosting by means of image simulation, which has higher point positioning accuracy than the former one, but increases algorithm complexity by increasing cost, and does not consider restoration of the true contour of the touch object.
Therefore, in the prior art, touch point position calculation is performed only according to an existing optical path by using a touch screen scanning method for touch, but the method is improved without considering loss of a real outline of a touch point caused by a calculation mode of an infrared touch discrete optical path, so that the distortion of the area shape of the touch point is serious, the error of a point position coordinate is large, inaccurate touch and mistaken touch are easily formed, and poor use experience is brought to a user.
Disclosure of Invention
The invention provides a touch point contour generation method and device, which are used for improving the precision of an output touch point contour when an infrared touch screen is subjected to touch operation and effectively reducing the problems of inaccurate touch and mistaken touch caused by the distortion of the area shape of a touch point.
In order to achieve the above technical objective, the present application provides a method for generating a touch point profile, where the method is applied to an infrared touch scanning device, and specifically includes:
determining an inner contour of the touch point according to a touch area in each scanning direction and determining an outer contour of the touch point according to an expanded touch area in each scanning direction, wherein the touch area is an area including all blocked light paths in one scanning direction, and the expanded touch area is an area including all blocked light paths in the same scanning direction and non-blocked light paths adjacent to the touch area;
generating a contour of the touch point from the inner contour and the outer contour.
Preferably, the flared-out touch area is generated by:
taking a previous unblocked light path which is expanded from the starting boundary of the touch area as an expanded starting boundary, and taking a next unblocked light path which is expanded from the ending boundary of the touch area as an expanded ending boundary;
and taking an area formed by the flaring starting boundary and the flaring ending boundary as the flaring touch area corresponding to the touch area.
Preferably, the inner contour of the touch point is determined according to the touch area in each scanning direction, and the outer contour of the touch point is determined according to the touch area in each scanning direction, specifically:
and taking the boundary of the overlapped part of the touch areas in the scanning directions as the inner contour of the touch point, and taking the boundary of the overlapped part of the touch areas in the scanning directions as the outer contour of the touch point.
Preferably, the outline of the touch point is generated according to the inner outline and the outer outline, specifically:
fitting the inner contour and the outer contour using the touch object fitting algorithm between the inner contour of the touch point and the outer contour of the touch point;
and taking the fitting result as the outline of the touch point.
Preferably, before determining the inner contour of the touch point according to the touch area of each scanning direction and determining the outer contour of the touch point according to the extended touch area of each scanning direction, the method further comprises:
when a touch operation occurs on a touch screen of the infrared touch scanning equipment, scanning according to a preset scanning direction and a preset scanning angle for each scanning direction;
acquiring touch areas in all the scanning directions according to scanning results, and determining touch points;
and generating an outward-extended touch area corresponding to each scanning direction according to each touch area and an unobstructed optical path adjacent to the touch area in the same scanning direction.
Correspondingly, this application has still provided a touch point profile generation device, is applied to infrared touch scanning equipment, the device specifically includes:
a determination module: determining an inner contour of the touch point according to a touch area in each scanning direction and determining an outer contour of the touch point according to an expanded touch area in each scanning direction, wherein the touch area is an area including all blocked light paths in one scanning direction, and the expanded touch area is an area including all blocked light paths in the same scanning direction and non-blocked light paths adjacent to the touch area;
a first generation module: generating a contour of the touch point from the inner contour and the outer contour.
Preferably, the flared-out touch area is generated by:
taking a previous unblocked light path which is expanded from the starting boundary of the touch area as an expanded starting boundary, and taking a next unblocked light path which is expanded from the ending boundary of the touch area as an expanded ending boundary;
and taking an area formed by the flaring starting boundary and the flaring ending boundary as the flaring touch area corresponding to the touch area.
Preferably, the determining module is specifically configured to:
and taking the boundary of the overlapped part of the touch areas in the scanning directions as the inner contour of the touch point, and taking the boundary of the overlapped part of the touch areas in the scanning directions as the outer contour of the touch point.
Preferably, the first generating module is specifically configured to:
fitting the inner contour and the outer contour using the touch object fitting algorithm between the inner contour of the touch point and the outer contour of the touch point;
and taking the fitting result as the outline of the touch point.
Preferably, the apparatus further comprises:
a scanning module: when a touch operation occurs on a touch screen of the infrared touch scanning equipment, scanning according to a preset scanning direction and a preset scanning angle for each scanning direction;
an acquisition module: acquiring touch areas in all the scanning directions according to scanning results, and determining touch points;
a second generation module: and generating an outward-extended touch area corresponding to each scanning direction according to each touch area and an unobstructed optical path adjacent to the touch area in the same scanning direction.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the beneficial technical effects that:
the invention discloses a touch point contour generation method, which is applied to infrared touch control scanning equipment and is used for scanning according to a preset scanning direction and a preset scanning angle for each scanning direction when touch operation occurs; the method comprises the steps of obtaining touch areas in all scanning directions and determining touch points, further determining extended touch areas corresponding to the touch areas, respectively determining outlines corresponding to the touch areas and the extended touch areas, and generating outlines of the touch points according to the outlines and a preset touch object fitting algorithm. Therefore, the accuracy of the output touch point outline is improved, and meanwhile, the problems of inaccurate touch and mistaken touch caused by the distortion of the area shape of the touch point are effectively reduced.
Drawings
FIG. 1 is a schematic diagram of a prior art touch screen using infrared technology;
fig. 2 is a schematic flow chart of a touch point contour generation method according to an embodiment of the present disclosure;
fig. 3A is a schematic diagram of parallel optical paths in a scanning direction corresponding to a long side under a scanning rule of 1 to 2 in a specific application scenario;
fig. 3B is a schematic diagram of parallel optical paths in another scanning direction corresponding to a long side under a scanning rule of 1 to 2 in a specific application scenario;
fig. 4A is a schematic view of parallel light paths in a scanning direction corresponding to a short side under a scanning rule of 1 to 2 in a specific application scenario;
fig. 4B is a schematic view of parallel light paths in another scanning direction corresponding to the lower short side of a 1-to-2 scanning rule in a specific application scenario;
FIG. 5 is a diagram illustrating a scanning area in a specific application scenario;
fig. 6 is a schematic flow chart of a method for generating an infrared touch screen touch point profile in the preferred embodiment of the present application;
FIG. 7 is a diagram illustrating distortion caused by a conventional touch point algorithm in a specific application scenario;
FIG. 8 is a schematic view of scanning directions corresponding to a conventional touch point algorithm in a specific application scenario;
FIG. 9 is a schematic diagram illustrating a real contour shape of a touch point in a scanning direction corresponding to a conventional touch point algorithm in a specific application scenario;
fig. 10 is a schematic diagram of an inner contour corresponding to a touch point in a scanning direction in a specific application scenario;
fig. 11 is a schematic diagram of an outer contour corresponding to a touch point in a scanning direction in a specific application scenario;
FIG. 12 is a schematic diagram illustrating a position relationship between an inner contour and an outer contour corresponding to a touch point in a scanning direction in a specific application scenario;
FIG. 13 is a schematic diagram of a real outline of a touch point obtained according to a fitting algorithm in a specific application scenario;
fig. 14 is a schematic structural diagram of a touch point contour generation apparatus according to a preferred embodiment of the present application.
Detailed Description
In view of the problems mentioned in the background of the present application, the present invention provides a method for generating a touch point profile, which generates a profile closer to a true profile of a touch point by determining the profiles of a touch area and an extended touch area corresponding to each scanning direction, thereby reducing the problems of inaccurate touch and false touch caused by distortion of the touch point profile.
As shown in fig. 2, a schematic flow chart of a method for generating a touch point profile provided in the embodiment of the present application is applied to an infrared touch scanning device, and the method includes the following steps:
step S201: determining an inner contour of the touch point according to the touch area of each scanning direction, and determining an outer contour of the touch point according to the touch area of each scanning direction.
As described in the background art, in the prior art, when the infrared touch scanning device performs a touch operation, the traditional positioning algorithm does not consider the calculation of infrared touch on the distortion of the outline of a real touch object, and the size and the point position coordinates of the obtained touch point area have large errors, which is visually indicated as large touch operation errors, easily causing erroneous touch, and seriously affecting the touch experience of a user. Therefore, in the method for restoring the touch point profile provided by the application, after the touch point corresponding to the currently touched touch point is determined through the touch area, the inner profile and the outer profile corresponding to the touch point are further determined through the touch area and the extended touch area, and then the real profile of the touch point is generated according to the obtained inner profile and the outer profile according to the preset fitting algorithm, so that a good effect of restoring the real profile of the touch point can be achieved.
In order to accurately obtain the real outline corresponding to the touch object, the concept of the 'extended touch area' is provided in the application, and after the touch areas corresponding to the scanning directions are determined, the extended touch areas corresponding to the touch areas need to be further determined. The extended touch area is obtained on the basis of the touch area, wherein the extended touch area comprises all blocked light paths in the same scanning direction and unblocked light paths adjacent to the touch area, and relative to the touch area, the area corresponding to the extended touch area is the largest area of a touch point formed by a user in the process of using the infrared touch scanning equipment. After the touch area is determined, the starting boundary of the touch area is expanded to the previous unblocked optical path, the ending boundary of the touch area is expanded to the next unblocked optical path, and a new touch area formed by the expansion is called an expanded touch area of the touch area.
Based on the above description, when a touch operation occurs on the infrared touch scanning device, the infrared touch scanning device scans each scanning direction, so as to obtain scanning data in each scanning direction. In a specific application scenario, before determining the inner and outer contours of a touch point according to a touch area and an extended touch area in each scanning direction, it is necessary to set a scanning direction and a scanning angle for an infrared touch scanning device, determine the touch area in each scanning direction by acquiring scanning data in different scanning directions, determine a touch point corresponding to the touch area, and further generate an extended touch area corresponding to the current touch area, so as to provide a basis for subsequently determining the inner and outer contours corresponding to the touch point.
In the preferred embodiment of the present application, before this step, the following process is further included:
and A, when a touch screen of the infrared touch scanning equipment is touched, scanning according to a preset scanning direction and a preset scanning angle for each scanning direction.
Since the scanning direction and the scanning angle corresponding to each scanning direction are set for the infrared touch device in advance in the preferred embodiment of the application, the step scans the infrared touch device according to the preset scanning direction and the scanning angle corresponding to the scanning direction, and then the condition that each light path is blocked in the current scanning period can be obtained, so that a foundation is laid for determining the touch area and expanding the touch area in the subsequent steps.
In a specific application scenario, the scanning direction and the scanning angle are specific to the optical path between the specific infrared emission and infrared reception pair tubes. In the 1-to-n (n > -1) scanning mode, each light path has a different angle for a particular lamp; for a particular emission lamp, we refer to it as a scan direction for each angle of the n light paths. Therefore, the 1-to-n scanning mode has n scanning directions, each scanning direction is composed of a group of parallel optical paths with the same slope, as shown in fig. 3A and 3B, 2 scanning direction diagrams corresponding to 1 to 2 long sides are shown, and as shown in fig. 4A and 4B, 2 scanning direction diagrams corresponding to 1 to 2 short sides are shown.
B, acquiring touch areas in all the scanning directions according to scanning results, and determining touch points;
based on the scanning result in the step a, a touch area of the infrared touch scanning device in the current scanning period and a touch point corresponding to the touch area may be obtained, where the determination of the touch point may be performed by adopting different touch point determination strategies (for example, adopting a ghost point removing algorithm) based on the touch area, and further determining a coordinate position of the touch point, which are all within the protection scope of the present application.
In a specific application scenario, after scanning each scanning direction of the infrared touch device, determining a touch area in each scanning direction according to a light path blocked in each scanning direction, taking an intersection of the touch areas corresponding to each scanning direction as a touch area corresponding to the touch point, and further determining a position where the touch point is located. In a specific application scenario, each specific scanning direction corresponds to a group of parallel scanning optical paths, and when a touch occurs, each touch point will block several consecutive parallel optical paths, and the consecutive blocked optical paths are a touch area in the scanning direction.
As shown in fig. 5, in which the dotted line indicates the blocked light path, a touch point may be calculated and output based on the first and last of the blocked consecutive light paths as the boundary of the touch region. Of the consecutive blocked paths, the first blocked path (i.e., the first dashed line from the infrared touch screen side) is the starting boundary of the touch area, and the last blocked path (i.e., the last dashed line from the infrared touch screen side) is the ending boundary.
In a preferred embodiment of the present application, the obtaining of the touch area in each scanning direction according to the scanning result may be specifically implemented by the following steps:
1) acquiring a continuous shielded light path in the parallel scanning light path corresponding to the scanning direction;
2) taking a first shielded light path in the continuous shielded light paths as an initial boundary, and taking a last shielded light path in the continuous shielded light paths as an end boundary;
3) and taking an area formed by the starting boundary and the ending boundary as a touch area in the scanning direction.
The order of the start boundary and the end boundary may be selected and set according to specific situations, and is not particularly limited.
And C, generating an outward-extended touch area corresponding to each scanning direction according to each touch area and an unshielded light path adjacent to the touch area in the same scanning direction.
Since the touch area is formed according to the scanning optical path blocked in the scanning direction, the boundary of the touch area is only the minimum area of the touch point formed by the user in the process of using the infrared touch scanning device, and in order to accurately define the outline of the touch point, the application proposes the concept of the "extended touch area", wherein the "extended touch area" includes all blocked optical paths in the same scanning direction and unblocked optical paths adjacent to the touch area, and the area corresponding to the "extended touch area" is the maximum area of the touch point formed by the user in the process of using the infrared touch scanning device, so that the application can obtain the actual touch area of the touch point by combining the "touch area" and the "extended touch area" in each scanning direction.
In a specific application scenario, as shown in fig. 5, a first solid line from a leftmost dotted line (i.e., a starting boundary of a touch area) of the infrared touch screen to the left is a starting boundary of the touch area, and a first solid line from a rightmost dotted line (i.e., an ending boundary of the touch area) of the infrared touch screen to the right is an ending boundary of the touch area. And the area between the starting boundary of the outward expansion touch area and the ending boundary of the outward expansion touch area is the outward expansion touch area.
Based on the above description, the preferred embodiment of the present application specifically determines the outward touch area corresponding to each scan direction touch area by the following means:
1) taking a previous unshielded optical path extended from the initial boundary of the touch area as an extended initial boundary, and taking a next unshielded optical path extended from the termination boundary of the touch area as an extended termination boundary;
2) and taking an area formed by the flaring starting boundary and the flaring ending boundary as the flaring touch area corresponding to the touch area.
It should be noted that the above manner of acquiring the touch area is only a part of the preferred embodiments of the present application, and not all of the preferred embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to be able to specifically describe the actual touch profile of the touch point, the present application performs profiling processing on the overlapped portion thereof based on the "touch area" and the "outward-extended touch area" in each scanning direction. In other words, the boundary of the intersection of the touch areas in each scanning direction and the boundary of the intersection of the extended touch areas in each scanning direction are respectively used as the inner contour and the outer contour corresponding to the touch points, so that preparation is made for determining the real contour of the touch points in the subsequent steps.
In a specific application scene, after the touch area and the extension touch area are determined, in order to determine the real contour of the touch object, fitting calculation needs to be performed through the contours corresponding to the touch area and the extension touch area, and a new contour is obtained and used as the contour corresponding to the touch object.
In the preferred embodiment of the present application, the inner contour and the outer contour corresponding to the touch point can be obtained specifically as follows:
taking the boundary of the overlapped part of the touch areas in each scanning direction as the inner contour of the touch point;
the boundary of the overlapping portion of the extended touch regions in each scanning direction is taken as the outline of the touch point.
Taking the scanning direction shown in fig. 8 as an example, the step will be described in detail, where the thin solid lines are blocked light paths, and the dotted lines are unblocked light paths adjacent to the blocked light paths, so that the intersection of the touch areas in the current state is an area where the horizontal and vertical thin solid lines intersect, that is, a small square surrounded by the thin solid lines; the intersection of the touch areas is the area of intersection between the horizontal and vertical dashed lines, i.e. the large square enclosed by the dashed lines. Therefore, in the current state, the outline corresponding to the small square (i.e. the boundary where the touch areas intersect) is the inner outline of the touch point, and the outline corresponding to the large square (i.e. the boundary where the touch areas intersect) is the outer outline of the touch point. Because only two scanning light paths in two directions, the horizontal direction and the vertical direction exist in the current state, the intersection of the touch areas or the intersection of the extended touch areas are regular squares, if the scanning light paths in multiple directions exist, the boundary of the intersection of the touch areas is the boundary of the irregular shape corresponding to the minimum overlapping part of the touch areas corresponding to each scanning direction, the boundary of the intersection of the same extended touch areas is the boundary of the minimum overlapping part of the extended touch areas corresponding to each scanning direction, at this time, the inner contour corresponding to the touch point is also the boundary corresponding to the intersection of the touch areas, and the outer contour is also the boundary corresponding to the intersection of the extended touch areas.
Step S202: generating a contour of the touch point from the inner contour and the outer contour.
After the inner contour and the outer contour corresponding to the touch point are determined, corresponding contours can be generated according to the determined inner contour and the determined outer contour through a preset algorithm, and since the contours are respectively determined based on the touch area and the extended touch area, a real contour corresponding to the touch point can be generated according to the inner contour corresponding to the touch area and the outer contour corresponding to the extended touch area through the step, so that the purpose of restoring the contour of the touch point is achieved.
In a preferred embodiment of the present application, generating the outline of the touch point according to the inner and outer outlines corresponding to the touch point and a preset fitting algorithm may specifically be implemented by the following steps:
1) between an inner contour of the touch point and an outer contour of the touch point, fitting the inner contour and the outer contour using the touch object fitting algorithm;
2) and taking the fitting result as the outline of the touch point.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the beneficial technical effects that:
the invention discloses a touch point contour generation method, which is applied to infrared touch control scanning equipment and is used for scanning according to a preset scanning direction and a preset scanning angle for each scanning direction when touch operation occurs; the method comprises the steps of obtaining touch areas in all scanning directions and determining touch points, further determining extended touch areas corresponding to the touch areas, respectively determining outlines corresponding to the touch areas and the extended touch areas, and generating outlines of the touch points according to the outlines and a preset touch object fitting algorithm. Therefore, the accuracy of the output touch point outline is improved, and meanwhile, the problems of inaccurate touch and mistaken touch caused by the distortion of the area shape of the touch point are effectively reduced.
It should be noted that the above specific embodiment only represents a specific implementation scenario, and does not represent that the solution of the present invention is limited thereto, and any optimization solution that can be conceived by those skilled in the art without creative efforts shall fall into the protection scope of the present embodiment.
The technical solutions in the present application will be described clearly and completely with reference to the accompanying drawings in the present application, and it is obvious that the described embodiments are some, not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 6, a schematic flow chart of a method for generating an infrared touch screen touch point outline provided in the preferred embodiment of the present application is provided, where the method specifically includes the following steps:
step 601: and setting the number n of scanning directions and the angle of each scanning direction, and setting a touch object contour fitting formula R.
In a specific application scenario, when the infrared touch screen starts to work, that is, when the infrared touch screen performs a touch operation, it is first necessary to set the number n of scanning directions and the angle a corresponding to each scanning directioniWherein i is 1,2.. n; meanwhile, the embodiment of the application aims to enable the output outline of the touch point to be closer to the real outline of the touch object, so a fitting formula for calculating the outline of the object needs to be set at the same time, the fitting formula is used for fitting and calculating the inner and outer outlines of the touch point, and the calculated result is close to the real outline data of the touch object. It should be noted that the fitting formula may be set and adjusted by a person skilled in the art according to a specific application scenario, and therefore, the fitting formula is not particularly limited, and any fitting formula may be used as long as the fitting formula can calculate the real contour of the object according to the internal and external contours corresponding to the touch point.
Step 602: n directional optical path scans are performed within one scanning period.
In the infrared touch screen, a specific scanning direction corresponds to a group of parallel scanning light paths. After the scanning direction of the infrared touch screen is set, a group of parallel scanning light paths is generated for each scanning direction, and the n scanning directions correspond to the n groups of parallel scanning light paths. And in each scanning period, scanning the n scanning directions of the infrared touch screen according to the generated parallel scanning optical path.
Step 603: and counting the touch areas in all directions and the outward-extended touch areas of all the touch areas.
In a specific application scenario, when a touch operation occurs, each touch point will block several consecutive parallel light paths, where the consecutive blocked light paths are a scanning area in the scanning direction, as shown in fig. 5, where the dashed lines represent blocked light paths, and in the consecutive blocked light paths, the first blocked light path (i.e. the first dashed line from the infrared touch screen side) is the starting boundary of the touch area, and the last blocked light path (i.e. the last dashed line from the infrared touch screen side) is the ending boundary.
The outward expansion touch area is formed by expanding the starting boundary of the touch area to the previous unshielded optical path and expanding the ending boundary of the touch area to the next unshielded optical path on the basis of the touch area, a new touch area formed by outward expansion is called an outward expansion touch area of the touch area, and as shown in fig. 5, an area corresponding to two solid lines adjacent to dotted lines on two sides is an outward expansion touch area corresponding to the touch area.
Step 604: and calculating the inner and outer contours of each touch point.
Since the conventional touch point output algorithm may cause distortion of the touch point profile, as shown in fig. 7, the distortion is a schematic view of the conventional touch point algorithm, fig. 8 is a schematic view of the current scanning direction, and fig. 9 is a schematic view of the real profile shape of the touch point in the current scanning direction. Therefore, the touch point contour distortion caused by the traditional touch point output algorithm is very serious, so that the inner contour of each touch point needs to be calculated according to the touch area, the outer contour of the corresponding touch point needs to be calculated according to the expanded touch areas corresponding to the touch areas, and the real contour of the touch point is obtained by integrating the inner contour and the outer contour corresponding to the touch areas. Fig. 10 is a schematic diagram showing an inner contour of a touch point in the same scanning direction, and fig. 11 is a schematic diagram showing an outer contour of a touch point in the same scanning direction.
It should be noted that, in the schematic diagram in the embodiment of the present application, the cases in two scanning directions (i.e., the horizontal direction and the vertical direction) are all shown, and in the case of n scanning directions, the inner contour and the outer contour corresponding to the touch area should be the smallest overlapping portion of the touch area on the touch point in each scanning direction.
Step 605: the contour is fit between the inner and outer contours of the touch point using R.
In a specific application scene, traversing each touch point on the infrared touch screen, and fitting the outline of the touch point between the inner outline and the outer outline by using a set touch object fitting formula R. As shown in fig. 12, a schematic diagram of the inner and outer contours corresponding to the determined touch point is shown in fig. 13, which is a schematic diagram of the real contour of the touch point calculated according to the fitting formula.
Step 606: and outputting the outline of the touch point to an upper computer.
In a specific application scene, the calculated data corresponding to the outline of the touch object are sequentially subjected to ghost point removing, track tracking and coordinate conversion, then the coordinates of each point and the fitted outline point information of the point are uploaded to an upper computer, and the upper computer identifies and judges the touch object according to the outline shape information.
Step 607: and judging whether the corresponding outlines of all the touch points are generated correspondingly.
After the judgment is carried out, if so, the flow is ended; if not, the step 602 is repeated, the infrared touch screen is scanned, and the real outline of the touch point is output.
The technical scheme provided by the embodiment of the application is obviously superior to other existing infrared touch scanning schemes in the algorithm of outputting touch points during multi-point touch, and compared with the traditional scheme of scanning and outputting touch points, the technical scheme provided by the embodiment of the application has the greatest advantages that: the method comprises the steps of obtaining touch areas in all scanning directions and determining touch points, further determining extended touch areas corresponding to the touch areas, respectively determining outlines corresponding to the touch areas and the extended touch areas, and generating outlines of the touch points according to the outlines and a preset touch object fitting algorithm. Therefore, the accuracy of the output touch point outline is improved while the real point identification rate is improved aiming at multi-point scanning, and the problems of inaccurate touch and mistaken touch caused by the distortion of the area shape of the touch point are effectively reduced.
It should be noted that the above specific embodiment only represents a specific implementation scenario, and does not represent that the solution of the present invention is limited thereto, and any optimization solution that can be conceived by those skilled in the art without creative efforts shall fall into the protection scope of the present embodiment.
To more clearly illustrate the solutions provided by the foregoing embodiments of the present application, based on the same inventive concept as the foregoing method, the embodiments of the present application further provide a touch point profile generating device applied to an infrared touch scanning device, and a schematic structural diagram of the touch point profile generating device is shown in fig. 14, and specifically includes:
the determination module 141: determining an inner contour of the touch point according to a touch area in each scanning direction and determining an outer contour of the touch point according to an expanded touch area in each scanning direction, wherein the touch area is an area including all blocked light paths in one scanning direction, and the expanded touch area is an area including all blocked light paths in the same scanning direction and non-blocked light paths adjacent to the touch area;
first generation module 142: generating a contour of the touch point from the inner contour and the outer contour.
In a specific application scenario, the extension touch area is specifically generated in the following manner:
taking a previous unblocked light path which is expanded from the starting boundary of the touch area as an expanded starting boundary, and taking a next unblocked light path which is expanded from the ending boundary of the touch area as an expanded ending boundary;
and taking an area formed by the flaring starting boundary and the flaring ending boundary as the flaring touch area corresponding to the touch area.
In a specific application scenario, the determining module 141 is specifically configured to:
and taking the boundary of the overlapped part of the touch areas in the scanning directions as the inner contour of the touch point, and taking the boundary of the overlapped part of the touch areas in the scanning directions as the outer contour of the touch point.
In a specific application scenario, the first generating module 142 is specifically configured to:
fitting the inner contour and the outer contour using the touch object fitting algorithm between the inner contour of the touch point and the outer contour of the touch point;
and taking the fitting result as the outline of the touch point.
In a specific application scenario, the apparatus further includes:
the scanning module 143: when a touch operation occurs on a touch screen of the infrared touch scanning equipment, scanning according to a preset scanning direction and a preset scanning angle for each scanning direction;
the acquisition module 144: acquiring touch areas in all the scanning directions according to scanning results, and determining touch points;
the second generation module 145: and generating an outward-extended touch area corresponding to each scanning direction according to each touch area and an unobstructed optical path adjacent to the touch area in the same scanning direction.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the beneficial technical effects that:
the invention discloses a touch point contour generation method, which is applied to infrared touch control scanning equipment and is used for scanning according to a preset scanning direction and a preset scanning angle for each scanning direction when touch operation occurs; the method comprises the steps of obtaining touch areas in all scanning directions and determining touch points, further determining extended touch areas corresponding to the touch areas, respectively determining outlines corresponding to the touch areas and the extended touch areas, and generating outlines of the touch points according to the outlines and a preset touch object fitting algorithm. Therefore, the accuracy of the output touch point outline is improved, and meanwhile, the problems of inaccurate touch and mistaken touch caused by the distortion of the area shape of the touch point are effectively reduced.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present invention.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above-mentioned invention numbers are merely for description and do not represent the merits of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present invention, however, the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.

Claims (6)

1. A touch point contour generation method is applied to infrared touch scanning equipment and is characterized by comprising the following steps:
determining an inner contour of the touch point according to a touch area in each scanning direction and determining an outer contour of the touch point according to an expanded touch area in each scanning direction, wherein the touch area is an area including all blocked light paths in one scanning direction, and the expanded touch area is an area including all blocked light paths in the same scanning direction and non-blocked light paths adjacent to the touch area;
generating a contour of the touch point according to the inner contour and the outer contour;
the outer expansion touch area is generated by the following method:
taking a previous unblocked light path which is expanded from the starting boundary of the touch area as an expanded starting boundary, and taking a next unblocked light path which is expanded from the ending boundary of the touch area as an expanded ending boundary;
taking an area formed by the flaring starting boundary and the flaring ending boundary as the flaring touch area corresponding to the touch area;
generating the outline of the touch point according to the inner outline and the outer outline, specifically:
fitting the inner contour and the outer contour between the inner contour of the touch point and the outer contour of the touch point using a touch object fitting algorithm;
and taking the fitting result as the outline of the touch point.
2. The method as claimed in claim 1, wherein the inner contour of the touch point is determined according to the touch area of each scanning direction, and the outer contour of the touch point is determined according to the touch area of each scanning direction, specifically:
and taking the boundary of the overlapped part of the touch areas in the scanning directions as the inner contour of the touch point, and taking the boundary of the overlapped part of the touch areas in the scanning directions as the outer contour of the touch point.
3. The method of claim 1, further comprising, prior to determining an inner contour of the touch point from the touch area for each scan direction and an outer contour of the touch point from the flared-out touch area for each scan direction:
when a touch operation occurs on a touch screen of the infrared touch scanning equipment, scanning according to a preset scanning direction and a preset scanning angle for each scanning direction;
acquiring touch areas in all the scanning directions according to scanning results, and determining touch points;
and generating an outward-extended touch area corresponding to each scanning direction according to each touch area and an unobstructed optical path adjacent to the touch area in the same scanning direction.
4. A touch point contour generation device is applied to infrared touch scanning equipment and is characterized by comprising:
a determination module: determining an inner contour of the touch point according to a touch area in each scanning direction and determining an outer contour of the touch point according to an expanded touch area in each scanning direction, wherein the touch area is an area including all blocked light paths in one scanning direction, and the expanded touch area is an area including all blocked light paths in the same scanning direction and non-blocked light paths adjacent to the touch area;
a first generation module: generating a contour of the touch point according to the inner contour and the outer contour;
the outer expansion touch area is generated by the following method:
taking a previous unblocked light path which is expanded from the starting boundary of the touch area as an expanded starting boundary, and taking a next unblocked light path which is expanded from the ending boundary of the touch area as an expanded ending boundary;
taking an area formed by the flaring starting boundary and the flaring ending boundary as the flaring touch area corresponding to the touch area;
the first generation module is specifically configured to:
fitting the inner contour and the outer contour between the inner contour of the touch point and the outer contour of the touch point using a touch object fitting algorithm;
and taking the fitting result as the outline of the touch point.
5. The apparatus of claim 4, wherein the determination module is specifically configured to:
and taking the boundary of the overlapped part of the touch areas in the scanning directions as the inner contour of the touch point, and taking the boundary of the overlapped part of the touch areas in the scanning directions as the outer contour of the touch point.
6. The apparatus of claim 4, wherein the apparatus further comprises:
a scanning module: when a touch operation occurs on a touch screen of the infrared touch scanning equipment, scanning according to a preset scanning direction and a preset scanning angle for each scanning direction;
an acquisition module: acquiring touch areas in all the scanning directions according to scanning results, and determining touch points;
a second generation module: and generating an outward-extended touch area corresponding to each scanning direction according to each touch area and an unobstructed optical path adjacent to the touch area in the same scanning direction.
CN201610805354.2A 2016-09-06 2016-09-06 Touch point contour generation method and equipment Active CN106406638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610805354.2A CN106406638B (en) 2016-09-06 2016-09-06 Touch point contour generation method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610805354.2A CN106406638B (en) 2016-09-06 2016-09-06 Touch point contour generation method and equipment

Publications (2)

Publication Number Publication Date
CN106406638A CN106406638A (en) 2017-02-15
CN106406638B true CN106406638B (en) 2022-04-26

Family

ID=57999871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610805354.2A Active CN106406638B (en) 2016-09-06 2016-09-06 Touch point contour generation method and equipment

Country Status (1)

Country Link
CN (1) CN106406638B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291294B (en) * 2017-06-21 2021-01-29 滁州学院 Control method for sensitivity of touch screen and mobile terminal
CN107831953B (en) * 2017-12-14 2021-02-26 海信视像科技股份有限公司 Infrared touch screen scanning method and device and infrared touch equipment
CN108984039B (en) * 2018-08-03 2021-04-09 珠海市暴雨科技有限公司 Electronic whiteboard device and display method thereof
CN109597529A (en) * 2018-11-06 2019-04-09 广州华欣电子科技有限公司 Infrared touch screen positioning method, device, equipment and medium
CN113126827B (en) * 2019-12-31 2022-09-09 青岛海信商用显示股份有限公司 Touch identification method of touch display device and related equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10295679A (en) * 1997-04-23 1998-11-10 Fuji Photo Film Co Ltd Recognition method and device for irradiation area of radiation image
JP2000235451A (en) * 1999-02-17 2000-08-29 Fujitsu Ltd Optical scanning type touch panel
CN102419661A (en) * 2011-03-09 2012-04-18 北京汇冠新技术股份有限公司 Touch positioning method, touch positioning device and infrared touch screen
AU2013205165A1 (en) * 2008-01-04 2013-05-16 Apple Inc. Interpreting touch contacts on a touch surface
CN103984449A (en) * 2014-05-30 2014-08-13 湖州佳格电子科技有限公司 Touch screen touch area positioning method
CN104978078A (en) * 2014-04-10 2015-10-14 上海品奇数码科技有限公司 Touch point recognition method based on infrared touch screen
CN105892744A (en) * 2016-03-31 2016-08-24 青岛海信电器股份有限公司 Touch trajectory tracking method and device and display equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8884916B2 (en) * 2010-12-09 2014-11-11 Synaptics Incorporated System and method for determining user input using polygons

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10295679A (en) * 1997-04-23 1998-11-10 Fuji Photo Film Co Ltd Recognition method and device for irradiation area of radiation image
JP2000235451A (en) * 1999-02-17 2000-08-29 Fujitsu Ltd Optical scanning type touch panel
AU2013205165A1 (en) * 2008-01-04 2013-05-16 Apple Inc. Interpreting touch contacts on a touch surface
CN102419661A (en) * 2011-03-09 2012-04-18 北京汇冠新技术股份有限公司 Touch positioning method, touch positioning device and infrared touch screen
CN104978078A (en) * 2014-04-10 2015-10-14 上海品奇数码科技有限公司 Touch point recognition method based on infrared touch screen
CN103984449A (en) * 2014-05-30 2014-08-13 湖州佳格电子科技有限公司 Touch screen touch area positioning method
CN105892744A (en) * 2016-03-31 2016-08-24 青岛海信电器股份有限公司 Touch trajectory tracking method and device and display equipment

Also Published As

Publication number Publication date
CN106406638A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN106406638B (en) Touch point contour generation method and equipment
US20220383535A1 (en) Object Tracking Method and Device, Electronic Device, and Computer-Readable Storage Medium
CN102096530B (en) Multi-touch trajectory tracking method
CN102523395B (en) Television system having multi-point touch function, touch positioning identification method and system thereof
CN112771573A (en) Depth estimation method and device based on speckle images and face recognition system
US20130033449A1 (en) Identification method for simultaneously identifying multiple touch points on touch screens
KR20220071284A (en) Vehicle detection method and device
CN108089813B (en) Touch screen scribing operation processing method and device, electronic equipment and storage medium
CN105045439A (en) Touch screen multi-point positioning method and apparatus and touchscreen device
CN110796157A (en) Image difference identification method and device and storage medium
CN104615310A (en) Method and device for determining candidate touch points
CN106598351B (en) Touch point processing method and device
CN104598082A (en) Method and device for determining candidate touch point
WO2020168861A1 (en) Method for obtaining fingerprint template and related device
CN103092438B (en) A kind of infrared touching device and multi-point touch locating method
CN102419664B (en) Multi-point identification method and system of infrared touch screen
CN102419662A (en) Multipoint identification method and system for infrared touch screen
CN107240104A (en) Point cloud data segmentation method and terminal
CN104049797B (en) Scanning range and the determination method of required scanning optical path needed for the identification of touch area
CN103019461A (en) Multi-point positioning method for infrared matrix touch screen
CN105373262B (en) A kind of method and device of the identification invalid light path of infrared touch panel
CN107688431B (en) Man-machine interaction method based on radar positioning
CN106569643B (en) Method and device for positioning touch point of infrared touch screen
CN104641329A (en) Detecting multi-touch events in an optical touch-sensitive device using touch event templates
CN103093475A (en) Image processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant