CN102866808B - Method and system for self-correcting of specially-shaped touch screen - Google Patents

Method and system for self-correcting of specially-shaped touch screen Download PDF

Info

Publication number
CN102866808B
CN102866808B CN201210376932.7A CN201210376932A CN102866808B CN 102866808 B CN102866808 B CN 102866808B CN 201210376932 A CN201210376932 A CN 201210376932A CN 102866808 B CN102866808 B CN 102866808B
Authority
CN
China
Prior art keywords
screen
points
touch
point
value
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.)
Expired - Fee Related
Application number
CN201210376932.7A
Other languages
Chinese (zh)
Other versions
CN102866808A (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.)
Shanghai Dianji University
Original Assignee
Shanghai Dianji University
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 Shanghai Dianji University filed Critical Shanghai Dianji University
Priority to CN201210376932.7A priority Critical patent/CN102866808B/en
Publication of CN102866808A publication Critical patent/CN102866808A/en
Application granted granted Critical
Publication of CN102866808B publication Critical patent/CN102866808B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention discloses a method and a system for self-correcting of a specially-shaped touch screen. The method includes the following steps of selecting six points from four corners of the specially-shaped touch screen and central positions of an upper edge and a lower edge, and setting the horizontal distance between two points positioned at an upper side corner, the horizontal distance between two points of a lower side corner and the perpendicular distance of two points of the central positions of the upper and lower edges; carrying out a six-point correction testing for respectively acquiring AD values of the six points; sampling an arbitrary point on the screen and acquiring the position of the arbitrary point away from a central point by calculating through a calculation formula using the AD values of the six points; and translating the acquired position of the arbitrary point away from the central point to acquire a coordinate of the arbitrary point in an operating system according to the coordinate position of the geometric center of the touch screen on a display screen. The method and the system for self-correcting of the specially-shaped touch screen are accurate in correction and positioning accuracy of the specially-shaped touch screen can be improved.

Description

