Digital pen calibration by local linearization
First Claim
1. A method of calibrating a digital pen, which includes a pen tip and a camera, and of mapping a location of a center of a camera-captured image to a location of the pen tip, the method comprising:
- generating a calibration parameter based on a plurality of images captured by the digital pen'"'"'s camera by placing the pen in a plurality of different orientations while keeping the pen tip at a substantially fixed location Lpentip on a positionally encoded surface, wherein the calibration parameter is generated based on a plurality of iteratively generated estimates of the calibration parameter, wherein the iteratively generated estimates are based on a gradient of an error function of the iteratively generated estimates;
using the calibration parameter to map the location of the center of the camera-captured image to the location of the pen tip so that a stroke written by a user on the positionally encoded surface can be recovered at a location within an electronic copy of the positionally encoded surface, wherein the position of the recovered stroke within the electronic copy corresponds to a plurality of locations of the pen tip as the user was writing the stroke on the positionally encoded surface; and
finding a fixed point
p=(p1 p2 1)t,such that is minimized, given for each of the plurality of captured images.
2 Assignments
0 Petitions
Accused Products
Abstract
X-y positions of a digital pen'"'"'s tip may be determined by using a calibration parameter to map the x-y positions of the respective centers of images captured by the pen'"'"'s camera. The calibration parameter may be generated by iteratively calculating estimates of the calibration parameter. The iteratively calculated estimates may be based on a gradient of an error function of the iteratively generated estimates. Calibration input data may be produced by a user placing the pen tip in a fixed location on a surface, which may be a positionally encoded medium, such as paper, and then rotating the pen and/or moving the opposite end of the pen in various directions to capture multiple images for use in generating the calibration parameter. A user may perform such a calibration procedure without the need for complicated calibration equipment typically used in connection with conventional calibration techniques.
55 Citations
15 Claims
-
1. A method of calibrating a digital pen, which includes a pen tip and a camera, and of mapping a location of a center of a camera-captured image to a location of the pen tip, the method comprising:
-
generating a calibration parameter based on a plurality of images captured by the digital pen'"'"'s camera by placing the pen in a plurality of different orientations while keeping the pen tip at a substantially fixed location Lpentip on a positionally encoded surface, wherein the calibration parameter is generated based on a plurality of iteratively generated estimates of the calibration parameter, wherein the iteratively generated estimates are based on a gradient of an error function of the iteratively generated estimates; using the calibration parameter to map the location of the center of the camera-captured image to the location of the pen tip so that a stroke written by a user on the positionally encoded surface can be recovered at a location within an electronic copy of the positionally encoded surface, wherein the position of the recovered stroke within the electronic copy corresponds to a plurality of locations of the pen tip as the user was writing the stroke on the positionally encoded surface; and finding a fixed point
p=(p1 p2 1)t,such that is minimized, given for each of the plurality of captured images. - View Dependent Claims (2, 3, 4, 5)
-
-
3. The method of claim 2, further comprising:
- updating p in accordance with
p(k+1)=p(k)+δ
pwhere
- updating p in accordance with
-
4. The method of claim 3, further comprising:
- repeating the step of claim 5 a plurality of times such that p converges to a substantially accurate result.
-
5. The method of claim 4, further comprising:
- using p as the calibration parameter for mapping the location of the center of the camera-captured image to the location of the pen tip.
-
6. A computer-readable medium containing computer-executable instructions that generate a calibration parameter for a digital pen, which includes a pen tip and a camera, wherein mapping, the location of the image center to the location of the tip of the pen on a positionally encoded surface, depends on the calibration parameter, by performing steps comprising:
- generating the calibration parameter based on a plurality of images captured by the digital pen'"'"'s camera by placing the pen in a plurality of different orientations while keeping the pen tip at a fixed location Lpentip, on the positionally encoded surface, wherein the calibration parameter is generated based on a plurality of iteratively generated estimates of the calibration parameter, wherein the iteratively generated estimates are based on a gradient of an error function of the iteratively generated estimates, and finding a fixed point
p=(p1 p2 1)t,such that is minimized, given for each of the plurality of captured images. - View Dependent Claims (7, 8)
- generating the calibration parameter based on a plurality of images captured by the digital pen'"'"'s camera by placing the pen in a plurality of different orientations while keeping the pen tip at a fixed location Lpentip, on the positionally encoded surface, wherein the calibration parameter is generated based on a plurality of iteratively generated estimates of the calibration parameter, wherein the iteratively generated estimates are based on a gradient of an error function of the iteratively generated estimates, and finding a fixed point
-
8. The computer-readable medium of claim 7, containing further computer-executable instructions for updating p in accordance with
p(k+1)=p(k)+δ- p
where
- p
-
11. A system that calibrates a digital pen, which includes a pen tip and a camera, and that maps a location of a center of a camera-captured image to a location of the pen tip, the system comprising:
-
a calibration module that generates a calibration parameter based on a plurality of images captured by the digital pen'"'"'s camera with the pen in a plurality of different orientations while the pen tip is at a substantially fixed location Lpentip on the positionally encoded surface, wherein the calibration parameter is generated based on a plurality of iteratively generated estimates of the calibration parameter, wherein the iteratively generated estimates are based on a gradient of an error function of the iteratively generated estimates; and a mapping module that uses the calibration parameter to map the location of the center of the camera-captured image to the location of the pen tip so that a stroke written by a user on the positionally encoded surface can be recovered at a location within an electronic copy of the positionally encoded surface, wherein the position of the recovered stroke within the electronic copy corresponds to a plurality of locations of the pen tip as the user was writing the stroke on the positionally encoded surface, wherein the calibration module calculates a transform FS→
P and an inverse transform FP→
S=FS→
P−
1, by image matching, for each image of the plurality of captured images,wherein the calibration module finds a fixed point
p=(p1 p2 1)t,such that is minimized, given for each of the plurality of captured images. - View Dependent Claims (9, 10, 12, 13, 14, 15)
-
-
13. The system of claim 12, wherein the calibration module updates p in accordance with
p(k+1)=p(k)+δ- p
where
- p
-
14. The system of claim 13, wherein, the calibration module repeats the calculations of claim 13 a plurality of times such that the estimate of p converges to a substantially accurate result.
-
15. The system of claim 14, wherein, the calibration module outputs p as the calibration parameter for use by the mapping module to map the recovered image-center stroke to the recovered pen-tip stroke.
Specification