CN105302381A - Infrared touch screen precision adjusting method and device - Google Patents
Infrared touch screen precision adjusting method and device Download PDFInfo
- Publication number
- CN105302381A CN105302381A CN201510897031.6A CN201510897031A CN105302381A CN 105302381 A CN105302381 A CN 105302381A CN 201510897031 A CN201510897031 A CN 201510897031A CN 105302381 A CN105302381 A CN 105302381A
- Authority
- CN
- China
- Prior art keywords
- touch panel
- infrared touch
- coordinate
- external unit
- straggling parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
The embodiment of the invention discloses an infrared touch screen precision adjusting method and is used for solving the problems that a personal error exists in an existing precision adjusting method, and the existing precision adjusting method is not easy to quantify. The method includes the steps that when second external equipment touches an infrared touch screen, the center point coordinate of a contact region on the infrared touch screen is obtained; a response coordinate sent by first external equipment is received, and the response coordinate is generated when the infrared touch screen is touched by the second external equipment; the deviation parameter of the response coordinate relative to the center point coordinate is calculated; the deviation parameter is transmitted to the first external equipment, so that when the deviation parameter is not in the preset standard deviation range, the first external equipment conducts accuracy adjustment on the infrared touch screen according to the deviation parameter. The embodiment of the invention further provides an infrared touch screen precision adjusting device.
Description
Technical field
The present invention relates to touch-screen detection field, particularly relate to infrared touch panel precision method of adjustment and device.
Background technology
The scanning technique of infrared touch panel depends on the interruption of the infrared ray grating in indicator screen front.Touching frame X, Y-direction comprising an infrared light-emitting diode array and a phototriode array and by transmitting and receiving the opposing parallel installation of pattern one to one, thus form a sightless infrared ray grating.Touch screen controller makes X, the diode array of Y-direction is lighted successively and is sent infrared beam, when barrier is as just blocked light beam when finger enters light beam grid, one or several phototriode has been made to detect the loss of light, by confirming X and the Y-axis coordinate of touched point after calculating.
Use calibrating installation to calibrate when adjusting infrared touch panel precision, conventional calibration method is the reference point using a calibration point touching screen display, calculates the deviation of coordinate and the reference point produced, calibrates.
During due to calibration pen click reference point, be judge whether the click location of calibration pen overlaps with reference point, there is personal error, and precision adjustment not easily quantizes by human eye.
Summary of the invention
Embodiments provide infrared touch panel precision method of adjustment and device, the problem that existing precision regulation method exists personal error, not easily quantizes can be solved.
A kind of infrared touch panel precision method of adjustment that the embodiment of the present invention provides, comprising:
When the second external unit touches infrared touch panel, obtain the center point coordinate of contact area on described infrared touch panel;
Receive the response coordinate that the first external unit sends, produce when described response coordinate is touched by described second external unit by described infrared touch panel;
Calculate the straggling parameter of the relatively described center point coordinate of described response coordinate;
Transmit described straggling parameter to the first external unit, make, when described straggling parameter is not in the Standard deviation-Range preset, to carry out precision adjustment according to described straggling parameter to described infrared touch panel.
Alternatively, described when the second external unit touches infrared touch panel, the center point coordinate obtaining contact area on described infrared touch panel comprises:
When the second external unit touches infrared touch panel, the mark light source preset is emitted beam, light is incident upon the contact area on described infrared touch panel through the anti-dazzling screen preset;
Obtain by the border circular areas of light mark on described contact area, as central point position;
Described center point coordinate is calculated according to described central point position.
Alternatively, describedly calculate described center point coordinate according to described central point position and comprise:
Obtain the circular image of described central point position;
Image procossing calculating is carried out to described circular image, obtains described center point coordinate.
Alternatively, the straggling parameter calculating the relatively described center point coordinate of described response coordinate comprises:
When described contact area is border circular areas, obtain the radius of described contact area, according to the proportionate relationship between described center point coordinate and described response coordinate and described radius, calculate described straggling parameter.
A kind of infrared touch panel precision method of adjustment that the embodiment of the present invention provides, comprising:
When the second external unit touches infrared touch panel, to obtain when described infrared touch panel is touched the response coordinate that produces by described second external unit;
Described response coordinate is sent to described second external unit;
Obtain the straggling parameter that described second external unit sends, described straggling parameter is that described second external unit calculates according to described center point coordinate and described response coordinate, and described center point coordinate is the coordinate that described second external unit obtains the central point of contact area on described infrared touch panel;
Judge described straggling parameter whether in the Standard deviation-Range preset, if not, then according to described straggling parameter, precision adjustment is carried out to described infrared touch panel.
Alternatively, described according to described straggling parameter to described infrared touch panel carry out precision adjustment comprise:
Calibration parameter is generated according to described straggling parameter;
Described calibration parameter is transferred to described infrared touch panel, makes described infrared touch panel adjust described response coordinate according to described calibration parameter.
Alternatively, generate calibration parameter according to described straggling parameter to comprise:
Obtain the resolution of described infrared touch panel and the edge lengths in region to be measured, calculate the edge lengths of each pixel;
According to the edge lengths of described straggling parameter and described pixel, calculate described response coordinate the first departure in a first direction and the second departure in a second direction, described first direction and second direction are mutually vertical;
According to described response coordinate, described first departure and described second departure, generate calibration parameter.
Alternatively, when the second external unit touches infrared touch panel, to obtain when described infrared touch panel is touched the response coordinate that produces by described second external unit comprise:
Described infrared touch panel is divided into multiple subregion by the calibration region number according to presetting, and described subregion independent operating, independently carries out precision adjustment;
When the second external unit touches infrared touch panel, obtain the response coordinate produced by the described subregion that described second external unit touches.
A kind of infrared touch panel precision adjusting gear that the embodiment of the present invention provides, comprising:
Center point coordinate acquisition module, for when described second external unit touches infrared touch panel, obtains the center point coordinate of contact area on described infrared touch panel;
Response coordinate receiver module, for receiving the response coordinate that the first external unit sends, produces when described response coordinate is touched by described second external unit by described infrared touch panel;
Straggling parameter computing module, for calculating the straggling parameter of the relatively described center point coordinate of described response coordinate;
Precision adjusting module, for transmitting described straggling parameter to the first external unit, make when described straggling parameter is not in the Standard deviation-Range preset, described first external unit carries out precision adjustment according to described straggling parameter to described infrared touch panel.
A kind of infrared touch panel precision adjusting gear that the embodiment of the present invention provides, comprising:
First acquisition module, for when the second external unit touches infrared touch panel, to obtain when described infrared touch panel is touched the response coordinate that produces by described second external unit;
First sending module, for sending described response coordinate to described second external unit;
Second acquisition module, for obtaining the straggling parameter that described second external unit sends, described straggling parameter is that described second external unit calculates according to described center point coordinate and described response coordinate, and described center point coordinate is the coordinate that described second external unit obtains the central point of contact area on described infrared touch panel;
First judge module, for judging described straggling parameter whether in the Standard deviation-Range preset;
First adjusting module, for when the judged result of described first judge module is no, carries out precision adjustment according to described straggling parameter to described infrared touch panel.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, when the second external unit touches infrared touch panel, obtain the center point coordinate of contact area on described infrared touch panel; Then, receive the response coordinate that the first external unit sends, produce when described response coordinate is touched by described second external unit by described infrared touch panel; Then, the straggling parameter of the relatively described center point coordinate of described response coordinate is calculated; Finally, transmit described straggling parameter to the first external unit, make when described straggling parameter is not in the Standard deviation-Range preset, described first external unit carries out precision adjustment according to described straggling parameter to described infrared touch panel.In embodiments of the present invention, center point coordinate and response coordinate are all without the need to obtaining by human eye, and the straggling parameter that can calculate according to two coordinates carries out precision adjustment to infrared touch panel, eliminates personal error, and precision adjustment can quantize.
Accompanying drawing explanation
Fig. 1 is a kind of infrared touch panel precision method of adjustment first embodiment process flow diagram in the embodiment of the present invention;
Fig. 2 is a kind of infrared touch panel precision method of adjustment second embodiment process flow diagram in the embodiment of the present invention;
Fig. 3 is a kind of infrared touch panel precision method of adjustment the 3rd embodiment process flow diagram in the embodiment of the present invention;
Fig. 4 is a kind of infrared touch panel precision method of adjustment the 4th embodiment process flow diagram in the embodiment of the present invention;
Fig. 5 is a kind of infrared touch panel precision adjusting gear example structure figure in the embodiment of the present invention;
Fig. 6 is a kind of another example structure figure of infrared touch panel precision adjusting gear in the embodiment of the present invention;
Fig. 7 obtains picture schematic diagram in a kind of infrared touch panel precision regulation method in the present invention;
Fig. 8 is the pre-established principle schematic of systematic unity coordinate system in a kind of infrared touch panel precision regulation method in the present invention;
Fig. 9 is the infrared touch panel sub-zone dividing schematic diagram of a kind of infrared touch panel precision regulation method in the present invention;
Figure 10 is the structural representation of a kind of infrared touch panel precision adjusting gear embodiment in the embodiment of the present invention.
Embodiment
Embodiments provide infrared touch panel precision method of adjustment and device, for solving the problem that existing precision regulation method exists personal error, not easily quantizes.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and the embodiment of not all.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, in the embodiment of the present invention, a kind of infrared touch panel precision method of adjustment first embodiment comprises:
101, when the second external unit touches infrared touch panel, the center point coordinate of contact area on this infrared touch panel is obtained;
In the present embodiment, when the second external unit touches infrared touch panel, obtain the center point coordinate of contact area on this infrared touch panel.
102, the response coordinate that the first external unit sends is received;
After the center point coordinate obtaining contact area on this infrared touch panel, the response coordinate that the first external unit sends can be received, produce when this response coordinate is touched by this second external unit by this infrared touch panel.
103, the straggling parameter of this response coordinate this center point coordinate relative is calculated;
After the response coordinate that reception first external unit sends, the straggling parameter of this response coordinate this center point coordinate relative can be calculated.
104, transmit this straggling parameter to the first external unit, make when this straggling parameter is not in the Standard deviation-Range preset, described first external unit carries out precision adjustment according to this straggling parameter to this infrared touch panel.
After the straggling parameter calculating this response coordinate this center point coordinate relative, this straggling parameter can be transmitted to the first external unit, make when this straggling parameter is not in the Standard deviation-Range preset, described first external unit carries out precision adjustment according to this straggling parameter to this infrared touch panel.
In the present embodiment, when the second external unit touches infrared touch panel, obtain the center point coordinate of contact area on this infrared touch panel; Then, receive the response coordinate that the first external unit sends, produce when this response coordinate is touched by this second external unit by this infrared touch panel; Then, the straggling parameter of this response coordinate this center point coordinate relative is calculated; Finally, transmit this straggling parameter to the first external unit, make when this straggling parameter is not in the Standard deviation-Range preset, described first external unit carries out precision adjustment according to this straggling parameter to this infrared touch panel.In the present embodiment, center point coordinate and response coordinate are all without the need to obtaining by human eye, and the straggling parameter that can calculate according to two coordinates carries out precision adjustment to infrared touch panel, eliminates personal error, and precision adjustment can quantize.
For ease of understanding, be described in detail a kind of infrared touch panel precision method of adjustment in the embodiment of the present invention below, refer to Fig. 2, in the embodiment of the present invention, a kind of infrared touch panel precision method of adjustment second embodiment comprises:
201, when the second external unit touches infrared touch panel, the mark light source preset is emitted beam, light is incident upon the contact area on this infrared touch panel through the anti-dazzling screen preset;
When the second external unit touches infrared touch panel, the mark light source preset is emitted beam, light is incident upon the contact area on this infrared touch panel through the anti-dazzling screen preset.As shown in Figure 7, suppose that a sense partitions of infrared touch panel is the rectangular area shown in Fig. 7, long is A, and wide is B, and wherein border circular areas is the contact area of the second external unit and touch-screen, and O is the circular center of circle.
202, obtain by the border circular areas of light mark on this contact area, as central point position;
At light after the anti-dazzling screen preset is incident upon the contact area on this infrared touch panel, can obtain by the border circular areas of light mark on this contact area, as central point position.Such as, for the sense partitions in Fig. 7, namely central point position is the border circular areas in the center of circle with O.
203, this center point coordinate is calculated according to this central point position;
By the border circular areas of light mark on this contact area of acquisition, after central point position, this center point coordinate can be calculated according to this central point position.Specifically can comprise the following steps: the circular image 1, obtaining this central point position; 2, image procossing calculating is carried out to this circular image, obtain this center point coordinate.
It should be noted that, this center point coordinate be calculated, in system, unified coordinate system should be set up in advance.Such as, as shown in Figure 8, with the left base angle of infrared touch panel for coordinate origin, then the coordinate at four angles of infrared touch panel is respectively (00), (X
1, 0), (X
3, Y
3), (0, Y
3); Rectangle picture four angular coordinate is respectively (X
1, Y
1), (X
2, Y
1), (X
2, Y
2), (X
1, Y
2).
204, the response coordinate that the first external unit sends is received;
After calculating this center point coordinate according to this central point position, the response coordinate that the first external unit sends can be received, produce when this response coordinate is touched by this second external unit by this infrared touch panel.For the sense partitions in Fig. 7, the coordinate of response point in this response coordinate and Fig. 7.
205, the straggling parameter of this response coordinate this center point coordinate relative is calculated;
After the response coordinate that reception first external unit sends, the straggling parameter of this response coordinate this center point coordinate relative can be calculated.Specifically can comprise these steps following: when this contact area is border circular areas, obtain the radius of this contact area, according to the proportionate relationship between this center point coordinate and this response coordinate and this radius, calculate this straggling parameter.
Suppose that the resolution of camera is A × B, the figure length of a film that camera gets and wide for C and D, center point coordinate point is (X
o, Y
o), response coordinate is (X
0, Y
0), be then X in the distance of X-direction coordinate points and central point
o-X
0, be Y in the distance of Y direction
o-Y
0, because the physical length of each pixel is: C ÷ A, D ÷ B, suppose that actual deviation amount is L and M, then actual deviation amount (straggling parameter) is: L=(X
o-X
0) × C ÷ A, M=(Y
o-Y
0) × D ÷ B.
206, transmit this straggling parameter to the first external unit, make, when this straggling parameter is not in the Standard deviation-Range preset, to carry out precision adjustment according to this straggling parameter to this infrared touch panel.
After the straggling parameter calculating this response coordinate this center point coordinate relative, this straggling parameter can be transmitted to the first external unit, make, when this straggling parameter is not in the Standard deviation-Range preset, to carry out precision adjustment according to this straggling parameter to this infrared touch panel.
Suppose that the coordinate points of touch-screen is distributed as (X
o1, X
o2) ~ (X
a, X
b), the length of each pixel of touch-screen and be widely: c ÷ a, d ÷ b, if the side-play amount of the X-axis Y direction of each coordinate points is U and P., the side-play amount of each coordinate points is L and M, then U=L ÷ c ÷ a, P=M ÷ d ÷ b, and the coordinate after overall region adjustment is (X
o1+U, Y
o1+P) ~ (X
a+U, X
b+p).The mode of concrete precision adjustment can have multiple, is not construed as limiting herein.
Essentially describe a kind of infrared touch panel precision method of adjustment above, to be described in detail from another angle a kind of infrared touch panel precision method of adjustment below, refer to Fig. 3, in the embodiment of the present invention, a kind of infrared touch panel precision method of adjustment the 3rd embodiment comprises:
301, when the second external unit touches infrared touch panel, to obtain when this infrared touch panel is touched the response coordinate that produces by this second external unit;
When the second external unit touches infrared touch panel, to obtain when this infrared touch panel is touched the response coordinate that produces by this second external unit.
302, this response coordinate is sent to this second external unit;
When obtaining this infrared touch panel and being touched by this second external unit after the response coordinate that produces, this response coordinate can be sent to this second external unit.
303, the straggling parameter that this second external unit sends is obtained;
After sending this response coordinate to this second external unit, the straggling parameter that this second external unit sends can be obtained, this straggling parameter is calculated according to this center point coordinate and this response coordinate by this second external unit, and the coordinate that this center point coordinate obtains the central point of contact area on this infrared touch panel by this second external unit obtains.
304, judge this straggling parameter whether in the Standard deviation-Range preset, if not, then perform step 305;
After obtaining the straggling parameter that this second external unit sends, this straggling parameter can be judged whether in the Standard deviation-Range preset, if not, then perform step 305.
305, according to this straggling parameter, precision adjustment is carried out to this infrared touch panel.
When judging to learn that this straggling parameter is not in the Standard deviation-Range preset, precision adjustment can be carried out according to this straggling parameter to this infrared touch panel.
In the present embodiment, when the second external unit touches infrared touch panel, to obtain when this infrared touch panel is touched the response coordinate that produces by this second external unit; Then, this response coordinate is sent to this second external unit; Then, obtain the straggling parameter that this second external unit sends, this straggling parameter is calculated according to this center point coordinate and this response coordinate by this second external unit, and the coordinate that this center point coordinate obtains the central point of contact area on this infrared touch panel by this second external unit obtains; Finally, judge this straggling parameter whether in the Standard deviation-Range preset, if not, then according to this straggling parameter, precision adjustment is carried out to this infrared touch panel.In the present embodiment, center point coordinate and response coordinate are all without the need to obtaining by human eye, and the straggling parameter that can calculate according to two coordinates carries out precision adjustment to infrared touch panel, eliminates personal error, and precision adjustment can quantize.
For ease of understanding, be described in detail a kind of infrared touch panel precision method of adjustment in the embodiment of the present invention below, refer to Fig. 4, in the embodiment of the present invention, a kind of infrared touch panel precision method of adjustment the 4th embodiment comprises:
401, according to the calibration region number preset, this infrared touch panel is divided into multiple subregion, this subregion independent operating, independently carries out precision adjustment;
In order to make precision adjust further accurately, according to the calibration region number preset, this infrared touch panel can be divided into multiple subregion, this subregion independent operating, independently carries out precision adjustment.As shown in Figure 9, such as an infrared touch panel can be divided into 9 sub regions, be respectively A, B, C, D, E, F, G, H and I.
402, when the second external unit touches infrared touch panel, the response coordinate produced by this subregion that this second external unit touches is obtained;
When the second external unit touches infrared touch panel, obtain the response coordinate produced by this subregion that this second external unit touches.
403, this response coordinate is sent to this second external unit;
After the response coordinate obtaining this subregion generation touched by this second external unit, this response coordinate can be sent to this second external unit.
404, the straggling parameter that this second external unit sends is obtained;
After the second external unit gets this center point coordinate and this response coordinate, the straggling parameter of this response coordinate this center point coordinate relative can be calculated.Specifically can comprise these steps following: when this contact area is border circular areas, obtain the radius of this contact area, according to the proportionate relationship between this center point coordinate and this response coordinate and this radius, calculate this straggling parameter.The calculated example of this straggling parameter is as being: suppose that the resolution of camera is A × B, the figure length of a film that camera gets and wide for C and D, and center point coordinate point is (X
o, Y
o), response coordinate is (X
0, Y
0), be then X in the distance of X-direction coordinate points and central point
o-X
0, be Y in the distance of Y direction
o-Y
0, because the physical length of each pixel is: C ÷ A, D ÷ B, suppose that actual deviation amount is L and M, then actual deviation amount (straggling parameter) is: L=(X
o-X
0) × C ÷ A, M=(Y
o-Y
0) × D ÷ B.
After the second external unit calculates this straggling parameter, the straggling parameter that this second external unit sends can be obtained.Wherein, the coordinate that this center point coordinate obtains the central point of contact area on this infrared touch panel by this second external unit obtains.
405, judge this straggling parameter whether in the Standard deviation-Range preset, if so, then according to normal flow process, if not, then perform step 406;
After obtaining the straggling parameter that this second external unit sends, this straggling parameter can be judged whether in the Standard deviation-Range preset, if so, then according to normal flow process, if not, then perform step 406.
406, calibration parameter is generated according to this straggling parameter;
When judging to learn that this straggling parameter is not in the Standard deviation-Range preset, generating calibration parameter according to this straggling parameter, specifically can comprise:
1, obtain the resolution of this infrared touch panel and the edge lengths in region to be measured, calculate the edge lengths of each pixel;
2, according to the edge lengths of this straggling parameter and this pixel, calculate this response coordinate the first departure in a first direction and the second departure in a second direction, this first direction and second direction are mutually vertical;
3, according to this response coordinate, this first departure and this second departure, calibration parameter is generated.
407, this calibration parameter is transferred to this infrared touch panel, makes this infrared touch panel adjust this response coordinate according to this calibration parameter.
After generating calibration parameter according to this straggling parameter, this calibration parameter can be transferred to this infrared touch panel, make this infrared touch panel adjust this response coordinate according to this calibration parameter.
Suppose that the coordinate points of touch-screen is distributed as (X
o1, X
o2) ~ (X
a, X
b), the length of each pixel of touch-screen and be widely: c ÷ a, d ÷ b, if the side-play amount of the X-axis Y direction of each coordinate points is U and P., the side-play amount of each coordinate points is L and M, then U=L ÷ c ÷ a, P=M ÷ d ÷ b, and the coordinate after overall region adjustment is (X
o1+U, Y
o1+P) ~ (X
a+U, X
b+p).The mode of concrete precision adjustment can have multiple, is not construed as limiting herein.
Essentially describe a kind of infrared touch panel precision method of adjustment above, to be described in detail a kind of infrared touch panel precision adjusting gear below, refer to Fig. 5, in the embodiment of the present invention, an a kind of embodiment of infrared touch panel precision adjusting gear comprises:
Center point coordinate acquisition module 501, for when this second external unit touches infrared touch panel, obtains the center point coordinate of contact area on this infrared touch panel;
Response coordinate receiver module 502, for receiving the response coordinate that the first external unit sends, produces when this response coordinate is touched by this second external unit by this infrared touch panel;
Straggling parameter computing module 503, for calculating the straggling parameter of this response coordinate this center point coordinate relative;
Precision adjusting module 504, for transmitting this straggling parameter to the first external unit, make when this straggling parameter is not in the Standard deviation-Range preset, this first external unit carries out precision adjustment according to this straggling parameter to this infrared touch panel.
Essentially describe a kind of infrared touch panel precision adjusting gear above, to be described in detail another kind of infrared touch panel precision adjusting gear below, refer to Fig. 6, in the embodiment of the present invention, an a kind of embodiment of infrared touch panel precision adjusting gear comprises:
First acquisition module 601, for when the second external unit touches infrared touch panel, to obtain when this infrared touch panel is touched the response coordinate that produces by this second external unit;
First sending module 602, for sending this response coordinate to this second external unit;
Second acquisition module 603, for obtaining the straggling parameter that this second external unit sends, this straggling parameter is calculated according to this center point coordinate and this response coordinate by this second external unit, and the coordinate that this center point coordinate obtains the central point of contact area on this infrared touch panel by this second external unit obtains;
First judge module 604, for judging this straggling parameter whether in the Standard deviation-Range preset;
First adjusting module 605, for when the judged result of this first judge module 604 is no, carries out precision adjustment according to this straggling parameter to this infrared touch panel.
It should be noted that, the infrared touch panel precision adjusting gear that the corresponding embodiment of Fig. 5 describes and the infrared touch panel precision adjusting gear that the corresponding embodiment of Fig. 6 describes all can apply a kind of infrared touch panel precision method of adjustment that first, second and third or four embodiments describe.Wherein, the infrared touch panel precision adjusting gear that the corresponding embodiment of Fig. 5 describes can specifically a kind of test pen as shown in Figure 10, and the body 1 of this test pen is hollow tubular structure, built-in token light source 3 and camera 2.Mark light source 3 comprises LASER Light Source or diverging light light source.Arrange anti-dazzling screen 4 in the hollow tubular structure of this test pen, anti-dazzling screen 4 is placed in diverging light light source 3 front end.Light tight other partial light permeability outer of this anti-dazzling screen 4 center printing opacity or center.
The principle of work of this test pen can be:
When the test pen touching infrared touch panel of built-in token light source 3, the ray cast that mark light source 3 sends on infrared touch panel, and is positioned in the geometric center of test pen and infrared touch panel contact area.
In the present embodiment, test pen built-in token light source 3, wherein mark light source 3 and comprise laser or diverging light, because laser beam divergence is very little, ideal light rays can be thought, it is projected in the geometric center of infrared touch panel test pen and infrared touch panel contact area, if laser is red, so infrared touch panel there will be a red luminous point.
Mark light source 3 is diverging light, its diverging light sent can think plane, when the test pen touching infrared touch panel of built-in token light source 3, the diverging light that sends of mark light source 3, after the anti-dazzling screen 4 that its light path is arranged, is incident upon projection on the infrared touch panel geometric center in order to labeled test pen and infrared touch panel contact area.
If, then infrared touch panel there is a bright spot in anti-dazzling screen 4 center printing opacity; If anti-dazzling screen 4 only center is light tight, then infrared touch panel there is a stain, all can the geometric center of labeled test pen and infrared touch panel contact area by two kinds of modes.
When the test pen touching infrared touch panel of built-in camera 2, camera 2 takes the image comprising central point mark of infrared touch panel.
In the present embodiment, the camera 2 in test pen can take the image comprising central point mark of infrared touch panel, and as shown in Figure 7, wherein response point represents with two of right-angled intersection vertical lines.
In the present embodiment, as shown in Figure 8, system sets up the consistance coordinate system of image and touch-screen in advance.Wherein, with the left base angle of infrared touch panel for coordinate origin, then the coordinate at four angles of infrared touch panel is respectively (00), (X
1, 0), (X
3, Y
3), (0, Y
3); Rectangle picture four angular coordinate is respectively (X
1, Y
1), (X
2, Y
1), (X
2, Y
2), (X
1, Y
2).
Test pen receives the response coordinate that the first external unit sends, and produces and sends to the first external unit, then send to test pen by the first external unit when this response coordinate is touched by this test pen by this infrared touch panel.
In the present embodiment, when test pen touching infrared touch panel, infrared touch panel obtains the response coordinate of this point of its system responses, easy to usely can be denoted as (X for follow-up
0, Y
0).
Test pen calculates center point coordinate;
In the present embodiment, system can go out center point coordinate according to the positional information calculation on image, is easy to usely denoted as (X in order to follow-up
o, Y
o) it should be noted that, because central point is on image, and image is consistent with the coordinate system of infrared ray display screen, then can think that the coordinate of central point on image equals the coordinate of central point on infrared touch panel.In image procossing, specifically calculate the coordinate of central point, calculate this central point comprising by the relation between image and infrared ray display screen, be not construed as limiting in these computing method.
Test pen is according to the straggling parameter of center point coordinate with this response coordinate calculated response coordinate relative centre point coordinate;
In the present embodiment, suppose that the resolution of camera 2 is A × B, the figure length of a film that camera 2 gets and wide for C and D, center point coordinate point is (X
o, Y
o), response coordinate is (X
0, Y
0), be then X in the distance of X-direction coordinate points and central point
o-X
0, be Y in the distance of Y direction
o-Y
0, because the physical length of each pixel is: C ÷ A, D ÷ B, suppose that actual deviation amount is L and M, then actual deviation amount is: L=(X
o-X
0) × C ÷ A, M=(Y
o-Y
0) × D ÷ B
Test pen transmits this straggling parameter to the first external unit, if when this first external unit judges to learn that this straggling parameter is not in the Standard deviation-Range preset, the first external unit carries out precision adjustment according to this straggling parameter to infrared touch panel.
In the present embodiment, the system of infrared touch panel finally carries out precision adjustment according to straggling parameter.
Suppose that the coordinate points of touch-screen is distributed as (X
o1, X
o2) ~ (X
a, X
b), the length of each pixel of touch-screen and be widely: c ÷ a, d ÷ b, if the side-play amount of the X-axis Y direction of each coordinate points is U and P., the side-play amount of each coordinate points is L and M, then U=L ÷ c ÷ a, P=M ÷ d ÷ b, and the coordinate after overall region adjustment is (X
o1+U, Y
o1+P) ~ (X
a+U, X
b+p).
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. an infrared touch panel precision method of adjustment, is characterized in that, comprising:
When the second external unit touches infrared touch panel, obtain the center point coordinate of contact area on described infrared touch panel;
Receive the response coordinate that the first external unit sends, produce when described response coordinate is touched by described second external unit by described infrared touch panel;
Calculate the straggling parameter of the relatively described center point coordinate of described response coordinate;
Transmit described straggling parameter to the first external unit, make when described straggling parameter is not in the Standard deviation-Range preset, described first external unit carries out precision adjustment according to described straggling parameter to described infrared touch panel.
2. infrared touch panel precision method of adjustment according to claim 1, is characterized in that, described when the second external unit touches infrared touch panel, the center point coordinate obtaining contact area on described infrared touch panel comprises:
When the second external unit touches infrared touch panel, the mark light source preset is emitted beam, light is incident upon the contact area on described infrared touch panel through the anti-dazzling screen preset;
Obtain by the border circular areas of light mark on described contact area, as central point position;
Described center point coordinate is calculated according to described central point position.
3. infrared touch panel precision method of adjustment according to claim 2, is characterized in that, describedly calculates described center point coordinate according to described central point position and comprises:
Obtain the circular image of described central point position;
Image procossing calculating is carried out to described circular image, obtains described center point coordinate.
4. infrared touch panel precision method of adjustment according to claim 1, is characterized in that, the straggling parameter calculating the relatively described center point coordinate of described response coordinate comprises:
When described contact area is border circular areas, obtain the radius of described contact area, according to the proportionate relationship between described center point coordinate and described response coordinate and described radius, calculate described straggling parameter.
5. an infrared touch panel precision method of adjustment, is characterized in that, comprising:
When the second external unit touches infrared touch panel, to obtain when described infrared touch panel is touched the response coordinate that produces by described second external unit;
Described response coordinate is sent to described second external unit;
Obtain the straggling parameter that described second external unit sends, described straggling parameter is that described second external unit calculates according to center point coordinate and described response coordinate, and described center point coordinate is the coordinate that described second external unit obtains the central point of contact area on described infrared touch panel;
Judge described straggling parameter whether in the Standard deviation-Range preset, if not, then according to described straggling parameter, precision adjustment is carried out to described infrared touch panel.
6. infrared touch panel precision method of adjustment according to claim 5, is characterized in that, described according to described straggling parameter to described infrared touch panel carry out precision adjustment comprise:
Calibration parameter is generated according to described straggling parameter;
Described calibration parameter is transferred to described infrared touch panel, makes described infrared touch panel adjust described response coordinate according to described calibration parameter.
7. infrared touch panel precision method of adjustment according to claim 6, is characterized in that, generates calibration parameter comprise according to described straggling parameter:
Obtain the resolution of described infrared touch panel and the edge lengths in region to be measured, calculate the edge lengths of each pixel;
According to the edge lengths of described straggling parameter and described pixel, calculate described response coordinate the first departure in a first direction and the second departure in a second direction, described first direction and second direction are mutually vertical;
According to described response coordinate, described first departure and described second departure, generate calibration parameter.
8. infrared touch panel precision method of adjustment according to claim 5, is characterized in that, when the second external unit touches infrared touch panel, to obtain when described infrared touch panel is touched the response coordinate that produces by described second external unit comprise:
Described infrared touch panel is divided into multiple subregion by the calibration region number according to presetting, and described subregion independent operating, independently carries out precision adjustment;
When the second external unit touches infrared touch panel, obtain the response coordinate produced by the described subregion that described second external unit touches.
9. an infrared touch panel precision adjusting gear, is characterized in that, comprising:
Center point coordinate acquisition module, for when described second external unit touches infrared touch panel, obtains the center point coordinate of contact area on described infrared touch panel;
Response coordinate receiver module, for receiving the response coordinate that the first external unit sends, produces when described response coordinate is touched by described second external unit by described infrared touch panel;
Straggling parameter computing module, for calculating the straggling parameter of the relatively described center point coordinate of described response coordinate;
Precision adjusting module, for transmitting described straggling parameter to the first external unit, make when described straggling parameter is not in the Standard deviation-Range preset, described first external unit carries out precision adjustment according to described straggling parameter to described infrared touch panel.
10. an infrared touch panel precision adjusting gear, is characterized in that, comprising:
First acquisition module, for when the second external unit touches infrared touch panel, to obtain when described infrared touch panel is touched the response coordinate that produces by described second external unit;
First sending module, for sending described response coordinate to described second external unit;
Second acquisition module, for obtaining the straggling parameter that described second external unit sends, described straggling parameter is that described second external unit calculates according to described center point coordinate and described response coordinate, and described center point coordinate is the coordinate that described second external unit obtains the central point of contact area on described infrared touch panel;
First judge module, for judging described straggling parameter whether in the Standard deviation-Range preset;
First adjusting module, for when the judged result of described first judge module is no, carries out precision adjustment according to described straggling parameter to described infrared touch panel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510897031.6A CN105302381B (en) | 2015-12-07 | 2015-12-07 | Infrared touch panel precision method of adjustment and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510897031.6A CN105302381B (en) | 2015-12-07 | 2015-12-07 | Infrared touch panel precision method of adjustment and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105302381A true CN105302381A (en) | 2016-02-03 |
CN105302381B CN105302381B (en) | 2019-07-02 |
Family
ID=55199715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510897031.6A Active CN105302381B (en) | 2015-12-07 | 2015-12-07 | Infrared touch panel precision method of adjustment and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105302381B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106228148A (en) * | 2016-08-05 | 2016-12-14 | 汤棋 | A kind of face recognition device and occupation mode |
CN106547394A (en) * | 2016-09-30 | 2017-03-29 | 青岛海信电器股份有限公司 | A kind of calibration steps of touch display screen, apparatus and system |
CN111025039A (en) * | 2019-10-24 | 2020-04-17 | 广州视源电子科技股份有限公司 | Method, device, equipment and medium for testing accuracy of touch display screen |
CN113282193A (en) * | 2021-05-27 | 2021-08-20 | 昆山龙雨智能科技有限公司 | Detection method of flexible circuit board and capacitive touch screen |
CN114385024A (en) * | 2020-10-22 | 2022-04-22 | 青岛海信商用显示股份有限公司 | Method and system for detecting infrared touch module |
CN114792313A (en) * | 2022-06-21 | 2022-07-26 | 武汉海微科技有限公司 | Touch detection method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090135162A1 (en) * | 2005-03-10 | 2009-05-28 | Koninklijke Philips Electronics, N.V. | System and Method For Detecting the Location, Size and Shape of Multiple Objects That Interact With a Touch Screen Display |
CN101581993A (en) * | 2009-04-08 | 2009-11-18 | 广东威创视讯科技股份有限公司 | Calibration method and calibration device for novel touch screen device |
CN103472953A (en) * | 2013-09-25 | 2013-12-25 | 成都吉锐触摸技术股份有限公司 | Calibration method of touch display screen |
-
2015
- 2015-12-07 CN CN201510897031.6A patent/CN105302381B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090135162A1 (en) * | 2005-03-10 | 2009-05-28 | Koninklijke Philips Electronics, N.V. | System and Method For Detecting the Location, Size and Shape of Multiple Objects That Interact With a Touch Screen Display |
CN101581993A (en) * | 2009-04-08 | 2009-11-18 | 广东威创视讯科技股份有限公司 | Calibration method and calibration device for novel touch screen device |
CN103472953A (en) * | 2013-09-25 | 2013-12-25 | 成都吉锐触摸技术股份有限公司 | Calibration method of touch display screen |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106228148A (en) * | 2016-08-05 | 2016-12-14 | 汤棋 | A kind of face recognition device and occupation mode |
CN106547394A (en) * | 2016-09-30 | 2017-03-29 | 青岛海信电器股份有限公司 | A kind of calibration steps of touch display screen, apparatus and system |
CN106547394B (en) * | 2016-09-30 | 2019-09-17 | 青岛海信电器股份有限公司 | A kind of calibration method of touch display screen, apparatus and system |
CN111025039A (en) * | 2019-10-24 | 2020-04-17 | 广州视源电子科技股份有限公司 | Method, device, equipment and medium for testing accuracy of touch display screen |
CN114385024A (en) * | 2020-10-22 | 2022-04-22 | 青岛海信商用显示股份有限公司 | Method and system for detecting infrared touch module |
CN114385024B (en) * | 2020-10-22 | 2024-09-03 | 青岛海信商用显示股份有限公司 | Inspection method and system for infrared touch module |
CN113282193A (en) * | 2021-05-27 | 2021-08-20 | 昆山龙雨智能科技有限公司 | Detection method of flexible circuit board and capacitive touch screen |
CN113282193B (en) * | 2021-05-27 | 2023-07-21 | 昆山龙雨智能科技有限公司 | Flexible circuit board and detection method of capacitive touch screen |
CN114792313A (en) * | 2022-06-21 | 2022-07-26 | 武汉海微科技有限公司 | Touch detection method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105302381B (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105302381A (en) | Infrared touch screen precision adjusting method and device | |
US9207812B2 (en) | Interactive input system and method | |
JP3881148B2 (en) | Photodetection device for coordinate detection, coordinate input / detection device, electronic blackboard, mounting position detection method, and storage medium | |
CN104423731B (en) | Apparatus of coordinate detecting, the method for coordinate measurement and electronic information plate system | |
CN1952595A (en) | Three-dimensional shape measuring apparatus, computer-readable recording medium, and three-dimensional shape measuring method | |
US20080291179A1 (en) | Light Pen Input System and Method, Particularly for Use with Large Area Non-Crt Displays | |
CN101208738A (en) | Automatic projection calibration | |
CN108267133B (en) | Laser type reflecting plate coordinate system redundancy calibration method and laser navigation system | |
CN109002219A (en) | A kind of interaction positioning correction method and device | |
CN112381889A (en) | Camera inspection method, device, equipment and storage medium | |
WO2015139427A1 (en) | Laser virtual touch control method and system | |
US8355012B2 (en) | Scanning method for determining a touch position of a touch input apparatus | |
CN104850275A (en) | Projection terminal and projection touch-control implementation method therefor | |
US6616283B1 (en) | Projector | |
KR101153555B1 (en) | Apparatus for touch screen | |
CN104034259A (en) | Method for correcting image measurement instrument | |
JP3846981B2 (en) | Information display device with optical position detector | |
US20160334937A1 (en) | Optical touch device and sensing method thereof | |
US9323322B2 (en) | Interactive input system and method of detecting objects | |
CN109982074B (en) | Method and device for obtaining inclination angle of TOF module and assembling method | |
CN105005418A (en) | Interactive touch system and light source device | |
JP4968915B2 (en) | Coordinate input device, coordinate detection method, and computer program | |
CN107966682B (en) | Auxiliary device for lighthouse positioning system | |
CN104655056B (en) | The angle zero-bit calibration system and method for a kind of infrared imaging product | |
KR20120137050A (en) | Method of image calibration for mobile projector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |