Movement prediction for image capture
First Claim
1. A computer-implemented method of tracking motion of a target object via a computing device, comprising:
- tracking a respective orientation of the computing device over at least a period of time using at least one embedded sensor of the computing device;
capturing a first image using a camera of the computing device at a first time, the first image including a representation of the target object and a respective representation of one or more background elements;
capturing a second image using the camera of the computing device at a second time, the second image including the representation of the target object and the respective representation of the one or more background elements;
calculating, an angular change in orientation of the computing device between the first time and the second time using the respective orientation tracked by the at least one embedded sensor between the first time and the second time;
calculating, a first number of pixels corresponding to a first shift of the respective representation of the one or more background elements in the second image with respect to the respective representation of the one or more background elements in the first image based at least in part upon the angular change in orientation;
calculating a second number of pixels corresponding to a second shift of the respective representation of the one or more background elements in the first image with respect to the respective representation of the one or more background elements in the second image based at least in part upon the angular change in orientation;
generating a third image by a first shifting of second intensity and color values of the second image by the first number of pixels to align the respective representation of the one or more background elements in the first image and the third image;
generating a fourth image by a second shifting of first intensity and color values of the first image by the second number of pixels to align the respective representation of the one or more background elements in the second image and the fourth image;
substantially removing the respective representation of the one or more background elements from;
(a) the first image by subtracting third intensity and color values of the third image from the first intensity and color values of the first image and (b) the second image by subtracting fourth intensity and color values of the fourth image from the second intensity and color values of the second image; and
determining the motion of the target object based on the first image and the second image each with the respective representation of the one or more background elements substantially removed.
1 Assignment
0 Petitions
Accused Products
Abstract
A camera of a computing device can capture two or more images of a region including an object of interest, in order to allow for separation of the object from a background of the images through a process such as image subtraction. In order to compensate for rotations of the device between image captures, an element such as an electronic gyroscope can be used to monitor changes in orientation and predict an amount of shift of objects between images. The predicted shift can be used to attempt to align images captured around the time of the rotation, in order to enable subtraction or similar processes by effectively removing the shifting effect of the rotation.
37 Citations
21 Claims
-
1. A computer-implemented method of tracking motion of a target object via a computing device, comprising:
-
tracking a respective orientation of the computing device over at least a period of time using at least one embedded sensor of the computing device; capturing a first image using a camera of the computing device at a first time, the first image including a representation of the target object and a respective representation of one or more background elements; capturing a second image using the camera of the computing device at a second time, the second image including the representation of the target object and the respective representation of the one or more background elements; calculating, an angular change in orientation of the computing device between the first time and the second time using the respective orientation tracked by the at least one embedded sensor between the first time and the second time; calculating, a first number of pixels corresponding to a first shift of the respective representation of the one or more background elements in the second image with respect to the respective representation of the one or more background elements in the first image based at least in part upon the angular change in orientation; calculating a second number of pixels corresponding to a second shift of the respective representation of the one or more background elements in the first image with respect to the respective representation of the one or more background elements in the second image based at least in part upon the angular change in orientation; generating a third image by a first shifting of second intensity and color values of the second image by the first number of pixels to align the respective representation of the one or more background elements in the first image and the third image; generating a fourth image by a second shifting of first intensity and color values of the first image by the second number of pixels to align the respective representation of the one or more background elements in the second image and the fourth image; substantially removing the respective representation of the one or more background elements from;
(a) the first image by subtracting third intensity and color values of the third image from the first intensity and color values of the first image and (b) the second image by subtracting fourth intensity and color values of the fourth image from the second intensity and color values of the second image; anddetermining the motion of the target object based on the first image and the second image each with the respective representation of the one or more background elements substantially removed. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method of providing input to an electronic device, comprising:
-
obtaining a first image and a second image each including a representation of an object and a respective representation of one or more background elements using a camera of the electronic device, the first image being captured at a first time and the second image being captured at a second time; determining, using information generated by at least one embedded sensor of the electronic device, at least a rotational change in orientation of the electronic device between the first time and the second time; estimating a first amount of image shift of the second image relative to the first image and a second amount of image shift of the first image relative to the second image due at least in part to the rotational change; substantially removing the respective representation of the one or more background elements from;
(a) the first image using a first mapping of respective image information of the first image and the second image and (b) the second image using a second mapping of the respective information of the first image and the second image, the first mapping being based at least in part upon the first amount of image shift, and the second mapping being based at least in part upon the second amount of image shift; anddetermining motion of the object based on the first image and the second image each with the respective representation of the one or more background elements substantially removed. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computing device, comprising:
-
a device processor; a camera; an embedded sensor; and a memory device including instructions that, upon being executed by the processor, cause the computing device to; obtain a first image and a second image using the camera, the first image being captured at a first time and the second image being captured at a second time, the first image and the second image each including a representation of an object and a respective representation of one or more background elements; determine a rotational change in orientation of the computing device during a period including the first time and the second time using the embedded sensor; estimate a first amount of image shift of the second image relative to the first image and a second amount of image shift of the first image relative to the second image based at least in part upon the rotational change; minimize the respective representation of the one or more background elements in;
(a) the first image using a first map of respective image information of the first image and the second image and (b) the second image using a second map of the respective image information of the first image and the second image, the first map being based at least in part upon the first amount of image shift, and the second map being based at least in part upon the second amount of image shift; anddetermine motion of the object based on the first image and the second image each with the respective representation of each of the one or more background elements minimized. - View Dependent Claims (17, 18)
-
-
19. A non-transitory computer-readable storage medium storing instructions that, upon being executed by a processor, cause the processor to:
-
obtain a first image and a second image each including a representation of an object and a respective representation of one or more background elements using a camera of an electronic device, the first image being captured at a first time and the second image being captured at a second time; determine, using information generated by at least one embedded sensor, at least a rotational change in orientation of the electronic device between the first time and the second time; estimate a first amount of image shift of the second image relative to the first image and a second amount of image shift of the first image relative to the second image based at least in part upon the rotational change in orientation; substantially remove the respective representation of the one or more background elements in;
(a) the first image using a first mapping of respective image data of the first image and the second image and (b) the second image using a second mapping of the respective information of the first image and the second image, the first mapping being based at least in part upon the first amount of image shift, and the second mapping being based at least in part upon the second amount of image shift; anddetermine motion of the object based on the first image and the second image each with the respective representation of the one or more background elements substantially removed. - View Dependent Claims (20, 21)
-
Specification