6DoF inside-out tracking game controller
10843068 ยท 2020-11-24
Assignee
Inventors
Cpc classification
A63F13/211
HUMAN NECESSITIES
A63F13/213
HUMAN NECESSITIES
International classification
Abstract
Methods and apparatus are provided for 6DoF inside-out tracking game control. In one novel aspect, a multi-processor architecture is used for VI-SLAM. In one embodiment, the apparatus obtains overlapping image frames and sensor inputs of an apparatus, wherein the sensor inputs comprise gyrometer data, accelerometer data and magnetometer data, splits computation work onto a plurality of vector processors to obtain six degree of freedom (6DoF) outputs of the apparatus based on a splitting algorithm, and performs a localization process to generate 6DoF estimations, and a mapping process to generate a cloud of three-dimensional points associated to the descriptors of the map. In one embodiment, the localization process and mapping process are configured to run sequentially. In another embodiment, the localization process and mapping process are configured to run in parallel.
Claims
1. An apparatus, comprising: a plurality of cameras mounted on an outer case of the apparatus, wherein the plurality of cameras generates overlapping views to be processed by the apparatus; an inertial measurement unit (IMU) that detects movements, rotations, and magnetic headings of the apparatus; and a multi-processor controller that generates series of six degree of freedom (6DoF) outputs of the apparatus based on sensor inputs of the plurality of the cameras and the IMU, wherein each 6DoF output comprising six dimensions of the apparatus including three dimensions of an orientation in a rotation space and three dimensions translated in a 3D space, wherein the multi-processor controller comprising one or more management processors and a plurality of vector processors, and wherein the one or more management processors splits computation work of the 6DoF outputs onto the plurality of vector processors based on a splitting algorithm and the sensor inputs.
2. The apparatus of claim 1, wherein the IMU comprising one or more triaxial sensors, one or more low-g acceleration sensors, one or more triaxial angular rate sensors and one or more triaxial geomagnetic sensors.
3. The apparatus of claim 1, wherein the IMU is an integrated nine-axis sensor.
4. The apparatus of claim 1, wherein the plurality of vector processors are configured to perform a localization process and a mapping process, and wherein the localization process generates 6DoF estimations, and wherein the mapping process generates a cloud of three-dimensional points associated to the descriptors of the map.
5. The apparatus of claim 4, wherein the localization process involves: detecting and extracting feature points of a current frame; matching feature points to associating 3D points of a map and generating a list of descriptor pairs associating feature points with its associating 3D points of the map; and estimating the 6DoF output of the current apparatus.
6. The apparatus of claim 5, wherein the detecting and extracting involves: dividing a current frame in N equal part; and each of a set of selected vector processors processes a portion of the current frame based on a split-by-corner rule, and wherein the split-by-corner rule determining whether each pixel of is a corner and classifying each pixel determined to a corner to a compressed descriptor by converting each sub-image centered by the pixel to a 16-float descriptor using a base matrix.
7. The apparatus of claim 4, wherein the mapping process involves: matching feature points from the localization process with a subset of feature points map using a cross matching algorithm; and optimizing poses and 3D points of a map.
8. The apparatus of claim 4, wherein the localization process and mapping process are configured to run sequentially, wherein the localization process is split over all of the vector processors and the mapping process is split over all the vector processors.
9. The apparatus of claim 4, wherein the localization process and mapping process are configured to run in parallel, wherein the localization process is split over a first subset of the vector processors and the mapping process is split over the rest subset of the vector processors.
10. The apparatus of claim 1, wherein the 6DoF outputs is in one format selecting from an output format group comprising: six floating point values with three for the translated 3D space and three for the rotation space, twelve floating point values with three for the translated 3D space and nine for the rotation space, six fix point values with three for the translated 3D space and three for the rotation space, and twelve fix point values with three for the translated 3D space and nine for the rotation space.
11. A method, comprising: obtaining overlapping image frames and sensor inputs of an apparatus, wherein the sensor inputs comprise gyrometer data, accelerometer data and magnetometer data; splitting computation work onto a plurality of vector processors to obtain six degree of freedom (6DoF) outputs of the apparatus based on a splitting algorithm; and performing a localization process to generate 6DoF estimations, and a mapping process to generate a cloud of three-dimensional points associated to the descriptors of the map.
12. The method of claim 11, wherein the splitting algorithm involves: dividing a current frame in N equal part; and each of a set of selected vector processors processes a portion of the current frame based on a split-by-corner rule, and wherein the split-by-corner rule determining whether each pixel of is a corner and classifying each pixel determined to a corner to a compressed descriptor by converting each sub-image centered by the pixel to a 16-float descriptor using a base matrix.
13. The method of claim 11, wherein the localization process and mapping process are configured to run sequentially, wherein the localization process is split over all of the vector processors and the mapping process is split over all the vector processors.
14. The method of claim 11, wherein the localization process and mapping process are configured to run in parallel, wherein the localization process is split over a first subset of the vector processors and the mapping process is split over the rest subset of the vector processors.
15. The method of claim 11, wherein the 6DoF outputs is in one format selecting from an output format group comprising: six floating point values with three for the translated 3D space and three for the rotation space, twelve floating point values with three for the translated 3D space and nine for the rotation space, six fix point values with three for the translated 3D space and three for the rotation space, and twelve fix point values with three for the translated 3D space and nine for the rotation space.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying drawings, where like numerals indicate like components, illustrate embodiments of the invention.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11) Reference will now be made in detail to some embodiments of the invention, examples of which are illustrated in the accompanying drawings.
(12)
(13) Game controller 100 also includes an inertial measurement unit (IMU) 131, an optional external memory card (SD Card) 132 Other embodiments and advantages are described in the detailed description below. This summary does not purport to define the invention. The invention is defined by the claims, and one or more wireless interface 133, such as a WiFi interface, a Bluetooth interface. An interface module 111 communicates and controls the sensors, IMU 131, SD 132, and the wireless interface, such WiFi 133 and Bluetooth 134. A hardware accelerator and image signal processing unit 112 helps image processing of the sensor inputs. IMU 131 detects of movements and rotations and magnetic heading of game controller 100. In one embodiment, IMU 131 is an integrated 9-axis sensor for the detection of movements and rotations and magnetic heading. It comprises a triaxial, low-g acceleration sensor, a triaxial angular rate sensor and a triaxial geomagnetic sensor. IMU 131 senses orientation, angular velocity, and linear acceleration of game controller 100. In one embodiment, game controller 100 processes data of an IMU frame rate of at least 500 Hz.
(14) In one embodiment, a plurality of cameras are mounted on the outer case of the game controller to generate overlapping views for the game controller. Using multiple cameras with overlapping view has many advantages compared to monocular solution, such as the scale factor of the 3D motion does not drift, the 3D points seen on the overlapping area can be triangulated without a motion of the device, the matching on the overlapping area is faster and more accurate using the epipolar geometry, the global field of view is wider which increase the accuracy and reduce the jittering.
(15)
(16)
(17)
(18) In one novel aspect, the VI-SLAM algorithm is split to run on a plurality of processors based on a splitting algorithm and the sensor inputs.
(19)
(20) In one embodiment, the feature detection and extraction procedure 510 is split to be run on N vector processors following the splitting rule. Step 511 divides the current frame to be processes into N equals part. Step 512 assign each frame part to a corresponding vector processor. Each processor processes one part of the frame following a predefine algorithm. First, a corner is determined. For each pixel p.sub.i described by a 2D coordinate in the image, and an adjustable threshold t, p.sub.i is determined to be a corner if there exist a set of K contiguous pixels in the neighbor circle, which are all brighter than (p.sub.i+t) or all darker than (p.sub.it). In some embodiment, threshold t is in the range of 5<t<200. In another embodiment, the K is in the range of 5<K<13. In yet another embodiment, the neighbor circle has a radius of three pixels. Subsequently, at the second step, each corner pixel p.sub.i is classified, using a nn sub-image centered on p.sub.i, to a compressed descriptor. This is done using a base matrix to convert each sub-image to a 16 floats descriptor. The base matrix is computed with a singular value decomposition on a large set of selected features. In one embodiment, the nn sub-image is 1111. Let P=(p.sub.1, . . . , p.sub.n) the list of features points (2D coordinate in the image) detected from the current frame. Let D=(d.sub.1, . . . , d.sub.n) the list of descriptors associated pair with each feature point with its associated descriptor.
(21) In another embodiment, the matching procedure 520 is split onto N vector processors. Step 521 splits the descriptor list into N parts. In one embodiment, the descriptor list is equally split into N part. Step 522 performs descriptor matching for each descriptor D.sub.i by matching D.sub.i with a subset of the map descriptors. The descriptors are split in N equal range. For each vector process i, a matching algorithm applies for Di. The processor i (0<i<N+1) run the matching algorithm on the range D.sub.i, The descriptors D.sub.i are matched with a subset of the descriptors of the map LocalMap (subset of the map), using the cross-matching method: each match is a pair of descriptor (d.sub.a, d.sub.b) such as d.sub.a is the best candidate for d.sub.b among the descriptors D.sub.i of the current frame and d.sub.b is the best candidate for d.sub.a among the descriptors of the map LocalMap. Some of the descriptors of the map are associated to some 3D points geo-referenced in world (this 3D estimation is performed by the mapping algorithm). So the matching associates each descriptor d.sub.i de D to a 3D point p3d of the LocalMap. The output of the matching is a list of descriptor pairs associating the features points P to the 3D points of the map: M.sub.i=((p.sub.1,p3d.sub.1), . . . , (p.sub.n,p3d.sub.n)).
(22) In yet another embodiment, estimation 6DoF procedure 530 is split onto N processors. The input of this step is the N lists M.sub.i (from the matching). The 6DoF estimation minimizes, for each pair (p.sub.i,p3d.sub.i) in M, the difference in 2D between the projected of p3d.sub.i in the current frame and p.sub.i. This minimization is performed with the non-linear least square algorithm Levenberg-Marquardt combined with the M-Estimator (robust method) of Geman-McClure. The robust method of Levenberg-Marquard is used on N processors. Once split, each processor i computes the reprojection error of all the elements of Mi:Ei, computes the Jacobian error function of all elements of Mi:Ji. Subsequently, the total number of N Ei in E and the total number of N Ji in J are merged with concatenation. The median of the absolute different of E (MAD) is computed. The estimation of 6DoF is obtained by solving the linear system of (J.sup.TJ) X=J.sup.TE.Math.MAD, where X is the update of the 6DoF.
(23)
(24) In one novel aspect, using the multi-processor processors architect, the efficiencies of the localization process and the mapping process are greatly improved.
(25)
(26)
(27)
(28) Although the present invention has been described in connection with certain specific embodiments for instructional purposes, the present invention is not limited thereto. Accordingly, various modifications, adaptations, and combinations of various features of the described embodiments can be practiced without departing from the scope of the invention as set forth in the claims.