Touch implementation method and device and electronic device
First Claim
1. A touch implementation method, comprising:
- displaying N calibration points for user touch by a display screen of an electronic device, wherein after one calibration point is displayed on the display screen and touched by the user, a next calibration point is displayed;
acquiring first coordinates of the N calibration points for user touch, wherein a first coordinate of a point refers to a pixel coordinate, at the display screen of the electronic device, of the point;
the pixel coordinate is defined by a pixel distance to a default pixel at the display screen;
first coordinates of at least three of the N calibration points allow the three of the N calibration points to be not in a same straight line upon the three of the N calibration points being displayed by the display screen; and
N≥
3 and N is an integer;
acquiring second coordinates of the N calibration points, wherein a second coordinate of the point refers to a three-dimensional coordinate detected by a depth device upon the point being touched by a user; and
calculating a mapping parameter between the first coordinate of the point and the second coordinate of the point according to the first coordinates of the N calibration points and the second coordinates of the N calibration points, wherein the mapping parameter is configured for acquiring a first coordinate of a touch point touched by the user upon the user touching the display screen.
1 Assignment
0 Petitions
Accused Products
Abstract
A touch implementation method and device and an electronic device are provided, and the method includes: displaying N calibration points for user touch by a display screen of an electronic device; acquiring first coordinates of the N calibration points for user touch; acquiring second coordinates of the N calibration points; and calculating a mapping parameter between a first coordinate of a point and a second coordinate of the point according to the first coordinates of the N calibration points and the second coordinates of the N calibration points. The mapping parameter is configured for acquiring a first coordinate of a touch point touched by the user upon a user touching the display screen. Embodiments of present disclosure can reduce the cost of the electronic.
-
Citations
18 Claims
-
1. A touch implementation method, comprising:
-
displaying N calibration points for user touch by a display screen of an electronic device, wherein after one calibration point is displayed on the display screen and touched by the user, a next calibration point is displayed; acquiring first coordinates of the N calibration points for user touch, wherein a first coordinate of a point refers to a pixel coordinate, at the display screen of the electronic device, of the point;
the pixel coordinate is defined by a pixel distance to a default pixel at the display screen;
first coordinates of at least three of the N calibration points allow the three of the N calibration points to be not in a same straight line upon the three of the N calibration points being displayed by the display screen; and
N≥
3 and N is an integer;acquiring second coordinates of the N calibration points, wherein a second coordinate of the point refers to a three-dimensional coordinate detected by a depth device upon the point being touched by a user; and calculating a mapping parameter between the first coordinate of the point and the second coordinate of the point according to the first coordinates of the N calibration points and the second coordinates of the N calibration points, wherein the mapping parameter is configured for acquiring a first coordinate of a touch point touched by the user upon the user touching the display screen. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A touch implementation device, comprising:
-
a display screen configured to display N calibration points for user touch, wherein after one calibration point is displayed on the display screen and touched by the user, a next calibration point is displayed; a first acquisition unit configured to acquire first coordinates of the N calibration points for user touch, wherein a first coordinate of a point refers to a pixel coordinate of the point at the display screen;
the pixel coordinate is defined by a pixel distance to a default pixel at the display screen;
first coordinates of at least three of the N calibration points allow the three of the N calibration points to be not in a same straight line upon the three of the N calibration points being displayed by the display screen; and
N≥
3 and N is an integer;a second acquisition unit configured to acquire second coordinates of the N calibration points, wherein a second coordinate of the point refers to a three-dimensional coordinate detected by a depth device upon the point being touched by a user; and a first calculating element configured to calculate a mapping parameter between the first coordinate of the point and the second coordinate of the point according to the first coordinates of the N calibration points and the second coordinates of the N calibration points, wherein the mapping parameter is configure for acquiring a first coordinate of a touch point touched by the user upon the user touching the display screen. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A touch implementation device, comprising:
- a memory and a processor, wherein the memory is configured to store a code which is configured for controlling the processor to execute a following action;
displaying N calibration points for user touch by a display screen; acquiring first coordinates of the N calibration points, wherein a first coordinate of a point refers to a pixel coordinate, at the display screen, of the point; and
first coordinates of at least three of the calibration points allow the three of the calibration points to be not in a same straight line upon the three of the calibration points being displayed by the display screen;acquiring second coordinates of the N calibration points, wherein a second coordinate of the point refers to a three-dimensional coordinate detected by a depth device upon the point being touched by a user; and calculating a mapping parameter between the first coordinate of the point and the second coordinate of the point according to the first coordinates of the N calibration points and the second coordinates of the N calibration points, wherein the mapping parameter is configured for acquiring a first coordinate of a touch point touched by the user upon the user touching the display screen, wherein mapping parameters K0, K1, K2, K3, K4 and K5 between the first coordinate of the point and the second coordinate of the point are calculated according to
- a memory and a processor, wherein the memory is configured to store a code which is configured for controlling the processor to execute a following action;
Specification