Algorithm to estimate yaw errors in camera pose
First Claim
Patent Images
1. A method comprising:
- receiving, using one or more computing devices, a preview image of an object;
performing, using the one or more computing devices, line detection on the preview image to detect a plurality of lines, the plurality of lines including a first line and a second line;
determining, using the one or more computing devices, a first height between the first line and the second line at a first point in the preview image;
determining using the one or more computing devices a second height between the first line and the second line at a second point in the preview image;
computing, using the one or more computing devices, a line parameterization for the plurality of lines by calculating a first distance from a capture device point to the first point in the preview image, calculating a second distance from the capture device point to the second point in the preview image and determining one or more of start points end points and point and slope of the first line and the second line;
calculating, using the one or more computing devices, a yaw angle using the line parameterization; and
correcting, using the one or more computing devices, the preview image of the object using the yaw angle to adjust the preview image and remove a portion of an error introduced by the yaw angle.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method that calculates a yaw error in an image and provides a user interface to a user for correcting the yaw error. The method includes receiving an image, performing line detection in the image, computing a line parameterization for lines in the image, computing a yaw angle for the image and providing the yaw data calculated in the image.
35 Citations
19 Claims
-
1. A method comprising:
-
receiving, using one or more computing devices, a preview image of an object; performing, using the one or more computing devices, line detection on the preview image to detect a plurality of lines, the plurality of lines including a first line and a second line; determining, using the one or more computing devices, a first height between the first line and the second line at a first point in the preview image; determining using the one or more computing devices a second height between the first line and the second line at a second point in the preview image; computing, using the one or more computing devices, a line parameterization for the plurality of lines by calculating a first distance from a capture device point to the first point in the preview image, calculating a second distance from the capture device point to the second point in the preview image and determining one or more of start points end points and point and slope of the first line and the second line; calculating, using the one or more computing devices, a yaw angle using the line parameterization; and correcting, using the one or more computing devices, the preview image of the object using the yaw angle to adjust the preview image and remove a portion of an error introduced by the yaw angle. - View Dependent Claims (2, 3, 4, 5, 6, 16)
-
-
7. A system comprising:
-
a processor; and a memory storing instructions that, when executed, cause the system to; receive a preview image of an object; perform line detection on the preview image to detect a plurality of lines the plurality of lines including a first line and a second line; determine a first height between the first line and the second line at a first point in the preview image; determine a second height between the first line and the second line at a second point in the preview image; compute a line parameterization for the plurality of lines by calculating a first distance from a capture device to the first point in the preview image, calculating a second distance from the capture device to the second point in the preview image, and determining one or more of start points, end points and point and slope of the first line and the second line; calculate a yaw angle using the line parameterization; and correct the preview image of the object using the yaw angle to adjust the preview image and remove a portion of an error introduced by the yaw angle. - View Dependent Claims (8, 9, 10, 11, 19)
-
-
12. A computer program product comprising a non-transitory computer useable medium including a computer readable program, wherein the computer readable program when executed on a computer cause the computer to:
-
receive a preview image of an object; perform line detection on the preview image to detect a plurality of lines, the plurality of lines including a first line and a second line; determine a first height between the first line and the second line at a first point in the preview image; determine a second height between the first line and the second line at a second point in the preview image; compute a line parameterization for the plurality of lines by calculating a first distance from a capture device point to the first point in the preview image, calculating a second distance from the capture device point to the second point in the preview image, and determining one or more of start points, end points, and point and slope of the first line and the second line; calculate a yaw angle using the line parameterization; and correct the preview image of the object using the yaw angle to adjust the preview image and remove a portion of an error introduced by the yaw angle. - View Dependent Claims (13, 14, 15, 17, 18)
-
Specification