Source: http://www.google.com/patents/US7012199?dq=7143430
Timestamp: 2016-10-23 06:35:34
Document Index: 229943105

Matched Legal Cases: ['art 301', 'arts 301', 'arts 301', 'art 301', 'art 301', 'art 901', 'art 901', 'art 901', 'art 1102', 'art 1105', 'art 1102']

Patent US7012199 - Coordinates correction apparatus, coordinates correction parameter ... - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inPatentsCorrection of coordinates input by a user through an input device is effected using coordinate correction parameters. To calculate the coordinate correction parameters, a plurality of reference points are displayed on the input device. Coordinate input is designated by a user, and if the coordinate is...http://www.google.com/patents/US7012199?utm_source=gb-gplus-sharePatent US7012199 - Coordinates correction apparatus, coordinates correction parameter calculation apparatus, coordinates correction method, coordinates correction parameter calculation method, memory medium for storing coordinates correction control program, and memory medium for storing coordinates correction parameter calculation programAdvanced Patent SearchTry the new Google Patents, with machine-classified Google Scholar results, and Japanese and South Korean patents.Publication numberUS7012199 B2Publication typeGrantApplication numberUS 09/454,969Publication dateMar 14, 2006Filing dateDec 6, 1999Priority dateDec 4, 1998Fee statusPaidAlso published asUS20030056999Publication number09454969, 454969, US 7012199 B2, US 7012199B2, US-B2-7012199, US7012199 B2, US7012199B2InventorsRyoji FukudaOriginal AssigneeCanon Kabushiki KaishaExport CitationBiBTeX, EndNote, RefManPatent Citations (18), Referenced by (4), Classifications (19), Legal Events (4) External Links: USPTO, USPTO Assignment, EspacenetCoordinates correction apparatus, coordinates correction parameter calculation apparatus, coordinates correction method, coordinates correction parameter calculation method, memory medium for storing coordinates correction control program, and memory medium for storing coordinates correction parameter calculation program
US 7012199 B2Abstract
Correction of coordinates input by a user through an input device is effected using coordinate correction parameters. To calculate the coordinate correction parameters, a plurality of reference points are displayed on the input device. Coordinate input is designated by a user, and if the coordinate is determined to correspond to a reference point, then the coordinate input is retained. The process is repeated until a coordinate is kept for each reference point, wherein only remaining reference point(s) for which a corresponding coordinate has not yet been retained are displayed. Once coordinates have been input for the reference points, a correspondence between coordinate input and a reference point is determined, and corresponding coordinates are kept for each reference point. Using correction parameters calculated based on the kept coordinates, it is possible to correct device characteristics of the input device such as position aberration, even if such characteristics are non-linear.
1. A coordinates correction apparatus comprising:
coordinate input means being placed on a display unit; display control means for controlling display of a plurality of reference points on the display unit, the reference points indicating positions for use in calculating coordinates correction parameters, wherein said coordinate input means inputs a coordinate corresponding to one of the displayed reference points based on a user designation; coordinate reception means for receiving the coordinate input by said coordinate input means corresponding to the one of the displayed reference points; discriminating means for discriminating, among the displayed reference points, a reference point corresponding to the coordinate received by said coordinate reception means; coordinates keeping means for keeping the coordinate receiving by said coordinate reception means as the coordinate corresponding to the reference point discriminated by said discriminating means; repeating means for repeating processes of said display control means, said coordinate reception means, said discriminating means and said coordinates keeping means to obtain coordinates for remaining reference points for which a coordinate is not kept by said coordinates keeping means, wherein said display control means is controlled to display only the remaining reference points; parameter calculation means for calculating coordinates correction parameters for nonlinear conversion, based on the coordinates kept by said coordinate keeping means; parameter keeping means for keeping the calculated coordinates correction parameters for nonlinear conversion; and coordinates correction means for correcting the coordinates input via said coordinates input means by the nonlinear conversion using the calculated coordinates correction parameters. 2. The coordinates correction apparatus of claim 1, wherein the coordinates correction parameters are a, b, c, d, e, f, g, and h and wherein the nonlinear conversion for correcting the coordinates (x, y) input via the coordinates input means to corrected coordinates (X, Y) is expressed by:
X=axy+bx+cy+d Y=exy+fx+gy+h. 3. The coordinates correction apparatus of claim 1, further comprising a coordinates output means for outputting the coordinates corrected by the coordinates correction means.
4. The coordinates correction apparatus of claim 1, wherein the parameter calculation means calculates the coordinates correction parameters for the nonlinear conversion based on the coordinates kept for all of the plurality of reference points.
5. The coordinates correction apparatus of claim 1, wherein the parameter calculation means calculates the coordinates correction parameters by solving simultaneous equations based on the kept coordinates corresponding to the plurality of displayed reference points.
6. The coordinates correction apparatus of claim 1, wherein said display is a liquid crystal display.
7. The coordinates correction apparatus of claim 1, wherein the plurality of displayed reference points is four reference points expressed in pairs of two x coordinates and two y coordinates in an xy rectangular coordinates system.
8. The coordinates correction apparatus of claim 7, wherein the parameter calculation means calculates the coordinates correction parameters a, b, c, d, e, f, g, and h by solving the following formulas where the coordinates of the four reference points as (X0, Y0), (X1, Y0), (X0, Y1), and (X1, Y1), setting the received coordinates as (xnw, ynw), (xne, yne), (xsw, ysw), and
(xse, yse); X 0 = a x n w y n w + b x n w + c y n w + d Y 0 = e x n w y n w + f x n w + g y n w + h X 1 = a x n e y n e + b x n e + c y n e + d Y 0 = e x n e y n e + f x n e + g y n e + h X 0 = a x s w y s w + b x s w + c y s w + d Y 1 = e x s w y s w + f x s w + g y s w + h X 1 = a x s e y s e + b x s e + c y s e + d Y 1 = e x s e y s e + f x s e + g y s e + h , wherein the parameter keeping means keeps the calculated coordinates correction parameters a, b, c, d, e, f, g, and h, and wherein the coordinates correction means corrects the coordinates input via said coordinate input means (x, y) to corrected coordinates (X, Y) by the nonlinear conversion X=axy+bx+cy+d Y=exy+fx+gy+h. 9. The coordinates correction apparatus of claim 1, further comprising a deciding means for deciding to control reference point display using said display control means, to receive coordinates using said coordinates reception means, to discriminate using said discriminating means, to keep user-designated coordinates using said coordinates keeping means and to calculate coordinates correction parameters using said parameter calculation means in a case that said parameter keeping means does not keep the coordinates correction parameters.
10. The coordinates correction apparatus of claim 1, wherein the coordinates correction apparatus is a portable information processing apparatus.
11. The coordinates correction apparatus of claim 1, wherein the coordinates correction apparatus can be connected to a network.
12. The coordinate correction apparatus according to claim 1, wherein said display control means causes the displayed reference point to disappear as said coordinates reception means receives the coordinates corresponding to the reference point.
13. A coordinates correction method for controlling a coordinates correction apparatus which has a coordinate input means placed on a display unit, the method comprising:
controlling display of a plurality of reference points on the display unit, the reference points indicating positions for use in calculating coordinates correction parameters, wherein said coordinate input means inputs a coordinate corresponding to one of the displayed reference points based on an user designation; receiving the coordinate input by said coordinate input means corresponding to the one of the displayed reference points; discriminating, among the displayed reference points, a reference point corresponding to the coordinate received in said receiving step; keeping the coordinate received in said receiving step as the coordinate corresponding to the reference point discriminated in said discriminating step as the coordinate corresponding to the reference point discriminated in said discriminating step; repeating said display controlling, receiving, discriminating and keeping steps to obtain coordinates for remaining reference points for which a coordinate is not kept in said keeping step, wherein said display controlling step controls display of reference points to display only the remaining reference points; calculating coordinates correction parameters for nonlinear conversion, based on the coordinates kept in said step of keeping user-designated coordinate; keeping the calculated coordinates correction parameters for nonlinear conversion; and correcting the coordinates input in the coordinates receiving step by the nonlinear conversion using the calculated coordinates correction parameters. 14. The coordinates correction method of claim 13, wherein the coordinates correction parameters are a, b, c, d, e, f, g, and h, and wherein the nonlinear conversion for correcting the coordinates (x, y) input via the coordinates receiving step to the corrected coordinates (X, Y) in said coordinates correction step is represented by
X=axy+bx+cy+d Y=exy+fx+gy+h. 15. The coordinates correction method of claim 13, further comprising a coordinates output step of outputting the coordinates corrected in the coordinates correction step.
16. The coordinates correction method of claim 13, wherein the coordinates correction parameters for the nonlinear conversion based on the coordinates kept for all of the plurality of reference points are calculated in said step of calculating coordinates correction parameters.
17. The coordinates correction method of claim 13, wherein said step of calculating coordinates correction parameter is executed by solving simultaneous equations based on the kept coordinates corresponding to the plurality of displayed reference points.
18. The coordinates correction method of claim 13, wherein said display is liquid crystal display.
19. The coordinates correction method of claim 13, wherein the plurality of displayed reference points is four reference points expressed in pairs of two x coordinates and two y coordinates in an xy rectangular coordinates system.
20. The coordinates correction method of claim 19, wherein coordinates correction parameters, a, b, c, d, e, f, g, and h, are calculated in the parameter calculation step by solving the following formulas where the coordinates of the four reference points as (X0, Y0), (X1, Y0), (X0, Y1), and (X1, Y1), setting the received coordinates as
(xnw, ynw), (xne, yne), (xsw, ysw), and (xse, yse): X 0 = a x n w y n w + b x n w + c y n w + d Y 0 = e x n w y n w + f x n w + g y n w + h X 1 = a x n e y n e + b x n e + c y n e + d Y 0 = e x n e y n e + f x n e + g y n e + h X 0 = a x s w y s w + b x s w + c y s w + d Y 1 = e x s w y s w + f x s w + g y s w + h X 1 = a x s e y s e + b x s e + c y s e + d Y 1 = e x s e y s e + f x s e + g y s e + h , wherein the calculated coordinates correction parameters are kept in the parameter keeping step, and wherein the coordinates input via said coordinates receiving step (x, y) are corrected to corrected coordinates (X, Y) in the coordinates correction steps by the nonlinear conversion X=axy+bx+cy+d Y=exy+fx+gy+h. 21. The coordinates correction method of claim 13, further comprising deciding to perform said steps of controlling display of a plurality of reference points, receiving coordinates, discriminating which reference point corresponds to the user-designated coordinate, keeping the user-designated coordinate and calculating coordinates correction parameters in a case that said step of keeping calculated coordinates correction parameters does not keep the coordinates correction parameters.
22. The coordinates correction method of claim 13 which is a coordinates correction method for controlling a portable information processing apparatus.
23. The coordinate correction method of claim 13, wherein said controlling display of a plurality of reference points on the display further comprises causing the displayed reference points to disappear as the coordinates corresponding to the reference point are received by said receiving coordinates step.
24. A computer-readable memory medium for storing a coordinates correction control program for controlling a coordinates correction apparatus which has a coordinate input means placed on a display unit, execution steps of the program comprising:
controlling display of a plurality of reference points on the display unit, the reference points indicating positions for use in calculating coordinates correction parameters, wherein said coordinate input means inputs a coordinate corresponding to one of the displayed reference points based on an user designation; receiving the coordinate input by said coordinate input means for the displayed reference points; discriminating, among the displayed reference points, a reference point corresponding to the coordinate received in said receiving coordinates step; keeping the coordinate receiving in said coordinate receiving step as the coordinate corresponding to the reference point discriminated in said discriminating step; repeating said display controlling, receiving, discriminating and keeping steps to obtain coordinates for remaining reference points for which a coordinate is not kept in said keeping step, wherein said display controlling step controls display of reference points to display only the remaining reference points; calculating coordinates correction parameters for nonlinear conversion, based on the coordinates kept in said step of keeping user-designated coordinates; keeping the calculated coordinates correction parameters for nonlinear conversion; and correcting the coordinates input in the coordinates receiving step by the nonlinear conversion using the calculated coordinates correction parameters. 25. The computer-readable memory medium of claim 24, wherein the coordinates correction parameters are a, b, c, d, e, f, g, and h, and wherein the nonlinear conversion for correcting the coordinates (x, y) input via the coordinates receiving step to the corrected coordinates (X, Y) in said coordinates correction step is represented by
X=axy+bx+cy+d Y=exy+fx+gy+h. 26. The computer-readable memory medium of claim 24, further comprising outputting coordinates corrected in said coordinates correction step.
27. The computer-readable memory medium for storing a coordinates correction control program of claim 24, wherein the coordinates correction parameters for the nonlinear conversion based on the coordinates kept for all of the plurality of reference points are calculated in said calculating coordinates correction parameters.
28. The computer-readable memory medium of claim 24, wherein said calculating coordinates correction parameter is executed by solving simultaneous equations based on the kept coordinates corresponding to the plurality of displayed reference points.
29. The computer-readable memory medium of claim 24, wherein said display is liquid crystal display.
30. The computer-readable memory medium of claim 24, wherein the plurality of displayed reference points is four reference points expressed in pairs of two x coordinates and two y coordinates in an xy rectangular coordinates system.
31. The computer-readable memory medium of claim 30, wherein coordinates correction parameters, a, b, c, d, e, f, g, and h, are calculated in the parameter calculation step by solving the following formulas where the coordinates of the four reference points as (X0, Y0), (X1, Y0), (X0, Y1), and (X1, Y1), setting the received coordinates as (xnw, ynw), (xne, yne), (xsw, ysw), and (xse, yse): X 0 = a x n w y n w + b x n w + c y n w + d Y 0 = e x n w y n w + f x n w + g y n w + h X 1 = a x n e y n e + b x n e + c y n e + d Y 0 = e x n e y n e + f x n e + g y n e + h X 0 = a x s w y s w + b x s w + c y s w + d Y 1 = e x s w y s w + f x s w + g y s w + h X 1 = a x s e y s e + b x s e + c y s e + d Y 1 = e x s e y s e + f x s e + g y s e + h , wherein the calculated coordinates correction parameters are kept in the parameter keeping step, and wherein the coordinates input via said coordinates receiving step (x, y) are corrected to corrected coordinates (X, Y) in the coordinates correction steps by the nonlinear conversion X=axy+bx+cy+d Y=exy+fx+gy+h. 32. The computer-readable memory medium of claim 24, further comprising deciding to execute said display controlling step, said coordinates receiving step, and said parameter calculation step if said keeping step does not keep the coordinates correction parameters.
33. The computer-readable memory medium of claim 24, wherein the program is a coordinates correction program for controlling a portable information processing apparatus.
34. The computer readable memory medium of claim 24, wherein said controlling display of a plurality of reference points on the display further comprises causing the displayed reference points to disappear as the coordinates corresponding to the reference point are received by said receiving coordinates step.
The present invention relates to a coordinates correction apparatus including a coordinates input area for correcting the received coordinates of a location optionally indicated on the coordinates input area, a coordinates correction method, and a memory medium that can be read by a computer storing a control program for the coordinates correction process.
The present invention also relates to a coordinates correction parameter calculation apparatus for calculating coordinates correction parameters for correcting the coordinates of a location optionally indicated on the coordinates input area, a coordinates correction parameter calculation method, and a memory medium that can be read by a computer storing a program for performing coordinates correction parameter calculation.
Conventionally, for correction of input coordinates in coordinates input apparatuses, a method has been employed in which coordinates correction parameters are calculated by solving simultaneous equations expressed by linear conversion from the raw coordinate values obtained from several locations used as reference points on the coordinates input area of the coordinates input apparatus, substituting the input coordinates into the linear conversion formulas, as shown in Japanese Patent Application Laid-Open Nos. 5-313822 and 8-171451 and Japanese Patent No. 2,517,664.
Such a correction parameter calculation method is described below. First, two reference points (X0, Y0) and (X1, Y1) are set on the coordinates input area of the coordinates input apparatus and the position of those reference points are indicated with a mark. These indicators are displayed on a display apparatus such as a liquid crystal display installed under a transparent coordinates input area, for example. Next, raw coordinates data for two points are input from a coordinates input apparatus when the user points to the position at which the user sees the marks by eye (for example using an indication tool for coordinates input in the form of a pen). The input raw coordinates data (xnw, ynw) and (xse, yse) will form the following relationship with the original coordinates of the two standard points. X 0 = a x n w + b Y 0 = c y n w + d X 1 = a x s e + b Y 1 = c y s e + d [ Equation 1 ] (a, b, c, and d are constants)
Correction parameters a, b, c, and d are found from the formulas as follows. a = X 1 - X 0 x s e - x n w b = X 0 x s e - X 1 x n w x s e - x n w c = Y 1 - Y 0 y s e - y n w d = Y 0 y s e - Y 1 y n w y s e - y n w [ Equation 2 ] Calculating the parameters as above and using them for correction of the input coordinates is effective when the coordinates detection characteristic of the coordinates input apparatus is parallel to the X-axis and the Y-axis. However, in general there is often in incline with respect to the axis. Thus, a correction method was also conceived of using three reference points (X0, Y0), (X1, Y1) and (X2, Y2) where the relationship between the raw coordinates data is as follows: X 0 = a x n w + b y n w + c Y 0 = d x n w + e y n w + f X 1 = a x s e + b y s e + c Y 1 = d x s e + e y s e + f X 2 = a x n e + b y n e + c Y 2 = d x n e + e y n e + f [ Equation 3 ] (a, b, c, d, e, and f are constants)
The correction parameters a, b, c, d, e, and f are found from the following formulas. a = ( X 2 - X 0 ) ( y s e - y n w ) - ( X 1 - X 0 ) ( y n e - y n w ) ( x n e - x n w ) ( y s e - y n w ) - ( x s e - x n w ) ( y n e - y n w ) b = ( X 2 - X 0 ) ( x s e - x n w ) - ( X 1 - X 0 ) ( x n e - x n w ) ( y n e - y n w ) ( x s e - x n w ) - ( y s e - y n w ) ( x n e - x n w ) c = X 0 - a x n w - b y n w d = ( Y 2 - Y 0 ) ( y s e - y n w ) - ( Y 1 - Y 0 ) ( y n e - y n w ) ( x n e - x n w ) ( y s e - y n w ) - ( x s e - x n w ) ( y n e - y n w ) e = ( Y 2 - Y 0 ) ( x s e - x n w ) - ( Y 1 - Y 0 ) ( x n e - x n w ) ( y n e - y n w ) ( x s e - x n w ) - ( y s e - y n w ) ( x n e - x n w ) f = Y 0 - dx nw - ey nw [ Equation 4 ] When these coordinates correction parameters are established, the input coordinates are corrected based on the formulas below, and output to, for example, a liquid crystal display serving as a coordinates output means.
After finding the correction parameters, when the coordinates are actually input, the correction formulas are expressed as:
X=ax+b
Y=cx+d
using the correction parameters a, b, c, and d when there are two reference points in the correction method using two reference points. When using the correction method having three reference points, the formulas are expressed:
X=ax+by=C
Y=dx+ey+f
using correction parameters a, b, c, d, e, and f.
Further, in Japanese Patent Application Laid-Open No. 8-171451, in order to compensate for the nonlinear characteristic of the coordinates input apparatus, an embodiment is disclosed in which the territory is finely divided by 20 reference points and the correction parameters are sought for each territory through the method of seeking the correction parameters with three reference points.
There is a so-called resistance membrane type coordinates input apparatus in which the coordinates input area comprises a resistance membrane and the input coordinates of a position indicated on the coordinates input area are detected by the voltage responding to the resistance of the resistance membrane. In these types of coordinates input apparatuses, the resistance member within the resistance membranes on the market are sometimes not vaporized uniformly and linearity between the input coordinates and the voltage detected from the resistance membrane may not be found.
In an apparatus comprising a coordinates input part using such a resistance membrane, the electrical detection characteristic of the input coordinates becomes nonlinear, and discrepancies in the input coordinates particularly at the outer periphery of the coordinates input area become striking.
Given the parts of such a coordinates input part, the coordinates correction method using two or three reference points for the above conventional coordinates input apparatuses cannot be applied, and only a method such as in Japanese Patent Application Laid-Open No. 8-171451 can be performed. However, with this method, one must either set many reference points or it is necessary to keep many correction parameters or an operation for determining territories is necessary. These problems can of course be mentioned in relation to correction of input coordinates in other types of coordinates input apparatuses other than resistance membrane types as well.
Thus, the aim of the present invention is to be able to perform coordinates input with high precision even when the electrical characteristic relating to coordinates detection of the coordinates input part is not linear by performing correction of input coordinates accurately in response to such nonlinearity.
The present invention is a coordinates correction apparatus including a parameter keeping means for keeping quadratic nonlinear conversion constants as coordinates correction parameters, a coordinates correction method, and a memory medium storing a coordinates correction control program which receives coordinates of locations optionally indicated on a coordinates input area and corrects the received coordinates by a coordinate reception step by quadratic nonlinear conversion using the coordinates correction parameters kept in the parameter keeping means.
Preferably, the present invention further comprises a parameter calculation step for calculating the coordinates correction parameters for nonlinear conversion and keeping the coordinates correction parameters by the parameter keeping means.
The present invention is further a coordinates correction parameter calculation apparatus including a coordinates input area for calculating the coordinates correction parameters for correcting the coordinates of locations optionally indicated on a coordinates input area by nonlinear conversion, a coordinates correction parameter calculation method, and a memory medium storing a coordinates correction parameter calculation program which receives from the coordinates input apparatus coordinates of indicated locations corresponding to multiple reference points with differing locations established on the coordinates input area and calculates the nonlinear equation type coordinates correction parameters for coordinates correction by solving the simultaneous equations by applying the received coordinates to the nonlinear equations for coordinates correction.
In the embodiments to be described below, in such a coordinates correction apparatus, a coordinates correction method, and a memory medium that can be read by a computer storing a control program for coordinates correction processing, even if the coordinates detection characteristic is not linear due to the quality of the parts of the coordinates input part of the coordinates input apparatus or such, in response to this accurate correction of the input coordinates and highly precise coordinates input can be performed because secondary nonlinear conversion constants are kept as parameters for correcting the input coordinates and the input coordinates are corrected by secondary nonlinear conversion using these parameters.
Further, even if the electrical characteristic relating to the coordinates detection of the coordinates input apparatus is nonlinear, calculation of coordinates correction parameters for performing correction of the input coordinates can be performed with high precision simply and with low construction costs and the manufacturing costs of the coordinates input apparatus for performing correction of the input coordinates using coordinates correction parameters calculated in this way can be reduced.
Further, coordinates correction parameters in the form of nonlinear conversion correction formula constants can be calculated based on simple coordinates input merely by indicating four reference points established on the coordinates input area.
Further, by performing correction of the input coordinates with nonlinear conversion correction formulas using the calculated coordinates correction parameters, even if the electrical characteristic relating to the coordinates detection of the coordinates input part is not linear, accurate correction can be performed corresponding to the input from the user and coordinates input can be performed with high precision. Further, the manufacturing costs of the apparatus can be reduced.
Other aims and benefits of the present invention will become clear from the detailed description, attached Figures, and the Claims to follow.
FIG. 1 is a block diagram showing the basic construction of the fist embodiment of the present invention.
FIG. 2 is a flowchart showing the procedure of the coordinates correction process of the first embodiment.
FIG. 3 is a block diagram showing the construction of the actual hardware of the first embodiment.
FIG. 4 is a block diagram showing the basic construction of the second embodiment of the present invention.
FIG. 5 is a block diagram showing the construction of the actual hardware of the second embodiment.
FIG. 6 is a flowchart showing the procedure of the coordinates correction process of the second embodiment.
FIG. 7 is a drawing showing the appearance of the marks of the reference points displayed on the coordinates input screen in the second and third embodiments.
FIG. 8 is a block diagram showing the basic construction of the third embodiment of the present invention.
FIG. 9 is a block diagram showing the construction of the actual hardware of the third embodiment of the present invention.
FIG. 10 is a flowchart showing the procedure of the coordinates correction process of the third embodiment.
FIG. 11 is a drawing showing one form of a portable information processing apparatus possible as an embodiment of the present invention.
FIG. 12 is a drawing showing that the portable information processing apparatus possible as an embodiment of the present invention can be connected to an external device through a network.
Following, several embodiments of the present invention are described.
FIG. 1 shows the basic construction of the coordinates input apparatus according to the first embodiment of the present invention.
As shown here, the apparatus of the present embodiment includes a coordinates input means 101, a parameter keeping means 102, a coordinates correction means 103, and a coordinates output means 104.
The coordinates input means 101 includes a coordinates input area and coordinates of locations optionally indicated on the coordinates input area are detected and input. The parameter keeping means 102 keeps parameters for correcting the values of the input coordinates. Using the parameters kept in the parameter keeping means, the coordinates correction means 103 corrects the values of the coordinates input by the coordinates input means 101. The coordinates output means 104 outputs the coordinates corrected by the coordinates correction means 103.
Here, as the particular characteristic of the present invention, quadratic nonlinear conversion constants are kept as parameters for correction in the parameter keeping means 102 and the coordinates correction means 103 corrects the input coordinates by performing secondary nonlinear conversion based on these constants and outputs to the coordinates output means 104.
Next, the actual construction of the hardware of the apparatus of the present embodiment is described with reference to FIG. 3.
In FIG. 3, 301 is a coordinates input part which serves as the coordinates input means 101 of FIG. 1 constructed, for example, of the resistance membrane type described above, comprising (not illustrated) a transparent resistance membrane which forms the coordinates input area, a drive circuit for reading the coordinates of a position on the resistance membrane indicated by a coordinates input indication tool in pen form by voltage, and an A/D conversion circuit for A/D conversion of the read output into coordinates data.
The input coordinates data detected in the coordinates input part 301 are transferred to the I/O controller 302. The I/O controller 302 sends the coordinates data to a bus 306 and a CPU 303 following orders from the CPU 303.
As well as controlling the entire apparatus, the CPU 303 fulfills the roll of the coordinates correction means of FIG. 1 and performs correction of the coordinates. The details of that process will be described in detail later. Within the CPU 303, RAM 304, ROM 305, and VRAM 307 memories are connected via the bus 306.
RAM 304 is used as the work area of the CPU 303.
ROM 305 fulfills the role of the parameter keeping means 102 of FIG. 1, with secondary nonlinear conversion constants (to be given later) written in designated areas in advance as the parameters for correcting the input coordinates. There are solid-state differences to each of the coordinates input parts 301 and it is necessary to perform a correction on each of the coordinates input parts 301 loaded on each coordinates input apparatus at time of shipment from the factory. At that time, the individual coordinates correction parameters for each unit are decided as a result of the correction and written on the loaded ROM 305 of the apparatus.
Further, a control program executed by the CPU 303 for control is written on the ROM 305. A program for performing the aforementioned coordinates correction process is included in this control program. The CPU 303 fulfills the role of coordinates correction means 103 by executing this program.
The ROM 305 corresponds to the embodiment of the memory medium that can be read by the computer for storing the control program for coordinates correction in the present invention.
The VRAM 307 keeps display data written in from the CPU 303 and displays it on a liquid crystal display 309 controlled by a display controller 308. Input coordinates data corrected by the CPU 303 acting as the coordinates correction means 103 are included in this display data. In other words, VRAM 307, the display controller 308, and the liquid crystal display 309 comprise the coordinates output means 104 of FIG. 1 and display and output the corrected input coordinates.
The liquid crystal display 309 is placed underneath the coordinates input area constructed from a transparent resistance membrane of the coordinates input part 301.
Next, the operation of the correction process for input coordinates by the CPU 303 functioning as the coordinates correction means 103 is described using the flowchart of FIG. 2. The control program for the correction process corresponding to this flowchart is stored on ROM 305 and executed by the CPU 303.
First, coordinates input is performed by the coordinates input part 301 in step S201. The coordinates obtained here are (x, y).
Next, the coordinates correction parameters are read-in from ROM 305 in step S202. The parameters read-in here are quadratic nonlinear conversion constants:
xy constant a for correction of the x coordinate, x constant b for correction of the x coordinate, y constant c for correction of the x coordinate, constant d for correction of the x coordinate, xy constant e for correction of the y coordinate, x constant f for correction of the y coordinate, y constant g for correction of the y coordinate, and constant h for correction of the y coordinate. Next, correction of the input coordinates (x, y) is performed in step S203. If the corrected coordinates here are (X, Y), the correction formula is expressed as the quadratic nonlinear conversion formulas:
X=axy+bx+cy+d
Y=exy+fx+gy+h
Finally, the corrected coordinates (X, Y) are sent to VRAM 307 and displayed on the liquid crystal display 309 in step S204.
As above, because in the first embodiment correction of the input coordinates is performed by secondary nonlinear conversion if the electrical characteristic relating to the coordinates detection of the coordinates input part of the coordinates input apparatus is not linear the input coordinates can be accurately corrected in response to this and highly precise coordinates input can be performed.
In the first embodiment the control program of the parameters for correcting the input coordinates and for the correction process was stored in ROM 305, but it can also be stored in a memory medium that can be read by another computer, such as a disk or memory card, and can be used by reading-in to RAM 304 from the memory medium.
In the first embodiment, the coordinates correction parameters are mentioned in connection with the coordinates input apparatus as written on the ROM 305 in advance, but in the second embodiment a coordinates correction parameter calculation apparatus for calculating coordinates correction parameters is described.
The basic functional structure of the coordinates correction parameter calculation apparatus of the second embodiment is described in FIG. 4. In FIG. 4 the coordinates correction parameter calculation apparatus is composed of means keyed 402 to 408 and the calculated coordinates correction parameters are set in a coordinates input apparatus 401.
In the present embodiment, in order to calculate the coordinates correction parameters for correcting the input coordinates input from the coordinates input apparatus 401, a first through a fourth reference point with differing locations are displayed on the coordinates input area of the coordinates input apparatus 401 and four coordinates are input by indicating these reference points.
A first through a fourth coordinates keeping means 403 to 406 are installed corresponding one to one to the first through the fourth reference points in the coordinates correction parameter calculation apparatus. Further, an input coordinates discriminating and storing means 402 is installed which stores the four coordinates input from the coordinates input apparatus 401 by indicating a first through a fourth reference point as described above and discriminates the order of the reference points and divides them among the corresponding first through fourth coordinates keeping means 403 to 406. Further, a parameter calculation means 407 is installed which calculates the coordinates correction parameters by solving simultaneous equations based on the four coordinates stored in the first through the fourth coordinates keeping means 403 to 406 by the input coordinates discriminating and storing means 402 and sends them to the parameter output means 408. The parameter output means 408 outputs the parameters to the outside.
Next, the actual hardware of the coordinates correction parameter calculation apparatus is described in FIG. 5. In FIG. 5, the coordinates correction parameter calculation apparatus is constructed of elements keyed 502 to 507.
The coordinates input apparatus 401 is constructed of either an aforementioned resistance membrane type or another type of input apparatus. The coordinates data input from the coordinates input apparatus 401 is transferred to a CPU 503 via an I/O controller 502 and a bus 506. The I/O controller 502 performs data transmission for input of the coordinates data or output of coordinates correction parameters under the control of the CPU 503.
The I/O controller 502 is connected to RAM 504 and ROM 505 via the bus 506 in the CPU 503.
The CPU 503 fulfills the role of the input coordinates discriminating and storing means 402 and the parameter calculation means 407 of FIG. 4 as well as performing control of the coordinates correction parameter calculation apparatus as a whole by executing the control program stored in ROM 505. In other words, a program, to be described later, in which the CPU 503 executes the input coordinates discrimination and storing means 402 and the parameter calculation means 407 is included in the control program stored on ROM 505. ROM 505 corresponds to an embodiment of the memory medium that can be read by a computer storing a program for performing coordinates correction parameter calculation in the present invention.
RAM 504 fulfills the role of the first through fourth coordinates keeping means 403 to 406 of FIG. 4. In other words, a first through a fourth coordinates keeping area comprising multiple addresses for keeping coordinates data corresponding one to one to the first through the fourth reference points is established within RAM 504.
A ROM writer 507 is connected to the I/O controller 502. This ROM writer 507 corresponds to the parameter output means 408 of FIG. 4 and writes the coordinates correction parameters from the CPU 503 to be described later onto a ROM (not shown in the drawing). This unillustrated ROM is loaded on the coordinates input apparatus 401 after the coordinates correction parameters are written in and used for coordinates correction.
Next, the operations of coordinates correction parameter calculation of the CPU 503 are described in the flowchart of FIG. 6. A program of the processing procedure corresponding to the flowchart of FIG. 6 is stored in ROM 505 and executed by the CPU 503.
First, four coordinates are input when the operator of the apparatus indicates a first through a fourth reference point with differing locations on the coordinates input area of the coordinates input apparatus 401 in the first step, S601.
In order to do this, as shown in FIG. 7, four reference point marks 703 to 706 are displayed in advance on the coordinates input area 702 of the coordinates input apparatus indicating a first through a fourth reference point with differing locations and these points are indicated (contacted) by a coordinates input indication tool in the form of a pen, for example. The coordinates of the locations of these marks 703 to 706, or in other words the coordinates of the locations of the first through the fourth reference points, become the coordinates used for reference in parameter calculation, described below. Therefore, they should be established with a suitable distance between them such that rounding-off errors during calculation do not become too large. The coordinates of the locations of the reference point marks 703 to 706 are given here as (X0, Y0), (X1, Y0), (X0, Y1), and (X1, Y1) in order to simplify the calculations.
The display of these marks 703 to 706 is temporary. For example, the marks can be displayed if the material of the resistance membrane or such that comprises the coordinates; input area 702 is transparent and layered on a display apparatus such as a liquid crystal display.
Next, it is determined which of the input coordinates before correction (x, y) indicated by the above indication corresponds to which of the reference points, the first through the fourth, represented by the reference point marks 703 to 706 in step S602. The distance between the input coordinates (x, y) and each of the first through the fourth reference point coordinates (X0, Y0), (X1, Y0), (X0, Y1), and (X1, Y1) is calculated, the distances are compared, and the reference point the shortest distance from the coordinates is the one entered.
Next, in step S603 the data of the input coordinates (x, y) is stored in the area corresponding to the reference point it was determined to correspond to in step S602, among the first through the fourth coordinates keeping areas in RAM 504.
Next, in step S604 it is determined whether or not coordinates input has been completed for all four reference point marks 703 to 706. Then, either steps S601 through S604 are repeated by returning to step S601 if input is not complete, or it advances to step S605 if input is complete.
The input coordinates corresponding to the four reference point marks 703 to 706 are given here as (xnw, ynw), (xne, yne), (xsw, ysw) and (xse, yse). The subscripts of each variable nw, ne, sw, and se stand for, respectively, northwest, northeast, southwest, and southeast. In other words, they express the direction of the reference points from the center of the coordinates input area of the coordinates in put apparatus when north is considered the upward direction.
In step S605, parameters for correction of the input coordinates are calculated by solving simultaneous equations based on the four coordinate, (xnw, ynw), (xne, yne), (xsw, ysw), and (xse, yse) stored in the first through the fourth coordinates keeping areas in RAM 504 input as above.
The formulas below are the simultaneous equations based on the four coordinates. As for the basic correction formula for coordinates correction, if the corrected coordinates are (X, Y), then in a nonlinear conversion formula including the quadratic term(xy) (where a, b, c, d, e, f, g, and h are constants):
When the input coordinates of the four reference points above are applied to these formulas, the following simultaneous equations are formed: X 0 = a x n w y n w + b x n w + c y n w + d Y 0 = e x n w y n w + f x n w + g y n w + h X 1 = a x n e y n e + b x n e + c y n e + d Y 0 = e x n e y n e + f x n e + g y n e + h X 0 = a x s w y s w + b x s w + c y s w + d Y 1 = e x s w y s w + f x s w + g y s w + h X 1 = a x s e y s e + b x s e + c y s e + d Y 1 = e x s e y s e + f x s e + g y s e + h [ Equation 5 ] Solving these equations, the following are expressed as functions: a = A ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) b = B ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) c = C ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) d = D ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) e = E ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) f = F ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) g = G ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) h = H ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) [ Equation 6 ] (where (A( ), B( ), C( ), D( ), E( ), F( ), G( ), and H( ) are functions). In step S605, coordinates correction parameters a, b, c, d, e, f, g, and h are found by substituting the actual coordinates values for each of these functions.
The actual process of solving the simultaneous equations is now explained.
First, x n = x n e - x n w y n = y n e - y n w x s = x s e - x s w y s = y s e - s s w x e = x s e - x n e y e = y s e - y n e x w = x s w - x n w y w = y s w - y n w z n = x n e y n e - x n w y n w z s = x s e y s e - x s w y s w z e = x s e y s e - x n e y n e z w = x s w y s w - x n w y n w T h e n , [ Equation 7 ] x v = z s x n - z n x s y v = z s y n - z n y s z v = x s y n - x n y s x h = z e x w - z w x e y h = z e y w - z w y e z h = x e y w - x w y e y w e = y w - y e y n s = y n - y s a n d , [ Equation 8 ] n x = ( X 1 - X 0 ) y n s n y = ( Y 1 - Y 0 ) y w e m = y v z h - y h z v [ Equation 9 ] If here xe=xw or yn=ys, is either 0 or so close to 0 that it can not be used as a divisor.
In this situation, the nonlinear component may be almost invisible. Therefore, if xe=xw or yn=ys
A ( ) = 0 B ( ) = X 1 - X 0 x n C ( ) = 0 D ( ) = X 0 - x n w E ( ) = 0 F ( ) = 0 G ( ) = Y 1 - Y 0 y e H ( ) = Y 0 - y n w [ Equation 10 ] Or, if xe≠xw or yn≠ys
A ( ) = z h n x m B ( ) = - y h n x m C ( ) = x h n x m D ( ) = X 0 - ( ( z h y n w - y h ) x n w + x h y n w ) n x m E ( ) = - z v n y m F ( ) = y v n y m G ( ) = - x v n y m H ( ) = Y 0 + ( ( z v y n w - y v ) x n w + x v y n w ) n y m [ Equation 11 ] The values of a, b, c, e, f, and g are small and demand high precision when actually solved for. Therefore if real numbers are used in the calculations of the CPU 503 or performing simultaneous calculation for high speed by 32 bit integral calculation, it is realistic to keep a, b, c, e, f, and h to approximate values of 104 and to divide by the same value during correction.
Finally, in step S606, the calculated coordinates correction parameters are output to the ROM writer 507 and the process is completed. The ROM writer 507 writes the coordinates correction parameters on the unillustrated ROM attached to it. This unillustrated ROM is loaded on the coordinates input apparatus 401 after writing-in, and used to keep the coordinates correction parameters for correcting the input coordinates in the coordinates input apparatus 401.
According to the above process, merely by indicating the first through the fourth reference points on the coordinate input area of the coordinates input apparatus and inputting those coordinates, coordinates correction parameters a to h can be simply calculated and written-in on a ROM loaded on the coordinates input apparatus. In the coordinates input apparatus loaded with this ROM, the values of a to h written on the ROM are applied to the nonlinear conversion correction formulas including the quadratic term (x, y):
and highly precise correction of the input coordinates can be performed even if the electrical characteristic relating to coordinates detection of the coordinates input apparatus is not linear due to the quality of the construction materials of the coordinates input apparatus by performing correction of the input coordinates by calculating the correction formulas. Thus, because the characteristic need not be linear, production costs of the coordinates input apparatus can be reduced.
Further, in the coordinates correction parameter calculation apparatus of the present embodiment, the input coordinates discrimination and storing means 402 and the parameter calculation means 407 can be realized when the CPU 503 executes; the program inside the ROM 505 and the first through the fourth coordinates keeping means 403 to 406 can be realized by the RAM 504. Therefore, the construction of the hardware of the apparatus is simple and the apparatus can be produced at low cost.
Next, the basic functional construction of the coordinates input apparatus of Embodiment 3 of the present invention is explained by FIG. 8. The coordinates input apparatus of Embodiment 3 having processes corresponding to the coordinates input process of Embodiment 1 and the coordinates correction parameter calculation process of Embodiment 2 are explained.
In FIG. 8, the apparatus of the present embodiment comprises a coordinates input means 801 including a coordinates input area, a switching means 802, a first through a fourth coordinates keeping means 803 to 806, a parameter calculation means 807, a parameter keeping means 808, an input coordinates correction means 809, and a coordinates output means 810.
In the coordinates input means 801, a first through a fourth reference point with differing locations are established in order to calculate coordinates correction parameters for correcting the input coordinates and the four coordinates of these points are input when the user indicates each of the reference points.
When the coordinates are input from the coordinates input area of the coordinates input means 801, the switching means 802 switches such that correction of the input coordinates input into the input coordinates correction means 809 is carried out if coordinates correction parameters are kept in the parameter keeping means 808 and calculation of coordinates correction parameters by the parameter calculation means 807 is carried out by storing the input coordinates in the first through the fourth input coordinates keeping means 803 to 806 if coordinates correction parameters are not kept.
The first through the fourth coordinates keeping means 803 to 806 are installed corresponding one to one to the first through the fourth reference points in order to keep the four input coordinates by indicating the first through the fourth reference points on the coordinates input area.
The parameter calculation means 807 calculates the coordinates correction parameters by solving simultaneous equations based on those four coordinates if the four coordinates are kept in the coordinates keeping means 803 to 806, and sends them to the parameter keeping means 808.
The parameter keeping means 808 keeps the coordinates correction parameters calculated and sent from the parameter calculation means 807.
The input coordinates correction means 809 corrects the input coordinates via the switching means 802 from the coordinates input area of the coordinates input means 801 using the coordinates correction parameters kept in the parameter keeping means 808 and sends them to the coordinates output means 810.
Next, the actual hardware construction of the coordinates input apparatus is explained through FIG. 9.
In the construction of FIG. 9, the coordinates input part 901 is either the aforementioned resistance membrane type or another type. The coordinates data input from the coordinates input area of the coordinates input part 901 is sent to a CPU 903 via an I/O controller 902 and a bus 906. The I/O controller 902 performs transfer of the input coordinates data and the coordinates correction parameters described below under the control of the CPU 903.
The I/O controller 902, RAM 904, a mask ROM 905, VRAM 907, and a flush ROM 911 are connected via the bus 906 in the CPU 903.
The CPU 903 fulfills the role of the switching means 802, the parameter calculation means 807, and the input coordinates correction means 809 of FIG. 8 as well as performing control of the entire coordinates input apparatus by executing a control program stored in the mask ROM 905. In other words, a program for the processes to be described later in which the CPU 903 executes the switching means 802, the parameter calculation means 807, and the input coordinates correction means 809 is included in the control program stored in the mask ROM 905. The mask ROM 905 corresponds to an embodiment of the memory medium that can be read by a computer storing a control program for performing the coordinates correction process of the present invention.
RAM 904 fulfills the role of the first through the fourth coordinates keeping means 803 to 806 of FIG. 8. In other words, a first through a fourth coordinates keeping area comprising multiple addresses for keeping coordinates data corresponding one to one to the first through the fourth reference points is established within RAM 904.
Further, display data (image data) including the corrected coordinates data after the CPU 903 has corrected the input coordinates is written-in on the VRAM 907 and this data is displayed and output to a liquid crystal display 909 via the display controller 908. In other words, the coordinates output means 810 of FIG. 8 comprises VRAM 907, the display controller 908, and the liquid crystal display 909. The coordinates input area of the coordinates input part 901 is transparent and the liquid crystal display 909 is placed underneath it such that the display of the liquid crystal display 909 can be seen through the coordinates input area.
Further, the flush ROM 911 fulfills the role of the parameter keeping means 808 of FIG. 8. A ROM writer 910 is connected inside the flush ROM 911, the CPU 903 transmits the calculated coordinates correction parameters to the ROM writer 910 via the bus 906 and the I/O controller, and the ROM writer 910 writes in the coordinates correction parameters to the flush ROM 911.
Next, the operations of the switching means 802, the parameter calculation means 807, and the input coordinates correction means 809 performed by the CPU 903 are described by the flowchart of FIG. 10. The control program for the process procedure corresponding to the flowchart of FIG. 10 is stored in the mask ROM 905 and executed by the CPU 903.
In the third embodiment, in order to perform calculation of the coordinates correction parameters, four coordinates are input when the operator of the apparatus indicates a first through a fourth reference point with differing locations established on the coordinates input area of the coordinates input apparatus 1.
In order to do so, as shown in FIG. 7, a first through a fourth reference point mark 703 to 706 representing the first through the fourth reference point with differing locations are displayed in advance on the coordinates input area 702 of the coordinates input apparatus, and these are indicated (contacted) by a coordinates input indication tool in the form of a pen, for example. The coordinates of these marks 703 to 706, or in other words the coordinates of the locations of the first through the fourth reference points become the coordinates for reference in the parameter calculations described below. Therefore they should be established with a suitable distance between them such that rounding-off errors during calculation are not too large. In order to simplify the calculation here, the coordinates of the locations of the reference point marks 703 to 706 are given as four coordinates expressed in pairs of two X coordinates and two Y coordinates (X0, Y0), (X1, Y0), (X0, Y1), and (X1, Y1). These marks 703 to 706 are displayed by the liquid crystal display 909.
In the process in FIG. 10, first the first through the fourth coordinates input is performed from the coordinates input area of the coordinates input means 801 by the user in step S1001. Next it moves to step S1002. Steps S1002, S1003, and S1004 serve as the switching means 802.
In step S1002, it is; determined whether or not calculation of the coordinates correction parameters is completed, in other words, whether or not coordinates correction parameters have already been written in to the parameter keeping means 808 (the flush ROM 911) and kept, and moves to step S1003 if they are not kept. In this case, the coordinates input in step S1001 are considered to be the coordinates input corresponding to one of the first through the fourth reference points for coordinates correction parameter calculation and the process below step S1003 is performed.
In step S1003, the coordinates (x, y) input in step S1001 are determined to correspond to one of either the first through the fourth reference points indicated by the reference point marks 703 to 706 and the input coordinates (x, y) data is stored in one area corresponding to the reference point as a result of the above determination among the first through the fourth coordinates keeping areas in RAM 904. For example, if it is determined that the input coordinates correspond to the first reference point, the input coordinates data are stored in the first coordinates keeping area corresponding to the first reference point.
The above determination is decided by calculating the respective distances between the input coordinates (x, y) and the original coordinates (X0, Y0), (X1, Y0), (X0, Y1), and (X1, Y1) of each of the four reference points and comparing those distances. The input coordinates are determined to correspond to the reference point the smallest distance away.
At this time, the liquid crystal display 909 may be controlled such that the reference marks 703 to 706 displayed disappear as the corresponding reference points are entered. By doing so, it is easier for the user to understand which of the reference points has been input among the four points.
Next, in step S1004 it is determined whether or not all coordinates have been input corresponding to the four reference points 703 to 706 and the storage of the input coordinates to the first through the fourth coordinates keeping areas in RAM 904 has been completed. If it has not been completed it returns to step S1001 and repeats the step S1001 to S1004 process; if it has been completed it advances to S1005.
Here the input coordinates corresponding to the four reference point marks 703 to 706 are respectively (xnw, ynw), (xne, yne), (xsw, ysw), and (xse, yse). The subscripts of each coordinate nw, ne, sw, and se mean respectively northwest, northeast, southwest and southeast. In other words, they express the direction of the location of the reference points from the center of the coordinates input area of the coordinates input apparatus if north is the upward direction.
In step S1005 a process is performed as the parameter calculation means 807. In other words, the parameters for correcting the input coordinates are calculated by solving the simultaneous equations based on the four coordinates (xnw, ynw), (xne, yne), (xsw, ysw), and (xse, yse) stored in the first through the fourth coordinates keeping areas in the RAM 904 input as above.
Here the formulas below are the simultaneous equations based on the four coordinates. As for the basic correction formula for coordinates correction, if the corrected coordinates are (X, Y), then in a nonlinear conversion formula including the quadratic term (xy) (where a, b, c, d, e, f, g, and h are constants):
When the input coordinates of the four reference points above are applied, the following simultaneous equations are formed: X 0 = a x n w y n w + b x n w + c y n w + d Y 0 = e x n w y n w + f x n w + g y n w + h X 1 = a x n e y n e + b x n e + c y n e + d Y 0 = e x n e y n e + f x n e + g y n e + h X 0 = a x s w y s w + b x s w + c y s w + d Y 1 = e x s w y s w + f x s w + g y s w + h X 1 = a x s e y s e + b x s e + c y s e + d Y 1 = e x s e y s e + f x s e + g y s e + h [ Equation 12 ] Solving these equations the following is expressed as functions: a = A ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) b = B ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) c = C ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) d = D ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) e = E ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) f = F ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) g = G ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) h = H ( X 0 , X 1 , x n w , y n w , x n e , y n e , x s w , y s w , x s e , y s e ) [ Equation 13 ] (where (A( ), B( ), C( ), D( ), E( ), F( ), G( ), and H( ) are functions). In step S1005, the coordinates correction parameters a, b, c, d, e, f, g, and h are sought by substituting the actual coordinate values for each of these functions.
Now the actual process of solving the simultaneous equations is explained. First: x n = x n e - x n w y n = y n e - y n w x s = x s e - x s w y s = y s e - y s w x e = x s e - x n e y e = y s e - y n e x w = x s w - x n w y w = y s w - y n w z n = x n e y n e - x n w y n w z s = x s e y s e - x s w y s w z e = x s e y s e - x n e y n e z w = x s w y s w - x n w y n w T h e n , [ Equation 14 ] x v = z s x n - z n x s y v = z s y n - z n y s z v = x s y n - x n y s x h = z e x w - z w x e y h = z e y w - z w y e z h = x e y w - x w y e y w e = y w - y e y n s = y n - y s a n d , [ Equation 15 ] n x = ( X 1 - X 0 ) y n s n y = ( Y 1 - Y 0 ) y w e m = y v z h - y h z v [ Equation 16 ] If xe=xw or yn=ys, then m will be 0 or so close to 0 that m can not be used as a divisor.
In this situation the nonlinear component may be almost invisible. Therefore if xe=xw or yn=ys: A ( ) = 0 B ( ) = X 1 - X 0 x n C ( ) = 0 D ( ) = X 0 - x n w E ( ) = 0 F ( ) = 0 G ( ) = Y 1 - Y 0 y e H ( ) = Y 0 - y n w [ Equation 17 ] If xe≠xw and yn≠ys, then the parameters can be found by: A ( ) = z h n x m B ( ) = - y h n x m C ( ) = x h n x m D ( ) = X 0 - ( ( z h y n w - y h ) x n w + x h y n w ) n x m E ( ) = - z v n y m F ( ) = y v n y m G ( ) = - x v n y m H ( ) = Y 0 + ( ( z v y n w - y v ) x n w + x v y n w ) n y m [ Equation 18 ] When actually solving the equations, because the values of a, b, c, e, f, and g are small and high precision is demanded, if using real numbers in the calculations of the CPU 503 or performing simultaneous calculation for high speed by 32 bit integral calculation, it is realistic to keep a, b, c, e, f, and h are kept as approximate values of 104 and to divide by the same value during correction.
Next, in step S1006, the calculated coordinates correction parameters are output to the ROM writer 910, written in the flush ROM 911 and kept. When step S1006 is completed it returns to step S1001.
When the calculation of the coordinates correction parameters in step S1002 is completed, in other words when it is determined that the coordinates correction parameters are already written in and kept in the flush ROM 910 as the parameter keeping means 1008, it moves to step S1007. In this case, it performs the processes from step S1007 and following, deciding that the coordinates input of step S1001 is not input for coordinates correction parameter calculation but for performing normal functions.
Steps S1007 and S1008 perform their processes as the input coordinates correction means. In other words, first the coordinates correction parameters a, b, c, d, e, f, g, and h are read from the flush ROM 911 in step S1007.
Next, correction of the input coordinates is performed in step S1008 using the parameters read as above. Here the corrected coordinates (X, Y) are found by substituting the values of the read parameters a to h for the input coordinates (x, y) in the basic correction formula given above:
Next, in step S1009 the corrected coordinates data (X, Y) is written in VRAM 907 as display data and displayed and output to the liquid crystal display 909 via the display controller 908. Thus the process is completed.
By performing the above flowchart operations, the coordinates correction parameters are calculated and kept, the input coordinates are corrected using these parameters, and the function of the coordinates input apparatus can be fulfilled.
Here, the operations the operator of the apparatus performs in order to calculate the coordinates correction parameters are extremely simple, being merely to indicate (contact) each of the four reference point marks 703 to 706 displayed on the coordinates input area 702 of the apparatus with a coordinates input indication tool in the form of a pen, for example. The coordinates correction parameters a, b, c, d, e, f, g, and h can be calculated as constants of the nonlinear conversion formulas including the quadratic term (xy):
based on the simple coordinates input.
Thus, because correction of the input coordinates is performed by these nonlinear conversion formulas, even if the electrical characteristic relating to the coordinates detection is not linear due to the quality of the parts of the coordinates input means 801 for example, accurate correction can be performed in response and the coordinates input can be performed with high precision. Further, because the electrical characteristic of the coordinates detection of the coordinates input means 801 does not have to be linear, the production costs of the apparatus can be reduced.
The coordinates input apparatus of the above first through the third embodiments can use a portable information processing apparatus such as a Personal Digital Assistant (PDA) or a notebook personal computer.
FIG. 11 shows one embodiment of a portable information processing apparatus.
The portable information processing apparatus of FIG. 11 comprises a display part 1102 such as a liquid crystal display doubling as the coordinates input part, interfaces with an external apparatus (wireless communication interfaces such as an IrDA or wire communication interfaces such as an RS-422) 1103 and 1104, a coordinates input indication pen 1106, a storage part 1105 for storing the coordinates input indication pen in the main body, buttons 1107 to 1109 used as directional keys or decision buttons, and a memory medium slot 1110 for a memory medium such as a flush memory or a floppy disk.
Reference point marks such as those shown in FIG. 7 are displayed on the display part 1102 of the portable information processing apparatus 1101 and the processes indicated in Embodiments 1 to 3 can be performed by indicating these reference point marks with the coordinates input indication pen 1106.
A program corresponding to each of the flowcharts shown in Embodiments 1 to 3 can also be stored in advance in the memory medium housed in the portable information processing apparatus 1101 or the program can be executable by attaching a memory medium holding the program to the memory medium slot 1110. Further, the program can be executable supplied from an external apparatus through the interface 1103 (or 1104). In this case, the external apparatus (sending apparatus) which sends the program comprises the present invention because the supplied program itself is the embodiment.
The portable information processing apparatus 1101 can be connected to an external apparatus using the interfaces 1103 or 1104 with an external apparatus. FIG. 12 shows one embodiment of connection with an external apparatus.
In FIG. 12, the portable information processing apparatus 1101 can be connected to information processing apparatuses 1202 and 1203 such as personal computers through a wireless or wire network 1204.
Further, the information processing apparatus 1202 (or 1203) can be used as the coordinates correction parameter calculation apparatus. In this case, the information processing apparatus 1202 is made such that it can receive the coordinates input from the portable information processing apparatus 1101 through the network or such, calculate the coordinates correction parameters, and store them on a flush ROM or the like (not shown in the Figure) within the portable information processing apparatus 1101 again through the network or the like. The information processing apparatus 1202 could also be made to store the calculated coordinates correction parameters in a memory medium such as a flush memory and supply the coordinates correction parameters to the portable information processing apparatus 1101 by attaching the memory medium to the memory medium slot 1110.
As is clear from the above description, according to the Embodiments 1 to 4, in a coordinates correction apparatus, a coordinates correction method, and a memory medium that can be read by a computer storing a control program for the coordinates correction process, quadratic nonlinear conversion constants are kept as parameters for correcting input coordinates, and the input coordinates are corrected by the quadratic nonlinear conversion using these parameters, so that even if the coordinates detection characteristic is not linear due to such factors as the quality of the parts of the coordinates input part of the coordinates input apparatus, correction of the input coordinates can be accurately performed in response and highly precise coordinates input can be performed.
Further, according to the Embodiments 1 to 4, calculation of coordinates correction parameters for performing highly precise correction of input coordinates can be performed with a simple, low-cost construction even if the electrical characteristic of the coordinates detection of the coordinates input apparatus is not linear, and as a result the production costs of the coordinates input apparatus for performing correction of input coordinates using the calculated coordinates correction parameters can be reduced.
Further, according to Embodiments 1 to 4, coordinates correction parameters can be calculated as nonlinear conversion correction formula constants based on simple coordinates input merely by indicating four reference points established on a coordinates input area.
Further, by performing correction of input coordinates with nonlinear conversion correction formulas using the calculated coordinates correction parameters, even if the electrical characteristic of the coordinates detection of the coordinates input part is not linear, suitable correction of the user's input and highly precise coordinates input can be performed. The production costs of the device can be further reduced.
Patent CitationsCited PatentFiling datePublication dateApplicantTitleUS4650926 *Jun 7, 1985Mar 17, 1987Scriptel CorporationElectrographic system and methodUS5113251 *Feb 22, 1990May 12, 1992Fuji Xerox Co.Editing control system and area editing system for image processing equipmentUS5425109 *Sep 24, 1993Jun 13, 1995Mutoh Industries Ltd.System for identifying freehand drawingsUS5621438 *Oct 12, 1993Apr 15, 1997Hitachi, Ltd.Pointing information processing apparatus with pointing functionUS5777898 *Aug 19, 1996Jul 7, 1998Symbios Logic Inc.Method and apparatus for aligning a digitizing panel with a display deviceUS5940064 *Jul 3, 1997Aug 17, 1999Matsushita Electric Industrial Co., Inc.Display-integrated coordinate input deviceUS5940065 *Mar 15, 1996Aug 17, 1999Elo Touchsystems, Inc.Algorithmic compensation system and method therefor for a touch sensor panelUS5963194 *Sep 20, 1996Oct 5, 1999Alps Electric Co. Ltd.Apparatus for inclination detection and input apparatus using this apparatusUS6016140 *Oct 29, 1997Jan 18, 2000Nortel Networks CorporationAutomatic touch screen calibrationUS6077310 *Jan 29, 1999Jun 20, 2000Kabushiki Kaisha ToshibaOptical proximity correction systemUS6133905 *Jun 25, 1998Oct 17, 2000Sharp Kabushiki KaishaInput apparatus and input methodUS6195068 *Jan 12, 1999Feb 27, 2001Fujitsu LimitedImage display systemUS6229529 *Jul 1, 1998May 8, 2001Ricoh Company, Ltd.Write point detecting circuit to detect multiple write pointsUS6320614 *Feb 2, 1996Nov 20, 2001Canon Kabushiki KaishaImage communication apparatus for controlling a mechanical motion of a communication partnerUS6339748 *Nov 5, 1998Jan 15, 2002Seiko Epson CorporationCoordinate input system and display apparatusJP2517664A Title not availableJPH05313822A Title not availableJPH08171451A Title not available* Cited by examinerReferenced byCiting PatentFiling datePublication dateApplicantTitleUS8248365 *Apr 21, 2008Aug 21, 2012Microsoft CorporationSystem and method for acquiring a target with intelligent pointer movementUS9069430 *Dec 13, 2013Jun 30, 2015Cirque CorporationFail safe design for a stylus that is used with a touch sensorUS20080198130 *Apr 21, 2008Aug 21, 2008Microsoft CorporationSystem and method for acquiring a target with intelligent pointer movementUS20140168156 *Dec 13, 2013Jun 19, 2014Cirque CorporationFail safe design for a stylus that is used with a touch sensor* Cited by examinerClassifications U.S. Classification178/18.02, 382/295, 345/157, 345/174, 178/18.03, 382/294, 345/175, 382/291, 178/18.01, 345/162, 345/179, 396/188, 345/158International ClassificationG06F3/041, G06F3/033, G08C21/00, G06F3/048Cooperative ClassificationG06F3/0418European ClassificationG06F3/041T2Legal EventsDateCodeEventDescriptionMar 8, 2000ASAssignmentOwner name: CANON KABUSHIKI KAISHA, JAPANFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:FUKUDA, RYOJI;REEL/FRAME:010673/0349Effective date: 19991227Jun 17, 2008CCCertificate of correctionAug 12, 2009FPAYFee paymentYear of fee payment: 4Mar 14, 2013FPAYFee paymentYear of fee payment: 8RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services