Abnormity touch-screen automatic correcting method and system
Technical field
The present invention relates to a kind of touch-screen automatic correcting method and system, particularly relate to a kind of special-shaped touch-screen automatic correcting method and system.
Background technology
Touch-screen is a kind of common equipment substituting keyboard, mouse in present electronic device terminal and human-computer interaction interface, and it has easy and simple to handle, directly perceived, and positioning precision is higher, and function definition is convenient, the advantages such as software programming is flexible.
General touch-screen input system forms by touching detection part, touch screen controller and microcontroller; Touching detection part is arranged on before indicator screen, for detecting user touch location, send touch screen controller after acceptance; And the Main Function of touch screen controller receives touch information from touch point detection device, and convert it to contact coordinate. give microcontroller again. it can receive order that microcontroller sends simultaneously and be performed.
Based on the difference of principle, touch-screen can be divided into resistance-type, condenser type, surface acoustic wave type etc.Wherein resistance-type applies wider a kind of touch-screen, and its principle is the coordinate obtaining contact by measuring horizontal and vertical resistance value.
Conventional touch-screen is all standard rectangle, and orientation range is symmetrical, and orientation range amplitude is close to full width.Nonetheless, want to reach higher positioning precision, still need before use to enter Self-corrective procedures, the physical coordinates through the angle of 3 to 4 points is demarcated, such as, suppose it is 6.4 inches of screens, 640X480 resolution, then their pixel coordinate is (20 respectively, 20), (20,460), (620,460) and (620,20).Like this, the use method of undetermined coefficients just can calculate the translation relation between coordinate system, and then can operate further, but is not that each use all will correct, as long as coordinate does not drift about, does not just need again to correct.So after once correcting, as long as that several parameter is saved, when next time needs, directly use the parameter preserved last time.
But, for special-shaped touch-screen, due to its scrambling, then often can not carry out precise calibration according to said method, therefore can not adopt the automatic correcting method of regular touch-screen.
Summary of the invention
For overcoming the deficiency that above-mentioned prior art exists, the object of the present invention is to provide a kind of special-shaped touch-screen automatic correcting method and system, and it is corrected accurately, can improve the positioning precision of special-shaped touch-screen.
For reaching above-mentioned and other object, the invention provides a kind of special-shaped touch-screen automatic correcting method, comprising the steps:
Select six points in four corners of this special-shaped touch-screen and lower edges center, and the flat distance of WAWQ that setting is positioned at corner, upside is a, the flat distance of WAWQ in corner, downside is b, and the vertical range that lower edges center is 2 is c;
Carry out six point calibration tests, obtain the AD value of these six points respectively;
Sampled in arbitrfary point on screen, and utilize the AD value of these six points to calculate the position of this arbitrfary point distance center point by a computing formula; And
According to touch-screen geometric center coordinate position within display screen, to obtain this arbitrfary point distance center point position do translation and obtain this arbitrfary point coordinate in an operating system.
Further, this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections of calculating:
If (y2+y4)/2 < yT < (y1+y3)/2, then XT={{ [2*yT-(y2+y4)]/[(y1+y3)-(y2+y4)] } * (b-a)+a}* [2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT is < (y2+y4)/2 or yT > (y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain the numerical value of horizontal width d corresponding to this yT, and XT=d* [2*xT-(x5+x6)]/[x3-x1+x4-x2]; Wherein, x1, y1, x2, y2...., x6, y6 are respectively the AD value of these six points, and XT, YT are the position of this arbitrfary point distance center point.
Further, the numerical range of a, b, c is 0-4095.
Further, need according to screen actual dot matrix adjustment a, b, c numerical value, numerical value will meet screen proportion.
Further, the expression scope of x1, y1, x2, y2...., x6, y6 is 0-4095.
For reaching above-mentioned and other object, the present invention also provides a kind of special-shaped touch-screen self correcting system, at least comprises:
Check point selects module, six points are selected in four corners of this special-shaped touch-screen and lower edges center, and the flat distance of WAWQ that setting is positioned at corner, upside is a, the flat distance of WAWQ in corner, downside is b, and the vertical range that lower edges center is 2 is;
AD value obtains module, carries out six point calibration tests, obtains six groups of AD values of these six points respectively;
Sampling module, for sampling to arbitrfary point on this special-shaped touch-screen;
Calculate module, calculated the position of this arbitrfary point distance center point according to the AD value of these six points by a computing formula; And
Translation module, does translation according to touch-screen geometric center coordinate position within display screen and obtains this arbitrfary point coordinate in an operating system.
Further, this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections of calculating:
If (y2+y4)/2 < yT < (y1+y3)/2, then XT={{ [2*yT-(y2+y4)]/[(y1+y3)-(y2+y4)] } * (b-a)+a}* [2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT is < (y2+y4)/2 or yT > (y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain the numerical value of horizontal width d corresponding to this yT, and XT=d* [2*xT-(x5+x6)]/[x3-x1+x4-x2]; Wherein, x1, y1, x2, y2...., x6, y6 are respectively the AD value of these six points, and XT, YT are the position of this arbitrfary point distance center point.
Further, the numerical range of a, b, c is 0-4095.
Further, the expression scope of x1, y1, x2, y2...., x6, y6 is 0-4095.
Compared with prior art, a kind of special-shaped touch-screen automatic correcting method of the present invention and system, the AD value of six points selected by utilization calculates the position of the arbitrfary point distance center point obtaining sampling by computing formula, the coordinate of sampled point in operating system is obtained by translation, reach the object of comparatively precise calibration abnormity touch-screen, make special-shaped touch-screen have higher positioning precision.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of special-shaped touch-screen automatic correcting method of the present invention;
Fig. 2 is the front schematic view of the special-shaped touch-screen of present pre-ferred embodiments;
Fig. 3 is the system architecture diagram of a kind of special-shaped touch-screen self correcting system of the present invention.
Embodiment
Below by way of specific instantiation and accompanying drawings embodiments of the present invention, those skilled in the art can understand other advantage of the present invention and effect easily by content disclosed in the present specification.The present invention is also implemented by other different instantiation or is applied, and the every details in this instructions also can based on different viewpoints and application, carries out various modification and change not deviating under spirit of the present invention.
Fig. 1 is the flow chart of steps of a kind of special-shaped touch-screen automatic correcting method of the present invention.In present pre-ferred embodiments, special-shaped touch-screen is the resistance-type abnormity touch-screen of trapezoidal shape, and as shown in Figure 1, a kind of special-shaped touch-screen automatic correcting method of the present invention, comprises the steps:
Step 101, six points are selected in four corners of this special-shaped touch-screen and lower edges center, and the flat distance of WAWQ that setting is positioned at corner, upside is a, the flat distance of WAWQ in corner, downside is b, the vertical range that lower edges center is 2 is c, Fig. 2 is the front schematic view of the special-shaped touch-screen of present pre-ferred embodiments, as shown in Figure 2, setting 1, 3 horizontal ranges are a, 2, 4 horizontal ranges are b, 5, 6 vertical ranges are c, a, b, the numerical range 0-4095 of c, need to adjust a according to the actual dot matrix of screen, b, c numerical value, numerical value will meet screen proportion,
Step 102, carries out six point calibration tests, obtains the AD value of these six points respectively, and as x1, y1, x2, y2...., x6, y6, the expression scope of these AD values is 0-4095;
Step 103, samples to arbitrfary point T on screen, and utilizes the AD value of these six points to calculate the position XT of this arbitrfary point T distance center point by a computing formula, YT, and wherein, the scope of XT, YT is +/-2047, and specifically, this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections of calculating:
If (y2+y4)/2 < yT < (y1+y3)/2, then XT={{ [2*yT-(y2+y4)]/[(y1+y3)-(y2+y4)] } * (b-a)+a}* [2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT is < (y2+y4)/2 or yT > (y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain numerical value (d and a of horizontal width d corresponding to this yT, b meets ratio), and XT=d* [2*xT-(x5+x6)]/[x3-x1+x4-x2].
Step 104, does translation according to touch-screen geometric center coordinate position X0 within display screen, Y0 and obtains this arbitrfary point T point coordinate in an operating system, i.e. X=XT+X0, Y=YT+Y0.
Fig. 3 is the system architecture diagram of a kind of special-shaped touch-screen self correcting system of the present invention.As shown in Figure 3, a kind of special-shaped touch-screen self correcting system of the present invention, comprising: check point selects module 301, AD value to obtain module 302, sampling module 303, calculate module 304 and translation module 305.
Wherein check point selects module 301 to select six points in four corners of this special-shaped touch-screen and lower edges center, and the flat distance of WAWQ that setting is positioned at corner, upside is a, the flat distance of WAWQ in corner, downside is b, the vertical range that lower edges center is 2 is c, wherein the numerical range of a, b, c is 0-4095, needs to adjust a, b according to the actual dot matrix of screen, c numerical value, numerical value will meet screen proportion; AD value obtains module 302 and carries out six point calibration tests, and obtain six groups of AD values of these six points respectively, as x1, y1, x2, y2...., x6, y6, the expression scope of these AD values is 0-4095; Sampling module 303 is for sampling to arbitrfary point T on this special-shaped touch-screen; Calculate module 304, calculated the position XT of this arbitrfary point T distance center point by a computing formula according to the AD value of these six points, YT, wherein, the scope of XT, YT is +/-2047, and specifically, this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections of calculating:
If (y2+y4)/2 < yT < (y1+y3)/2, then XT={{ [2*yT-(y2+y4)]/[(y1+y3)-(y2+y4)] } * (b-a)+a}* [2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT is < (y2+y4)/2 or yT > (y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain numerical value (d and a of horizontal width d corresponding to this yT, b meets ratio), and XT=d* [2*xT-(x5+x6)]/[x3-x1+x4-x2].
Translation module 305, does translation according to touch-screen geometric center coordinate position X0 within display screen, Y0 and obtains T point coordinate in an operating system, X=XT+X0, Y=YT+Y0.
Visible, the special-shaped touch-screen automatic correcting method of the present invention and system, the AD value of six points selected by utilization calculates the position of the arbitrfary point distance center point obtaining sampling by computing formula, the coordinate of sampled point in operating system is obtained by translation, reach the object of comparatively precise calibration abnormity touch-screen, make special-shaped touch-screen have higher positioning precision.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any those skilled in the art all without prejudice under spirit of the present invention and category, can carry out modifying to above-described embodiment and change.Therefore, the scope of the present invention, should listed by claims.

Claims (7)

1. a trapezoidal touch-screen automatic correcting method, comprises the steps:
Select six points in four corners of this trapezoidal touch-screen and lower edges center, and the flat distance of WAWQ that setting is positioned at corner, upside is a, the flat distance of WAWQ in corner, downside is b, and the vertical range that lower edges center is 2 is c;
Carry out six point calibration tests, obtain the AD value of these six points respectively;
Sampled in arbitrfary point on screen, and utilize the AD value of these six points to calculate the position of this arbitrfary point distance center point by a computing formula; And
According to touch-screen geometric center coordinate position within display screen, to obtain this arbitrfary point distance center point position do translation and obtain this arbitrfary point coordinate in an operating system;
Described computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections of calculating:
If (y2+y4)/2<yT< (y1+y3)/2, then XT={{ [2*yT-(y2+y4)]/[(y1+y3)-(y2+y4)] } * (b-a)+a}* [2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT< (y2+y4)/2 or yT> (y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain the numerical value of horizontal width d corresponding to this yT, and XT=d* [2*xT-(x5+x6)]/[x3-x1+x4-x2]: wherein, x1, y1, x2, y2 ...., x6, y6 are respectively the AD value of these six points, XT, YT are the position of this arbitrfary point distance center point.
2. trapezoidal touch-screen automatic correcting method as claimed in claim 1, is characterized in that: the numerical range of a, b, c is 0-4095.
3. trapezoidal touch-screen automatic correcting method as claimed in claim 2, is characterized in that: need according to screen actual dot matrix adjustment a, b, c numerical value, and numerical value will meet screen proportion.
4. trapezoidal touch-screen automatic correcting method as claimed in claim 2, is characterized in that: x1, y1, x2, y2 ...., the expression scope of x6, y6 is 0-4095.
5. a trapezoidal touch-screen self correcting system, at least comprises:
Check point selects module, six points are selected in four corners of this trapezoidal touch-screen and lower edges center, and the flat distance of WAWQ that setting is positioned at corner, upside is a, the flat distance of WAWQ in corner, downside is b, and the vertical range that lower edges center is 2 is c;
AD value obtains module, carries out six point calibration tests, obtains six groups of AD values of these six points respectively;
Sampling module, for sampling to arbitrfary point on this trapezoidal touch-screen;
Calculate module, calculated the position of this arbitrfary point distance center point according to the AD value of these six points by a computing formula; And
Translation module, does translation according to touch-screen geometric center coordinate position within display screen and obtains this arbitrfary point coordinate in an operating system;
Described computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections of calculating:
If (y2+y4)/2<yT< (y1+y3)/2, then XT={{ [2*yT-(y2+y4)]/[(y1+y3)-(y2+y4)] } * (b-a)+a}* [2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT< (y2+y4)/2 or yT> (y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain the numerical value of horizontal width d corresponding to this yT, and XT=d* [2*xT-(x5+x6)]/[x3-x1+x4-x2]; Wherein, x1, y1, x2, y2 ...., x6, y6 are respectively the AD value of these six points, and XT, YT are the position of this arbitrfary point distance center point.
6. trapezoidal touch-screen self correcting system as claimed in claim 5, is characterized in that: the numerical range of a, b, c is 0-4095.
7. trapezoidal touch-screen self correcting system as claimed in claim 6, is characterized in that: x1, y1, x2, y2 ...., the expression scope of x6, y6 is 0-4095.
CN201210376932.7A 2012-09-28 2012-09-28 Method and system for self-correcting of specially-shaped touch screen Expired - Fee Related CN102866808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210376932.7A CN102866808B (en) 2012-09-28 2012-09-28 Method and system for self-correcting of specially-shaped touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210376932.7A CN102866808B (en) 2012-09-28 2012-09-28 Method and system for self-correcting of specially-shaped touch screen

Publications (2)

Publication Number Publication Date
CN102866808A CN102866808A (en) 2013-01-09
CN102866808B true CN102866808B (en) 2015-07-15

Family

ID=47445705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210376932.7A Expired - Fee Related CN102866808B (en) 2012-09-28 2012-09-28 Method and system for self-correcting of specially-shaped touch screen

Country Status (1)

Country Link
CN (1) CN102866808B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267866B (en) * 2014-09-15 2017-04-12 福建升腾资讯有限公司 Asymmetric touch screen calibrating method and system
CN113257182B (en) * 2021-06-29 2021-09-17 卡莱特云科技股份有限公司 Lamp point position correction method and device in LED display screen correction process
CN114974090B (en) * 2022-05-31 2024-10-18 李卫华 Method and system for processing abnormal LED screen pixel change wiring diagram

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349955A (en) * 2008-09-03 2009-01-21 嘉兴闻泰通讯科技有限公司 Method for mapping touch screen based on five points calibration
CN102221933A (en) * 2011-07-03 2011-10-19 吉林大学 Method for accurately calculating screen coordinates of touch points in distortion projection plane of electronic white board

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7432917B2 (en) * 2004-06-16 2008-10-07 Microsoft Corporation Calibration of an interactive display system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349955A (en) * 2008-09-03 2009-01-21 嘉兴闻泰通讯科技有限公司 Method for mapping touch screen based on five points calibration
CN102221933A (en) * 2011-07-03 2011-10-19 吉林大学 Method for accurately calculating screen coordinates of touch points in distortion projection plane of electronic white board

Also Published As

Publication number Publication date
CN102866808A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
EP3281092B1 (en) Force-sensitive touch sensor compensation
US8243047B2 (en) Calibrating apparatus and method
TWI454993B (en) Imaging device based touch system
US20100220063A1 (en) System and methods for calibratable translation of position
US20110157083A1 (en) Resistive touch apparatus
WO2018094602A1 (en) Method, device and equipment for detecting pressure
US20150084930A1 (en) Information processor, processing method, and projection system
KR101484916B1 (en) A digitizer improving the accuracy in positioning
KR20140133070A (en) Touch sensing device and driving method thereof
JP2014153936A (en) Touch position detection device and touch position detection method
CN102866808B (en) Method and system for self-correcting of specially-shaped touch screen
CN104407731A (en) Touch display equipment and pressure induction touch method thereof
KR20180104721A (en) How to determine the change in the initial distance of the induction electrode
CN111189564B (en) Pressure measuring device
CN103487692B (en) A kind of quality determining method of touch screen
TWI590131B (en) Optical touch device and method for detecting touch point
CN102314387A (en) Method for measuring accuracy of touch screen
EP2975503A2 (en) Touch device and corresponding touch method
CN109634455B (en) Calibration method and calibration system based on touch screen
CN106547394B (en) A kind of calibration method of touch display screen, apparatus and system
CN106488160A (en) A kind of method for displaying projection, device and electronic equipment
TW201349083A (en) Method and system for clicking and positioning movable object
CN108153451B (en) Calibration method and system based on touch screen
CN102750051B (en) Position detection device and position detection method
TWI419011B (en) Method and system for tracking touch point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150715

Termination date: 20180928