Touch positioning method and apparatus
A technology of touch positioning and touch area, which can be applied to instruments, electrical digital data processing, input/output process of data processing, etc., and can solve problems such as increasing the computing burden of IC chips.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Embodiments of the present invention provide a touch positioning method, such as figure 2 shown, including:
[0052] 101. Acquire first coordinate information obtained by a user triggering a first position in a display coordinate system.
[0053] 102. Determine the mapping parameter of the first coordinate information, the mapping parameter includes a compensation coefficient and a proportional coefficient, the proportional coefficient is used to indicate the magnification relationship between the display area and the touch area, and the compensation coefficient is used to indicate the relationship between the display area and the touch area Offset relationship between regions.
[0054] 103. According to the first coordinate information and the mapping parameter, calculate second coordinate information corresponding to the first coordinate information in the touch coordinate system, so as to determine an actual touch position of the user.
[0055] The touch display s...
Embodiment 2
[0072] Embodiments of the present invention provide a touch positioning method, such as Figure 4 shown, including:
[0073] 201. Acquire first coordinate information (X, Y) obtained by a user triggering a first position in a display coordinate system.
[0074] 202. Determine a first compensation coefficient a, a second compensation coefficient b, a first offset coefficient c, and a second offset coefficient d.
[0075] 203. Determine the horizontal axis proportional coefficient K1 and the vertical axis proportional coefficient K2.
[0076] 204. According to the formula: X=K1*(P-a) and Y=K2*(Q-b), calculate the second coordinate information (P, Q) corresponding to the first coordinate information (X, Y) in the touch coordinate system.
[0077] still as image 3 As shown, the first coordinate information of any point Z (that is, the first position) in the display area 02 is (X, Y) L , then, the coordinate information (that is, the second coordinate information) of point Z' ...
Embodiment 3
[0098] An embodiment of the present invention provides a touch positioning device, which is applied to a touch display screen. The touch display screen includes a display area and a touch area. A display coordinate system is set in the display area. The touch area A touch coordinate system is set inside, such as Figure 5 As shown, the device includes:
[0099] An acquisition unit 11, configured to acquire first coordinate information obtained by triggering the first position by the user in the display coordinate system;
[0100] The determining unit 12 is configured to determine a mapping parameter of the first coordinate information, the mapping parameter includes a compensation coefficient and a proportional coefficient, wherein the proportional coefficient is used to indicate the distance between the display area and the touch area an amplification relationship, the compensation coefficient is used to indicate an offset relationship between the display area and the touch ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 