CN106547394B - A kind of calibration method of touch display screen, apparatus and system - Google Patents
A kind of calibration method of touch display screen, apparatus and system Download PDFInfo
- Publication number
- CN106547394B CN106547394B CN201610871116.1A CN201610871116A CN106547394B CN 106547394 B CN106547394 B CN 106547394B CN 201610871116 A CN201610871116 A CN 201610871116A CN 106547394 B CN106547394 B CN 106547394B
- Authority
- CN
- China
- Prior art keywords
- ith
- calibration
- touch
- preset calibration
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000006243 chemical reaction Methods 0.000 claims description 27
- 238000010586 diagram Methods 0.000 description 4
- 238000009434 installation Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to a kind of calibration methods of touch display screen, apparatus and system, are related to touching technique field.Wherein, this method comprises: successively obtaining the corresponding click image of the default calibrating position of m;Clicking image is the image for recording actual click position when touch control device clicks the default calibrating position of display unit;Respectively according to corresponding the clicks image of the default calibrating position of m and the corresponding calibration region of m default calibrating positions, determine the central point of the corresponding click image of each default calibrating position in the display position of display unit;M display position corresponding touch location in touching component is determined respectively, and the corresponding touch location of component is being touched according to m display position and m display position, determines calibration parameter;According to calibration parameter, calibration process is carried out to the touch location for touching component output.The embodiment of the present invention can reduce click error, improve calibration efficiency.
Description
Technical Field
The invention relates to the technical field of touch, in particular to a method, a device and a system for calibrating a touch display screen.
Background
The touch display screen has many advantages of firmness, durability, easy communication, beautiful appearance and the like, so the touch input mode of the touch display screen becomes the computer input mode accepted by the user after the input of a keyboard, a mouse, a handwriting board and voice, and the user can realize the operation on the host machine only by lightly touching the icons or characters on the touch display screen by fingers or a touch pen, thereby the human-computer interaction is more natural and direct. The technology is greatly convenient for users, and is widely applied to the fields of handheld consumer electronics, medical application equipment, vending machines, ticket vending machines, ATM machines, POS machines, industrial and process control equipment and the like at present.
The touch display screen comprises a touch component and a display component. The touch component is used for detecting the position of a touch point and describing the position of the touch point according to a coordinate system of the touch component; the display component is used for displaying data information. In order to realize the touch operation by the user, the touch member needs to be attached to the display member. However, due to installation errors and equipment quality errors, the touch component and the display component are difficult to achieve superposition in the horizontal and vertical directions, so that certain deviation exists between the actual touched position and the desired touched position, and phenomena such as inaccurate clicking or clicking of the point A to respond to the point B occur.
In order to solve the above problem, the touch position determined by the touch member needs to be calibrated. In the prior art, the process of calibrating the touch position determined by the touch component is as follows: the method comprises the steps of firstly setting n preset points on a touch part, predetermining the coordinates of the n preset points on a display part, obtaining the coordinates of the n preset points on the touch part when a calibrator touches the n preset points, then obtaining calibration parameters through calculation by an undetermined coefficient method according to the coordinates of the n preset points on the touch part and the display part respectively, and directly writing the obtained calibration parameters into the touch part to further finish the calibration process. However, in the calibration method, when the coordinates of the preset point on the touch component are obtained, a calibrator needs to manually control the touch device to touch the preset point, and the calibration efficiency is low due to the click error.
Disclosure of Invention
In order to overcome the problems in the related art, the invention provides a calibration method, a device and a system for a touch display screen.
In a first aspect, an embodiment of the present invention provides a calibration method for a touch display screen, including: sequentially acquiring click images corresponding to m preset calibration positions; the click image is an image used for recording an actual click position when the touch equipment clicks a preset calibration position of the display component; m is an integer greater than 1; determining the display position of the central point of the click image corresponding to each preset calibration position on the display component according to the click images corresponding to the m preset calibration positions and the calibration areas corresponding to the m preset calibration positions respectively; the preset calibration position is the central point of the corresponding calibration area; respectively determining the touch positions of the m display positions in the touch part, and determining calibration parameters according to the m display positions and the touch positions of the m display positions in the touch part; and according to the calibration parameters, calibrating the touch position output by the touch component.
In a second aspect, an embodiment of the present invention provides a touch display screen calibration apparatus, including: the acquisition unit is used for sequentially acquiring click images corresponding to m preset calibration positions; the click image is an image used for recording an actual click position when the touch equipment clicks a preset calibration position of the display component; m is an integer greater than 1; the determining unit is used for determining the display position of the central point of the click image corresponding to each preset calibration position on the display component according to the click image corresponding to the m preset calibration positions and the calibration area corresponding to the m preset calibration positions, which are acquired by the acquiring unit; the preset calibration position is the central point of the corresponding calibration area; the determining unit is further configured to determine corresponding touch positions of the m display positions in the touch component, and determine calibration parameters according to the m display positions and the touch positions of the m display positions corresponding to the touch component; and the calibration unit is used for calibrating the touch position output by the touch component according to the calibration parameters determined by the determination unit.
In a third aspect, an embodiment of the present invention provides a calibration system for a touch display screen, including: the touch display screen calibration device and the touch device comprising the image acquisition unit are provided; the touch control equipment is used for acquiring a click image when a preset calibration position of the touch display screen calibration device is clicked, and sending the click image to the touch display screen calibration device.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the method comprises the steps that a touch display screen calibration device obtains a click image recording an actual click position when a touch device clicks a preset calibration position of a display part, and the actual click position of the display part when the touch device clicks the display part can be determined through the click image; determining the display position of the central point of the click image on the display component according to the click image and the standard image; acquiring a touch position of the display position corresponding to the touch component, and determining a calibration parameter according to the display position and the touch position of the display position corresponding to the touch component; and according to the determined calibration parameters, calibrating the touch position output by the touch part. Therefore, the touch display screen calibration device can determine the display position of the central point of the click image on the display component through the actual click position of the touch equipment recorded by the click image and the preset calibration position of the display component in the standard image, and further can determine the calibration parameter according to the display position, and calibrate the touch position according to the calibration parameter. Compared with the prior art that the calibration parameters can be accurately determined only by touching the touch equipment to the preset point, the touch display screen calibration device in the invention determines the calibration parameters according to the actual clicking position of the touch equipment, so that the touch equipment does not need to touch the preset point, the clicking error is reduced, and the calibration efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating a calibration method for a touch display screen according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an example of a preset calibration position setting according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of a clicked image according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a touch display screen calibration apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a calibration system of a touch display screen according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Since the touch display screen includes a touch member and a display member, in order to implement a touch display function of the touch display screen, the touch member needs to be mounted on the display member. Due to the installation error, the quality error of the device is generated, and after the touch member is installed on the display member, the calibration operation is performed on the touch position determined by the touch member. In the prior art, the determination of the calibration parameters is performed by touching a preset point. But requires the touch device to accurately click on the preset point. However, when the user manually controls the touch device to touch the preset point, a click error exists, and the calibration efficiency is low. The touch display screen calibration device in the application of the invention can determine the calibration parameters according to the actual click position of the touch equipment, thereby reducing the click error and improving the calibration efficiency.
As shown in fig. 1, an embodiment of the present invention provides a calibration method for a touch display screen, including:
step 101, sequentially acquiring click images corresponding to m preset calibration positions.
The click image is used for recording an actual click position when the touch device clicks a preset calibration position of the display component. m is an integer greater than 1.
Specifically, after the touch component in the touch display screen is mounted on the display component, m preset calibration positions may be preset in the display component, so as to perform touch calibration of the touch component. At this time, the user can control the touch device to click the preset calibration position of the display component one by one. The touch device can acquire a click image recording an actual click position when the touch device clicks the preset calibration position of the display component each time the touch device clicks the preset calibration position of the display component. At this time, the touch device may send the acquired click image to the touch display screen calibration apparatus. The touch display screen calibration device receives m click images which are sent by the touch equipment and used for recording actual click positions when the touch equipment clicks m preset calibration positions of the display part.
It should be noted that, because a plurality of preset calibration positions are set in the display component, and the touch device needs to acquire a click image each time the preset calibration position of the display component is clicked, and send the click image to the touch display screen calibration device. At this time, the calibration position of the touch display screen needs to determine the display position of the central point of the click image received each time on the display component according to the click image received each time. Since the method for determining the display position of the center point of the clicked image on the display unit every time the touch display screen is touched is the same, the description is given by taking any one of the determination of the display position of the center point of the clicked image on the display unit as an example.
It should be noted that the touch device includes an image acquisition unit, and the image acquisition unit can acquire the click image recorded with the actual click position of the touch device when the touch device clicks the preset calibration position of the display unit.
For example, after the touch part in the touch display screen is mounted to the display part, and there are display coordinates in the display part, each preset standard position can be respectively expressed in the horizontal and vertical directions. In this case, four calibration areas may be preset in the display unit, each of which is a preset calibration position a (x)1,y1) The calibration area formed for the center point has a preset calibration position B as (x)2,y2) A calibration area formed for the center point, with a preset calibration position C as (x)3,y3) A calibration area formed for the center point, and a predetermined calibration position D of (x)4,y4) The calibration area formed for the center point is shown in fig. 2. And the user operates the touch equipment to sequentially click preset calibration positions in the four calibration areas. An image acquisition unit in the touch equipment is used for acquiring the preset calibration position of the display component when the touch equipment clicks the preset calibration position every timeThe click images recording the actual click positions of the touch equipment can be acquired. And sending the acquired click image to the touch display screen calibration device. As shown in fig. 3, when the calibration area with the preset calibration position a as the center is clicked by the image acquisition unit in the touch device, the acquired click image a may be received by the touch display screen calibration device.
And 102, determining the display position of the central point of the click image corresponding to each preset calibration position on the display component according to the click images corresponding to the m preset calibration positions and the calibration areas corresponding to the m preset calibration positions.
The preset calibration position is the center point of the corresponding calibration area. That is, the ith preset calibration position is the center point of the ith calibration area.
It should be noted that the preset calibration position is preset, and in order to facilitate the click of the touch device, a calibration area with the calibration position as a central point may be preset. And when the preset calibration position is set, the coordinate position of the preset calibration position on the display component can be known in advance, and then the calibration area can be set in the display component. For example, the calibration area is a circular area, the preset calibration position may be directly determined in the display unit as the coordinate position of the center of the circle, and the radius value may be set, or the circular calibration area may be set in the display unit.
It should be noted that the image acquisition unit of the touch device performs image acquisition with the click position of the touch device as the center, and therefore the center point of the click image is the click position of the touch device on the display unit. The display part is provided with display coordinates capable of recording the clicking position in the horizontal and vertical directions, so that the display position of the central point of the clicking image in the display part is the coordinate position of the central point of the clicking image in the display part. That is, the real click position where the touch device clicks the display part is at the coordinate position of the display part.
Specifically, the click image is an image of a position, recorded by the touch device, of the display unit actually clicked by the touch device, and the image is acquired by the touch device and is not acquired by the display unit, so that the touch display screen calibration device cannot directly acquire the real coordinate position of the center point of each click image in the display unit through each acquired click image. Therefore, the calibration position of the touch display screen can determine the display position of the central point of the click image corresponding to each preset calibration position on the display component according to the click image corresponding to the m preset calibration positions and the calibration area corresponding to the m preset calibration positions.
At this time, determining the display position of the center point of the click image corresponding to each preset calibration position on the display component according to the click image corresponding to the m preset calibration positions and the calibration area corresponding to the m preset calibration positions respectively comprises:
determining whether the ith click image contains an ith preset calibration position; when the ith click image contains the ith preset calibration position, determining a first position difference corresponding to the ith preset calibration position in the ith click image; determining a conversion parameter corresponding to the ith preset calibration position according to the ith click image and the calibration area corresponding to the ith preset calibration position; determining a second position difference corresponding to the ith preset calibration position according to a first position difference corresponding to the ith preset calibration position and a conversion parameter corresponding to the ith preset calibration position; and obtaining the display position of the center point of the ith click image on the display component according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
Wherein i is an integer greater than 0 and not greater than m; the ith click image is an image used for recording an actual click position when the touch device clicks the ith preset calibration position of the display component. The first position difference is a position difference between the ith preset calibration position and the central point of the ith click image in the ith click image. The conversion parameter is used for showing the scaling ratio between the ith click image and the calibration area corresponding to the ith preset calibration position. The second position difference is a position difference between the ith preset calibration position and the central point of the ith click image in the display part.
Specifically, since the coordinate position of the preset calibration position in the display unit is already determined, the touch display screen calibration apparatus needs to determine the display position of the center point of the clicked image on the display unit by using the position relationship between the preset calibration position and the center point of the clicked image. At this time, after receiving the ith click image sent by the touch device, the touch display screen calibration device may check whether the ith click image includes the ith preset calibration position. If the ith click image does not contain the ith preset calibration position, the touch display screen calibration device cannot determine the position relationship between the ith preset calibration position and the central point of the ith click image, and therefore the position relationship needs to be collected again, namely the position relationship is the ith preset calibration position for the touch device to click the display part again. If the ith click image contains the ith preset calibration position, the touch display screen calibration device can determine a first position difference corresponding to the ith preset calibration position according to the ith preset calibration position in the ith click image and the central point of the ith click image. Namely, the position difference between the ith preset calibration position and the center point of the ith click image in the ith click image is determined.
After the touch display screen calibration device calculates the first position difference corresponding to the ith preset calibration position, because the ith click image is acquired by the image acquisition unit in the touch equipment and the image acquisition unit in the touch equipment has a certain distance from the display part, the distance between each point in the ith click image acquired by the image acquisition unit in the touch equipment and the distance between each point in the ith calibration area of the display part are not in a relation of 1:1, when the first position difference in the ith click image is mapped to the display part, a certain scaling ratio exists, and the conversion parameter corresponding to the ith preset calibration position needs to be calculated first. The calibration area corresponding to the ith preset calibration position is an area formed by taking the ith preset calibration position as a center in the display component, so that the conversion parameter corresponding to the ith preset calibration position can be calculated through the ith click image and the calibration area corresponding to the ith preset calibration position.
After the touch display screen calibration device calculates the conversion parameter corresponding to the ith preset calibration position, the first position difference corresponding to the ith preset calibration position can be calculated according to the first position difference corresponding to the ith preset calibration position and the conversion parameter corresponding to the ith preset calibration position, and the first position difference is mapped to the corresponding position difference in the display component, namely the second position difference. Namely, after a certain scaling is performed on the first position difference corresponding to the ith preset calibration position, the first position difference is converted into the position difference between the ith preset calibration position and the central point of the ith click image in the display component. Therefore, after the touch display screen calibration device determines the second position difference corresponding to the ith preset calibration position, the display position of the central point of the ith click image on the display component can be calculated according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
Further, determining a first position difference corresponding to an ith preset calibration position in the ith click image includes:
determining the position of the ith preset calibration position in the ith click image; and calculating a first position difference corresponding to the ith preset calibration position according to the position of the ith preset calibration position in the ith click image and the central point of the ith click image.
That is, the touch display screen calibration device may determine a position of an ith preset calibration position in the ith click image and a position of a center point of the ith click image, and may further calculate a position difference between the ith preset calibration position and the center point of the ith click image in the ith click image, that is, calculate a first position difference corresponding to the ith preset calibration position.
It should be noted that, in the embodiment of the present invention, the click image acquired by the touch device may show the coordinate position of each point in the click image in the horizontal and vertical directions. That is, the coordinates of one click image may be set in the click image, and the positions of the respective points in the click image are recorded. Therefore, the position of the center point of the ith click image in the ith click image can be determined when the ith click image is acquired.
Further, determining a conversion parameter corresponding to the ith preset calibration position according to the ith click image and the calibration area corresponding to the ith preset calibration position includes:
and calculating a conversion parameter corresponding to the ith preset calibration position according to the distance from the ith preset calibration position to the boundary point in the calibration area corresponding to the ith preset calibration position and the distance from the ith preset calibration position in the ith click image to the boundary point.
Specifically, the ith click image is an image of a part or all of the ith calibration area which is acquired by the touch device and contains the ith preset calibration position in the display component, so that the distance from the ith preset calibration position in the ith click image to the edge of the ith calibration area can be determined in the ith click image, that is, the distance from the ith preset calibration position to the boundary point of the ith calibration area in the ith click image is determined. The ith calibration area is an area formed by taking the ith preset calibration position as a center in the display component, so that the distance from the center point of the ith preset calibration position to the boundary point of the ith calibration area can be obtained in the display component, and the conversion parameter corresponding to the ith preset calibration position can be calculated according to the two calculated distances.
Further, since the position relationship between the ith preset calibration position and the central point of the ith click image is different in the ith click image, the calculated first position difference corresponding to the ith preset calibration position may be a vector value capable of identifying a direction, or a scalar value only representing a numerical value. When the first position difference corresponding to the ith preset calibration position is a vector, the display position of the center point of the ith click image on the display component can be calculated according to the above process. When the first position difference is a scalar quantity, different calculation formulas can be preset according to different position relations between the ith preset calibration position and the central point of the ith click image, then the calculation formula of the ith display position can be determined according to the position relation between the ith preset calibration position and the central point of the ith click image, and the display position of the central point of the ith click image on the display component can be calculated according to the calculation formula of the ith display position.
Specifically, when the first position difference is a scalar quantity, before obtaining the display position of the center point of the ith click image on the display component according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position, the method further includes:
and determining a calculation formula of the ith display position according to the position of the ith preset calibration position in the ith click image and the position of the central point of the ith click image.
That is, after calculating the first position difference corresponding to the ith preset calibration position, the touch display screen calibration device determines the position relationship between the ith preset calibration position and the central point of the ith click image in the ith click image, that is, determines that the ith preset calibration position is above the left, above the right, below the left, below the right, above the straight, below the straight, left, right, and further determines the corresponding calculation formula according to the determined position relationship in the ith click image.
Wherein, the preset calculation formula is as follows: when the ith preset calibration position is at the upper left of the central point of the ith click image, the calculation formula is as follows: x ═ X0+Δx*α,Y=y0+ Δ y α, and when the ith preset calibration position is right below the center point of the ith click image, the formula is that X is X0-Δx*α,Y=y0-ay α, when the ith preset calibration position is right above the center point of the ith click image, the formula is X0-Δx*α,Y=y0+ Δ y α at the ith preset calibration bitWhen the point is positioned at the lower left of the central point of the ith click image, the calculation formula is as follows: x ═ X0+Δx*α,Y=y0-Δy*α。
Wherein X is the horizontal coordinate position of the center point of the ith click image on the display part, Y is the longitudinal coordinate position of the center point of the ith click image on the display part, and X0Indicating the position of the i-th preset calibration position in the lateral coordinate of the display unit, y0The coordinate position of the ith preset calibration position in the longitudinal direction of the display part is shown, Δ x represents the position difference in the transverse direction in the first position difference corresponding to the ith preset calibration position, Δ y represents the position difference in the longitudinal direction in the first position difference corresponding to the ith preset calibration position, and α represents the conversion parameter corresponding to the ith preset calibration position.
At this time, obtaining the display position of the center point of the ith click image on the display component according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position includes:
and calculating the display position of the center point of the ith click image on the display component by using a calculation formula of the ith display position according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
As described in the above example, assuming that each calibration area is set in the display section, each preset calibration position may be marked with a cross point to facilitate clicking by the user. After the touch display screen calibration device acquires the click image a, whether the preset calibration position A is included in the click image a can be checked, that is, whether the cross point is included in the click image a can be checked. When the cross point is not included in the click image a, it indicates that the touch device is not clicked to the preset calibration position, and needs to be clicked again. When the clicked image a contains the cross point, the touch display screen calibration device can determine that the position of the cross point in the clicked image a is the position of the preset calibration position A, determine the position of the central point of the clicked image a, and further calculate the preset calibration position A and the central point of the clicked image a in the clicked image aThe position difference is the first position difference (Δ x)1,Δy1). Further, assume that the calibration area corresponding to the preset calibration position a is a circular area with the preset calibration position a as the center of a circle and r as the radius, so that the distance from the center of the circle to the boundary point of the circular area is r. At this time, the calibration area in the click image a is a full or partial circular area including a center of circle. Due to the click image a collected by the touch device, the distance d from the center of the circle recorded in the click image a to the boundary point of the circular area is not equal to the distance r from the center of the circle in the calibration area of the display part to the boundary point of the circular area. Therefore, the touch display screen calibration device can calculate the conversion parameter according to the distance d from the circle center recorded in the click image a to the boundary point of the circular area and the distance r from the circle center of the calibration area in the display part to the boundary point of the circular area, namely the conversion parameter is r/d. At this time, the touch display screen calibration device may calculate a position difference between a center point of the click image a and the preset calibration position a in the display unit according to the first position difference and the conversion parameter, that is, calculate a second position difference (Δ x)2,Δy2) (ii) a Wherein, Δ x2=Δx1*r/d,Δy2=Δy1*r/d。
After the touch display screen calibration device calculates the second position difference, the display coordinate of the center point of the click image a on the display component can be calculated according to the second position difference and the display coordinate of the preset touch position A on the display component. If the first position difference and the second position difference are both scalars and cannot represent directions, in this case, the touch display screen calibration apparatus may determine a calculation formula of the display position according to a positional relationship between a preset calibration position a in the click image a and a central point of the click image a, and as shown in fig. 3, the preset calibration position a in the click image a is located above and to the left of the central point of the click image a, and in this case, the calculation formula of the display position may be determined as X ═ X0+Δx*α,Y=y0+ Δ y α, the touch screen calibration device may then calculate the display position (x) on the display member from the second position difference and the predetermined calibration position a according to the calculation formula using the display position1,y1) Calculating the center of the click image aThe center point is at the display position a of the display member.
Similarly, the display position of the center point of the clicked image corresponding to the other preset calibration positions on the display component can be calculated by using the above process, which is not described herein again.
And 103, respectively determining the touch positions of the m display positions in the touch part, and determining the calibration parameters according to the m display positions and the touch positions of the m display positions in the touch part.
Specifically, when the touch device clicks a preset calibration position of the display component each time, the touch component can detect a touch position of the click position of the touch device in the touch component, and the touch component can report the touch position of the click position detected each time to the touch display screen calibration device. After the display position of the central point of each click image on the display part is determined, the display position of the central point of each click image on the display part can be corresponding to each touch position reported by the touch part, namely, the touch position of each display position corresponding to the touch part is determined, so that the touch display screen calibration device can calculate calibration parameters according to each display position and the touch position corresponding to each display position.
As described in the above example, when the touch device sequentially clicks the preset calibration position of the display unit, the touch unit may sequentially detect the touched position of the clicked position of the touch device in the touch unit. That is, when the touch device clicks the preset calibration position a of the display component, the touch component may detect the touch position a of the click position of the touch device in the touch component, and similarly, when the touch device clicks the preset calibration positions B, C, and D of the display component in sequence, the touch component may detect the touch positions B, C, and D of the click position of the touch device in the touch component in sequence, and the touch component reports the touch positions to the touch display screen calibration device each time the touch position is detected, so that the touch display screen calibration device may obtain the touch position of the touch device when the touch device clicks the display component, and click the display componentThe position is at the display position of the display part and the click position is at the touch position of the touch part. Assuming that the display position of the clicking position in the display component is determined as a display position B when the touch device clicks the preset calibration position B, the display position of the clicking position in the display component is determined as a display position C when the preset calibration position C is clicked, and the display position of the clicking position in the display component is determined as a display position D when the preset calibration position D is clicked1. At this time, the touch display screen calibration device may obtain a touch position a corresponding to the display position a and the display position a in the touch member, a touch position B corresponding to the display position B and the display position B in the touch member, a touch position C corresponding to the display position C and the display position C in the touch member, and a display position d1And display position d1The corresponding touch position D in the touch member. And further according to the touch position A corresponding to the display position a and the display position a in the touch part, the touch position B corresponding to the display position B and the display position B in the touch part, the touch position C corresponding to the display position C and the display position C in the touch part, and the display position d1And display position d1The calibration parameters are calculated at the corresponding touch position D of the touch member.
And 104, calibrating the touch position output by the touch part according to the calibration parameters.
Specifically, after the calibration parameter is calculated, when the touch device performs the click of the touch display screen each time, the touch component needs to perform calibration processing on the touch position on the calibration parameter before outputting the touch position, and after the calibration processing is performed, the calibrated touch position is output.
The embodiment of the invention provides a calibration method of a touch display screen, wherein a touch display screen calibration device acquires a click image which records an actual click position when a touch device clicks a preset calibration position of a display part, and can determine the position of the display part which is actually clicked when the touch device clicks the display part through the click image; determining the display position of the central point of the click image on the display component according to the click image and the standard image; acquiring a touch position of the display position corresponding to the touch component, and determining a calibration parameter according to the display position and the touch position of the display position corresponding to the touch component; and according to the determined calibration parameters, calibrating the touch position output by the touch part. Therefore, the touch display screen calibration device can determine the display position of the central point of the click image on the display component through the actual click position of the touch equipment recorded by the click image and the preset calibration position of the display component in the standard image, and further can determine the calibration parameter according to the display position, and calibrate the touch position according to the calibration parameter. Compared with the prior art that the calibration parameters can be accurately determined only by touching the touch equipment to the preset point, the touch display screen calibration device in the invention determines the calibration parameters according to the actual clicking position of the touch equipment, so that the touch equipment does not need to touch the preset point, the clicking error is reduced, and the calibration efficiency is improved.
As shown in fig. 4, an embodiment of the present invention provides a touch display screen calibration apparatus, including:
the obtaining unit 201 is configured to sequentially obtain click images corresponding to m preset calibration positions.
The click image is used for recording an actual click position when the touch device clicks a preset calibration position of the display component. m is an integer greater than 1.
The determining unit 202 is configured to determine, according to the click image corresponding to the m preset calibration positions and the calibration area corresponding to the m preset calibration positions, which are acquired by the acquiring unit 201, a display position of a center point of the click image corresponding to each preset calibration position on the display unit.
The preset calibration position is the center point of the corresponding calibration area.
Specifically, the determining unit 202 is specifically configured to determine whether the ith click image includes the ith preset calibration position. When the ith click image contains the ith preset calibration position, determining a first position difference corresponding to the ith preset calibration position in the ith click image. And determining a conversion parameter corresponding to the ith preset calibration position according to the ith click image and the calibration area corresponding to the ith preset calibration position. And determining a second position difference corresponding to the ith preset calibration position according to the first position difference corresponding to the ith preset calibration position and the conversion parameter corresponding to the ith preset calibration position. And obtaining the display position of the center point of the ith click image on the display component according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
Wherein i is an integer greater than 0 and not greater than m. The ith click image is an image used for recording an actual click position when the touch device clicks the ith preset calibration position of the display component. The first position difference is a position difference between the ith preset calibration position and the central point of the ith click image in the ith click image. The conversion parameter is used for showing the scaling ratio between the ith click image and the calibration area corresponding to the ith preset calibration position. The second position difference is a position difference between the ith preset calibration position and the central point of the ith click image in the display part.
Further, the determining unit 202 is specifically configured to determine a position of an ith preset calibration position in the ith click image; and calculating a first position difference corresponding to the ith preset calibration position according to the position of the ith preset calibration position in the ith click image and the central point of the ith click image.
Further, the determining unit 202 is specifically configured to calculate a conversion parameter corresponding to the ith preset calibration position according to a distance from the ith preset calibration position to the boundary point in the calibration area corresponding to the ith preset calibration position and a distance from the ith preset calibration position in the ith click image to the boundary point.
Further, the determining unit 202 is specifically configured to determine a calculation formula of an ith display position according to a position of an ith preset calibration position in the ith click image and a position of a center point of the ith click image; and calculating the display position of the center point of the ith click image on the display component by using a calculation formula of the ith display position according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
The determining unit 202 is further configured to determine the touch positions of the m display positions in the touch component, and determine the calibration parameter according to the m display positions and the touch positions of the m display positions in the touch component.
And a calibration unit 203, configured to perform calibration processing on the touch position output by the touch component according to the calibration parameter determined by the determination unit 202.
As shown in fig. 5, an embodiment of the present invention provides a calibration system for a touch display screen, which includes the touch display screen calibration apparatus 301 according to the above-mentioned embodiment, and a touch device 302 including an image capturing unit.
The touch device 302 is configured to, when a preset calibration position of the touch display screen calibration apparatus 301 is clicked, obtain a click image, and send the click image to the touch display screen calibration apparatus 301.
Therefore, the touch display screen calibration device can determine the display position of the central point of the click image on the display component through the actual click position of the touch equipment recorded by the click image and the preset calibration position of the display component in the standard image, and further can determine the calibration parameter according to the display position, and calibrate the touch position according to the calibration parameter. Compared with the prior art that the calibration parameters can be accurately determined only by touching the touch equipment to the preset point, the touch display screen calibration device in the invention determines the calibration parameters according to the actual clicking position of the touch equipment, so that the touch equipment does not need to touch the preset point, the clicking error is reduced, and the calibration efficiency is improved.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (9)
1. A method for calibrating a touch display screen, comprising:
sequentially acquiring click images corresponding to m preset calibration positions; the click image is an image used for recording an actual click position when the touch equipment clicks a preset calibration position of the display component; m is an integer greater than 1;
determining the display position of the central point of the click image corresponding to each preset calibration position on the display component according to the click images corresponding to the m preset calibration positions and the calibration areas corresponding to the m preset calibration positions respectively; the preset calibration position is the central point of the corresponding calibration area;
respectively determining the touch positions of the m display positions in the touch part, and determining calibration parameters according to the m display positions and the touch positions of the m display positions in the touch part;
according to the calibration parameters, calibrating the touch position output by the touch component; wherein,
the determining, according to the click images corresponding to the m preset calibration positions and the calibration areas corresponding to the m preset calibration positions, the display position of the center point of the click image corresponding to each preset calibration position on the display component includes:
determining whether the ith click image contains the ith preset calibration position or not; i is an integer greater than 0 and not greater than m; the ith click image is an image used for recording an actual click position when the touch device clicks the ith preset calibration position of the display component;
when the ith click image contains an ith preset calibration position, determining a first position difference corresponding to the ith preset calibration position in the ith click image; the first position difference is the position difference between the ith preset calibration position and the central point of the ith click image in the ith click image;
determining a conversion parameter corresponding to the ith preset calibration position according to the ith click image and the calibration area corresponding to the ith preset calibration position; the conversion parameter is used for showing the scaling ratio between the ith click image and the calibration area corresponding to the ith preset calibration position;
determining a second position difference corresponding to the ith preset calibration position according to a first position difference corresponding to the ith preset calibration position and a conversion parameter corresponding to the ith preset calibration position; the second position difference is the position difference between the ith preset calibration position and the central point of the ith click image in the display part;
and obtaining the display position of the central point of the ith click image on the display component according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
2. The method for calibrating the touch display screen according to claim 1, wherein the determining a first position difference corresponding to an ith preset calibration position in the ith click image comprises:
determining the position of the ith preset calibration position in the ith click image;
and calculating a first position difference corresponding to the ith preset calibration position according to the position of the ith preset calibration position in the ith click image and the central point of the ith click image.
3. The calibration method of the touch display screen according to claim 1 or 2, wherein the determining the conversion parameter corresponding to the ith preset calibration position according to the ith click image and the calibration area corresponding to the ith preset calibration position comprises:
and calculating a conversion parameter corresponding to the ith preset calibration position according to the distance from the ith preset calibration position to the boundary point in the calibration area corresponding to the ith preset calibration position and the distance from the ith preset calibration position to the boundary point in the ith click image.
4. The method for calibrating a touch display screen according to claim 1 or 2, wherein before the obtaining of the display position of the center point of the ith click image on the display component according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position, the method further comprises:
determining a calculation formula of an ith display position according to the position of an ith preset calibration position in the ith click image and the position of the central point of the ith click image;
the obtaining of the display position of the center point of the ith click image on the display component according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position includes:
and calculating the display position of the center point of the ith click image on the display component by using a calculation formula of the ith display position according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
5. A touch display screen calibration device, comprising:
the acquisition unit is used for sequentially acquiring click images corresponding to m preset calibration positions; the click image is an image used for recording an actual click position when the touch equipment clicks a preset calibration position of the display component; m is an integer greater than 1;
the determining unit is used for determining the display position of the central point of the click image corresponding to each preset calibration position on the display component according to the click image corresponding to the m preset calibration positions and the calibration area corresponding to the m preset calibration positions, which are acquired by the acquiring unit; the preset calibration position is the central point of the corresponding calibration area;
the determining unit is further configured to determine corresponding touch positions of the m display positions in the touch component, and determine calibration parameters according to the m display positions and the touch positions of the m display positions corresponding to the touch component;
the calibration unit is used for calibrating the touch position output by the touch component according to the calibration parameters determined by the determination unit; wherein,
the determining unit is specifically configured to determine whether an ith click image includes the ith preset calibration position; i is an integer greater than 0 and not greater than m; the ith click image is an image used for recording an actual click position when the touch device clicks the ith preset calibration position of the display component;
when the ith click image contains an ith preset calibration position, determining a first position difference corresponding to the ith preset calibration position in the ith click image; the first position difference is the position difference between the ith preset calibration position and the central point of the ith click image in the ith click image;
determining a conversion parameter corresponding to the ith preset calibration position according to the ith click image and the calibration area corresponding to the ith preset calibration position; the conversion parameter is used for showing the scaling ratio between the ith click image and the calibration area corresponding to the ith preset calibration position;
determining a second position difference corresponding to the ith preset calibration position according to a first position difference corresponding to the ith preset calibration position and a conversion parameter corresponding to the ith preset calibration position; the second position difference is the position difference between the ith preset calibration position and the central point of the ith click image in the display part;
and obtaining the display position of the central point of the ith click image on the display component according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
6. The touch display screen calibration device of claim 5,
the determining unit is specifically configured to determine a position of the ith preset calibration position in the ith click image;
and calculating a first position difference corresponding to the ith preset calibration position according to the position of the ith preset calibration position in the ith click image and the central point of the ith click image.
7. The touch display screen calibration device of claim 5 or 6,
the determining unit is specifically configured to calculate a conversion parameter corresponding to the ith preset calibration position according to a distance from the ith preset calibration position to a boundary point in a calibration area corresponding to the ith preset calibration position and a distance from the ith preset calibration position to the boundary point in the ith click image.
8. The touch display screen calibration device of claim 5 or 6,
the determining unit is specifically configured to determine a calculation formula of an ith display position according to a position of an ith preset calibration position in the ith click image and a position of a center point of the ith click image;
and calculating the display position of the center point of the ith click image on the display component by using a calculation formula of the ith display position according to the second position difference corresponding to the ith preset calibration position and the ith preset calibration position.
9. A calibration system for a touch display screen, comprising the touch display screen calibration device of any one of claims 5 to 8 and a touch device comprising an image acquisition unit; wherein,
the touch control equipment is used for acquiring a click image when the preset calibration position of the touch display screen calibration device is clicked, and sending the click image to the touch display screen calibration device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610871116.1A CN106547394B (en) | 2016-09-30 | 2016-09-30 | A kind of calibration method of touch display screen, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610871116.1A CN106547394B (en) | 2016-09-30 | 2016-09-30 | A kind of calibration method of touch display screen, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106547394A CN106547394A (en) | 2017-03-29 |
CN106547394B true CN106547394B (en) | 2019-09-17 |
Family
ID=58368310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610871116.1A Active CN106547394B (en) | 2016-09-30 | 2016-09-30 | A kind of calibration method of touch display screen, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106547394B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463320B (en) * | 2017-08-25 | 2021-06-15 | 上海联影医疗科技股份有限公司 | System correction method and device |
CN109739384B (en) * | 2019-01-08 | 2022-04-15 | 京东方科技集团股份有限公司 | Display device, calibration method and calibration device for display device, and electronic apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101634914A (en) * | 2008-07-22 | 2010-01-27 | 福州星网视易信息系统有限公司 | Three-point calibration method based on nonuniform touch screen |
CN102707891A (en) * | 2012-05-16 | 2012-10-03 | 华为终端有限公司 | Method and mobile terminal for calibrating touch screen input |
CN103472953A (en) * | 2013-09-25 | 2013-12-25 | 成都吉锐触摸技术股份有限公司 | Calibration method of touch display screen |
CN105302381A (en) * | 2015-12-07 | 2016-02-03 | 广州华欣电子科技有限公司 | Infrared touch screen precision adjusting method and device |
-
2016
- 2016-09-30 CN CN201610871116.1A patent/CN106547394B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101634914A (en) * | 2008-07-22 | 2010-01-27 | 福州星网视易信息系统有限公司 | Three-point calibration method based on nonuniform touch screen |
CN102707891A (en) * | 2012-05-16 | 2012-10-03 | 华为终端有限公司 | Method and mobile terminal for calibrating touch screen input |
CN103472953A (en) * | 2013-09-25 | 2013-12-25 | 成都吉锐触摸技术股份有限公司 | Calibration method of touch display screen |
CN105302381A (en) * | 2015-12-07 | 2016-02-03 | 广州华欣电子科技有限公司 | Infrared touch screen precision adjusting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106547394A (en) | 2017-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI547837B (en) | Electronic device and touch input control method thereof | |
CN101533312B (en) | Auto-aligning touch system and method | |
CN103472953B (en) | Calibration method of touch display screen | |
CN104317398B (en) | A kind of gestural control method, Wearable and electronic equipment | |
JP5802247B2 (en) | Information processing device | |
US8525780B2 (en) | Method and apparatus for inputting three-dimensional location | |
CN101354621A (en) | Method and apparatus for determining touch screen calibration parameter | |
CN108475137A (en) | Mitigate common mode display noise using hybrid estimation method | |
US20020067340A1 (en) | Method and apparatus for shorthand processing of medical images, wherein mouse positionings and/or actuations will immediately control image measuring functionalities, and a pertinent computer program | |
CN106547394B (en) | A kind of calibration method of touch display screen, apparatus and system | |
Mayer et al. | Feasibility analysis of detecting the finger orientation with depth cameras | |
CN111025039B (en) | Method, device, equipment and medium for testing accuracy of touch display screen | |
CN109634455B (en) | Calibration method and calibration system based on touch screen | |
CN104281285A (en) | External optical touch device and correction method thereof | |
TW200925952A (en) | Method for manipulating objects on a touch screen by means of several fingers | |
CN111199191A (en) | Automatic reading method of pointer instrument based on scale search | |
CN103699254A (en) | Method, device and system for multi-point touch positioning | |
CN101825970B (en) | Tracking method and tracking system of touch-control points | |
CN107229407B (en) | Information processing method and electronic equipment | |
CN102866808A (en) | Method and system for self-correcting of specially-shaped touch screen | |
WO2020119052A1 (en) | Image rotation control method and apparatus, image rotation display method and system, and medium | |
CN103869941B (en) | Electronic device with virtual touch service and virtual touch real-time calibration method | |
TWI419011B (en) | Method and system for tracking touch point | |
JP2022538056A (en) | Pointing device sensitivity adaptation method, computer program, and image evaluation device | |
CN113362418A (en) | Curve smoothing method, system, equipment and storage medium based on Bezier curve |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Patentee after: Hisense Visual Technology Co., Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |