This application claims the benefit under 35 USC § 119(a) of Chinese Patent Application No. 201810148359.1 filed on Feb. 12, 2018, in the State Intellectual Property Office of the P.R.C. and Korean Patent Application No. 10-2018-0050747 filed on May 2, 2018, in the Korean Intellectual Property Office, the entire disclosures of which are incorporated herein by reference for all purposes.
The following description relates to a device and method with a pose estimator, and more particularly, to a device and method with a pose estimator using an inertial measurement unit (IMU).
Display technologies such as virtual reality (VR) displays and augmented reality (AR) displays may enable a user to feel an output image as if it is real. Through such technologies, a user may experience computer-generated perceptual information with the physical world in an immersive environment. For an image to be provided to a user through the VR or AR display, the real-time property of the image may be an important factor. For an output image to closely mimic a user's pose, detecting an exact current pose of the user may be desired. In this case, when the output image lags a real-time pose, the user may experience inconvenience due to an error between the pose of the user and the output image, and represents a technological failing of the underlying device and the system.
In situations where a wearable device is used to detect a pose of a user, a tight coupling method is used to detect the pose of the device using many sensors may be relatively highly accurate. However, such tight coupling method may result in delay because of calculations and/or computations complexity due to the amount of data and many constraints to be considered.
This Summary is provided to introduce a selection of concepts in a simplified form that is further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
An aspect provides a method of estimating a position of a device, and the device.
Another aspect also provides a method of estimating a position of a device using a loose coupling method, and the device.
In one general aspect, a processor-implemented method of estimating a pose of a device to be performed by the device includes generating, using an inertial measurement unit (IMU) of the device, IMU data, determining a first pose of the device based on the IMU data, generating a current predicted motion state array based on the IMU data, and estimating an M-th predicted pose of the device at an M-th time point after a first time point of the first pose based on the current predicted motion state array.
The generating of the current predicted motion state array may include smoothing the IMU data, generating a first motion state vector at the first time point based on the smoothed IMU data, determining an N-th predicted motion state vector at an N-th time point based on the first motion state vector, and generating the current predicted motion state array based on a motion model, a previous predicted motion state array, and the N-th predicted motion state vector.
The generating of the first motion state vector may include generating the first motion state vector by correcting the smoothed IMU data based on a difference between the first pose and a first predicted pose that is estimated in advance.
The determining of the N-th predicted motion state vector may include generating the N-th predicted motion state vector using a long-short-term memory (LSTM)-type recurrent neural network (RNN) using the first motion state vector as input.
The generating of the first motion state vector may include determining a frequency of generation of the first motion state vector based on at least one of ocular movement velocity of a user of the device or a head movement velocity of the user.
The method may further include determining whether the device is in a static state based on the IMU data. The determining of the first pose of the device may include determining the first pose based on whether the device is in the static state.
The method may further include generating a virtual object to be output at the M-th time point, and outputting the virtual object.
The method may further include adjusting the virtual object based on a pose change of the device occurring during a period for rendering of the virtual object.
The outputting of the virtual object may include outputting the virtual object such that an image at the M-th time point and the virtual object are synthesized.
The virtual object may be a holographic image.
The method may further include generating a map of a space around the device, determining an initial pose of the device using the generated map, and determining whether the device is in a static state based on the IMU data. The first pose may be determined when the device is in the static state.
The generating of the map may include generating a left image using a left camera of the device, generating one or more first feature points from the left image, generating a right image using a right camera of the device, generating one or more second feature points from the right image, matching the first feature points and the second feature points, and generating the map based on matched feature points and unmatched feature points between the first feature points and the second feature points.
The determining of the initial pose may include generating one or more feature points from an image generated by at least one of the left camera or tje right camera of the device, determining a target feature point corresponding to the one or more feature points among preset candidate feature points in the map, and determining the initial pose based on the target feature point.
The determining of the initial pose may further include determining a remaining feature point that does not correspond to the preset candidate feature points in the map among the one or more feature points, and updating the map by adding, to the map, a feature point corresponding to the remaining feature point.
The device may be a wearable device.
In another general aspect, a device for estimating a pose of the device includes at least one camera, an inertial measurement unit (IMU), and a processor. The processor is configured to generate IMU data using the IMU of the device; determine a first pose of the device based on the IMU data; generate a current predicted motion state array based on the IMU data; estimate an M-th predicted pose at an M-th time point after a first time point of the first pose based on the current predicted motion state array, wherein M denotes a natural number greater than 1.
The device may further include a memory storing instructions, which when executed by the processor, cause the processor to implement the generation of the IMU data, the determination of the first pose, the generation of the current predicted motion state array, and the estimation of the M-th predicted pose.
In another general aspect, a processor-implemented method including determining a first pose of a device based on an inertial measurement unit (IMU) data at a first time point; generating a current predicted motion state array based on the IMU data; and estimating a second pose of the device at a second time point after the first time point based on the current predicted motion state array; generating a virtual object to be output at the second time point; and outputting the virtual object.
The generating of the current predicted motion state array may include generating a first motion state vector at the first time point based on the IMU data; determining a predicted motion state vector at a third time point based on the first motion state vector; and generating the current predicted motion state array based on a motion model, a previous predicted motion state array, and the predicted motion state vector.
Other features and aspects will be apparent from the following detailed description, the drawings, and the claims.
Throughout the drawings and the detailed description, unless otherwise described or provided, the same drawing reference numerals will be understood to refer to the same elements, features, and structures. The drawings may not be to scale, and the relative size, proportions, and depiction of elements in the drawings may be exaggerated for clarity, illustration, and convenience.
The following detailed description is provided to assist the reader in gaining a comprehensive understanding of the methods, apparatuses, and/or systems described herein. However, various changes, modifications, and equivalents of the methods, apparatuses, and/or systems described herein will be apparent after an understanding of the disclosure of this application. For example, the sequences of operations described herein are merely examples, and are not limited to those set forth herein, but may be changed as will be apparent after an understanding of the disclosure of this application, with the exception of operations necessarily occurring in a certain order. Also, descriptions of features that are known after an understanding of the disclosure of this application may be omitted for increased clarity and conciseness.
The features described herein may be embodied in different forms, and are not to be construed as being limited to the examples described herein. Rather, the examples described herein have been provided merely to illustrate some of the many possible ways of implementing the methods, apparatuses, and/or systems described herein that will be apparent after an understanding of the disclosure of this application.
Throughout the specification, when an element, such as a layer, region, or substrate, is described as being “on,” “connected to,” or “coupled to” another element, it may be directly “on,” “connected to,” or “coupled to” the other element, or there may be one or more other elements intervening therebetween. In contrast, when an element is described as being “directly on,” “directly connected to,” or “directly coupled to” another element, there can be no other elements intervening therebetween.
As used herein, the term “and/or” includes any one and any combination of any two or more of the associated listed items.
Although terms such as “first,” “second,” and “third” may be used herein to describe various members, components, regions, layers, or sections, these members, components, regions, layers, or sections are not to be limited by these terms. Rather, these terms are only used to distinguish one member, component, region, layer, or section from another member, component, region, layer, or section. Thus, a first member, component, region, layer, or section referred to in examples described herein may also be referred to as a second member, component, region, layer, or section without departing from the teachings of the examples.
The terminology used herein is for describing various examples only, and is not to be used to limit the disclosure. The articles “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms “comprises,” “includes,” and “has” specify the presence of stated features, numbers, operations, members, elements, and/or combinations thereof, but do not preclude the presence or addition of one or more other features, numbers, operations, members, elements, and/or combinations thereof.
Unless otherwise defined, all terms, including technical and scientific terms, used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains and in view of the discussion of this application. Terms, such as those defined in commonly used dictionaries, are to be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the disclosure of this application, and are not to be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Also, in the description of example embodiments, detailed description of structures or functions that are thereby known after an understanding of the disclosure of the present application will be omitted when it is deemed that such description will cause ambiguous interpretation of the example embodiments.
Referring to
When the gaze of the user changes, the first image 110 changes to a second image 120. The second image 120 includes a real object 121 corresponding to the real object 111 of the first image 110 and a virtual object 122 corresponding to the virtual object 112 of the first image 110. A position of the real object 121 in the second image 120 may be obtained immediately from the change of the gaze of the user. However, when the gaze of the user is not detected immediately, the position of the virtual object 112 may be determined to be a position of the virtual object 122 in the second image 120 without a change in position. Thus, the position of the virtual object 122 relative to the position of the real object 121 in the second image 120 may not be desirable or accurately depicted.
In an example, it is possible to detect a gaze of a user by determining a pose of a device corresponding to the gaze of the user. The pose of the device may be determined or estimated through sensors of the device. Hereinafter, how a pose of a device is estimated will be described in greater detail with reference to
Herein, a term “pose” indicates a current pose that is determined using currently measured data, and a term “predicted pose” indicates a future pose that is estimated using currently measured data.
Referring to
Herein, it is noted that use of the term ‘may’ with respect to an example or embodiment, e.g., as to what an example or embodiment may include or implement, means that at least one example or embodiment exists where such a feature is included or implemented while all examples and embodiments are not limited thereto.
The communicator 210 may be connected to the processor 220, the memory 230, the camera 240, and the IMU 250 to transmit and/or receive data. The communicator 210 may also be connected to another external device to transmit and/or receive data.
A circuitry may embody the communicator 210 in the device 200. For example, the communicator 210 may include an internal bus and an external bus. Alternatively, the communicator 210 may be another hardware element to connect the device 200 and an external device. The communicator 210 may be an interface, for example. The communicator 210 may receive data from the external device, and transmit the data to the processor 220 and the memory 230.
The processor 220 may process data received by the communicator 210 and data stored in the memory 230. Herein, the term “processor” indicates a data processing device embodied by hardware including a circuit of a physical structure to perform or execute desired operations. The desired operations may include, for example, a code or instructions included in a program. The data processing device embodied by hardware may include, for example, a microprocessor, a central processing unit (CPU), a processor core, a multicore processor, a multiprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), and the like.
The processor 220 may execute a computer-readable code, for example, software, stored in a memory, for example, the memory 230, and instructions initiated by the processor 220.
The memory 230 may store data received by the communicator 210 and data processed by the processor 220. For example, the memory 230 may store the program. The stored program may be a set of syntaxes that are encoded to estimate a pose of the device 200 and executed by the processor 220.
In an example, the memory 230 may include at least one volatile memory, nonvolatile memory, random access memory (RAM), flash memory, hard disk drive, and optical disc drive.
The memory 230 may store an instruction set, for example, software, to operate the device 200. The instruction set operating the device 200 may be executed by the processor 220.
The camera 240 may generate an image by capturing a scene. For example, the camera 240 may include a left camera configured to generate a left image to be output to a left eye of the user, and a right camera configured to generate a right image to be output to a right eye of the user. In this example, there is a binocular disparity between the left image and the right image. For another example, the camera 240 may generate a single image and the processor 220 may generate a left image and a right image using an image processing method such as, for example, image warping.
The IMU 250 may generate IMU data by measuring acceleration and an angular velocity of a movement of the device 200.
The device 200 may also include sensors configured to measure a position or a pose of the device 200. For example, the device 200 may include a global positioning system (GPS) further represented by the communicator 210, but examples are not limited to the foregoing.
The communicator 210, the processor 220, the memory 230, the camera 240, and the IMU 250 will be described in greater detail with reference to
Referring to
Operation 310 of the first cluster optimization may be performed using a tight coupling cluster optimization method. The tight coupling optimization method may be performed to estimate a pose of the device 200 using data measured by a relatively greater number of sensors, i.e., the tight coupling method uses more sensors than a loose coupling cluster optimization method. For example, an image generated using the camera 240 and IMU data generated using the IMU 250 may be used to estimate a pose of the device 200. Operation 310 of the first cluster optimization will be described in greater detail with reference to
Operation 320 of the second cluster optimization may be performed using a loose coupling cluster optimization method. The loose coupling cluster optimization method may be performed to estimate a pose of the device 200 using data measured by a relatively less number of sensors. For example, in an example, only the IMU data generated using the IMU 250 may be used to estimate a pose of the device 200. The IMU data may include information on acceleration and an angular velocity of the device 200, and it is thus possible to determine a current pose of the device 200 by integrating the IMU data and overlapping a value obtained through the integration and a previous pose.
As the number of sets of data used to estimate a pose decrease, the pose may be more rapidly estimated. Operation 320 of the second cluster optimization will be described in greater detail with reference to
Operation 310 described above with reference to
Referring to
In operation 420, the device 200 determines an initial pose of the device 200 using the map. The determination of the initial pose will be described in greater detail with reference to
In operation 430, the device 200 determines whether the device 200 is in a static state based on IMU data. The static state may indicate a state in which there is no movement of the device 200, or there is a movement of the device 200 with a value of the movement being less than or equal to a preset threshold value.
The IMU data may generally include noise, which may cause an error in estimating a pose of the device 200. However, based on whether the device 200 is in the static state, or a stationary state, to estimate a pose of the device 200, it is possible to reduce an influence of such noise. Whether the device 200 is in the static state may be determined by analyzing a local change of the IMU data. In response to a determination that the device 200 is in the static state, a constraint may be added to increase accuracy in estimating a pose of the device 200 when performing a cluster optimization at a next time point. The constraint may include, for example, a constraint that i) a position of the device 200 may be obtained based on a spatial position of a map point, for example, a three-dimensional (3D) position, and a position of a feature point of an image, for example, a left image and/or a right image, corresponding to the spatial position of the map point; ii) a position of a new map point in a space may be calculated by a position of the device 200 and a position of a feature point in an image corresponding to the new map point; iii) a position and a pose of the device 200 in a preceding image and a subsequent image may be calculated based on IMU data and IMU parameters between the preceding image and the subsequent image (herein, the IMU parameters may be motion state vectors); iv) the IMU parameters may be calculated using IMU data among a plurality of images and a pose of the device 200 corresponding to the images; and/or v) based on a detected static state, a pose between two images may be determined to change to 0.
Since there are the constraints associated with a relationship among a map point, a pose of the device 200, and the IMU data, a pose of the device 200 that substantially or maximally satisfies the constraints may be determined. For example, when a greater number of the constraints is satisfied, the pose may be more accurately estimated, although estimated relatively more slowly.
In operation 440, the device 200 determines whether to re-perform the first cluster optimization or perform the second cluster optimization based on a determined state of the device 200.
Through operation 310 of the first cluster optimization, a parameter and an algorithm to be used to estimate a pose of the device 200 may be optimized in operation 320 of the second cluster optimization. The parameter and the algorithm to be used to estimate a pose in operation 320 of the second cluster optimization will be described in greater detail with reference to
Operation 410 described above with reference to
Referring to
In operation 515, the device 200 generates one or more first feature points in the generated left image. Herein, a feature point may indicate an edge in an image and texture of the image. To generate such a feature point, the device 200 may use, as non-limiting examples, a binary robust invariant scalable keypoints (BRISK) method and a scale-invariant feature transform (SIFT) method.
In operation 520, the device 200 generates a right image. For example, the device 200 may generate the right image using a right camera. For another example, the device 200 may generate the right image by warping the reference image captured using the camera.
In operation 525, the device 200 generates one or more second feature points in the generated right image.
In operation 530, the device 200 matches the first feature points and the second feature points. For example, the device 200 may use, as a non-limiting example, a random sample consensus (RANSAC) method, or perform fitting via the RANSAC method, to verify a matching relationship and remove a mismatch.
In operation 540, the device 200 generates a map based on matched feature points and unmatched feature points between the first feature points and the second feature points.
Operation 420 described above with reference to
Referring to
In operation 620, the device 200 determines a target feature point corresponding to the one or more feature points among candidate feature points preset in a map.
In operation 630, the device 200 determines an initial pose of the device 200 based on the determined target point. For example, the initial pose may be a current pose of the camera 240 or the device 200 that corresponds to a gaze of a user of the device 200. Herein, a pose may indicate a viewpoint of the camera.
While operation 310 of first cluster optimization is being performed repetitively, parameters to be used to estimate a future pose of the device 200 may be optimized. The parameters optimized through operation 310 of the first cluster optimization may also be continuously used in operation 320 of second cluster optimization.
Referring to
A second pose 711 of the device 200 is determined using an image captured at the second pose 711 and a map. For example, as illustrated, target feature points 721, 722, 723, 724, and 725 of the map are determined based on the image captured at the second pose 711. Based on the determined second pose 711 and IMU data, a pose of the device 200 subsequent to the second pose 711 is estimated.
A third pose 712 of the device 200 is determined using an image captured at the third pose 712 and a map. For example, as illustrated, target feature points 723, 725, 726, 728, and 729 of the map are determined based on the image captured at the third pose 712. Based on the determined third pose 712 and IMU data, a pose of the device 200 subsequent to the third pose 712 is estimated.
A fourth pose 713 of the device 200 is determined using an image captured at the fourth pose 713 and a map. For example, as illustrated, target feature points 726, 727, 728, and 729 of the map are determined based on the image captured at the fourth pose 713. Based on the determined fourth pose 713 and IMU data, a pose of the device 200 subsequent to the fourth pose 713 is estimated.
The first pose 710, the second pose 711, the third pose 712, and the fourth pose 713 are determined as actual poses, and parameters to be used to estimate a pose may be adjusted based on the actual poses. Herein, an error between an actual pose and an estimated pose may be reduced through repetitive estimation.
Each of the first pose 710, the second pose 711, the third pose 712, and the fourth pose 713 may be an initial pose, and the initial pose may be updated as illustrated for second cluster optimization.
Operation 420 described above with reference to
Referring to
In operation 820, the device 200 updates the map by adding, to the map, a feature point corresponding to the remaining feature point. The added feature point may become a candidate feature point. Herein, as the number of candidate feature points increases, the accuracy of a pose of the device 200 to be determined may increase.
A loose coupling cluster optimization-based second cluster optimization method may be a method of rapidly estimating a pose of the device 200 using data measured by a relatively less number of sensors. For example, a fewer number of sets of data may be used for the second cluster optimization method, than the number of sets of data used for a first cluster optimization method. As the fewer number of sets of data is used, a pose of the device 200 may be rapidly estimated.
In an example, a current pose of the device 200 may be determined using IMU data, and a future pose of the device 200 may be estimated using a history of IMU data. Herein, recurrent detection may be used to reduce a difference between the current pose and the estimated pose.
Hereinafter, a method of estimating a pose of the device 200 using such a loose cluster optimization method will be described in greater detail with reference to
Operation 320 described above with reference to
Referring to
In operation 1020, the device 200 determines a first pose of the device 200 based on the IMU data. The first pose may be a pose of the device 200 at a current time point, for example, an i-th time.
In an example, the device 200 may determine the first pose based on whether the device 200 is in a static state. For example, when the device 200 is in the static state, the device 200 may determine the first pose using the IMU data.
In operation 1030, the device 200 generates a current predicted motion state array based on the IMU data. Herein, the term “predicted motion state array” refers to an array obtained by arranging, by time point, vectors that predict a motion state of the device 200. The term “current predicted motion state array” refers to an array of predicted motion states that are estimated at a current time point, for example, an i-th time, and the term “previous predicted motion state array” refers to an array of predicted motion states that are estimated at a previous time point, for example, an i−1-th time point. That is, as the previously predicted motion state array is updated, the current predicted motion state array may be generated.
A method of generating the current predicted motion state array will be described in greater detail with reference to
In operation 1040, the device 200 estimates an M-th predicted pose at an M-th time point subsequent to the first pose, based on the current predicted motion state array. Herein, M denotes a natural number greater than 1.
Operation 1030 described above with reference to
Referring to
In operation 1120, the device 200 generates a first motion state vector at a first time point based on the smoothed IMU data. For example, a motion state vector may be represented by Equation 1.
S={v,av,w,aw} Equation 1
In Equation 1, S denotes a motion state vector. v and av denote a motion velocity and a motion acceleration, respectively. w and aw denote a whirl velocity and a whirl acceleration, respectively. The whirl velocity w and the whirl acceleration aw may be added to indicate respective six-axial directions. In addition, a motion state vector may further include a position of the camera 240.
In an example, the device 200 may generate the first motion state vector by correcting the smoothed IMU data based on a difference between the first pose and a first predicted pose that is estimated in advance. In this example, the difference between the first pose and the first predicted pose may be defined as a compensation amount.
In an example, the device 200 may determine a frequency of generation of the first motion state vector based on at least one of a determined ocular movement velocity of a user or a determined head movement velocity of the user. For example, when a difference occurring due to recurrent detection is to be compensated for, a speed of the compensation may be associated with the ocular movement velocity and/or the head movement velocity. As the head movement velocity increases, the speed of the compensation may also increase.
In operation 1130, the device 200 determines an N-th motion state vector at an N-th time point based on the first motion state vector. For example, the N-th time point may be the furthest point in time from the current time point. In this example, N denotes a natural number greater than M.
As a non-limiting example, the device 200 may generate an N-th predicted motion state vector using a long-short term memory (LSTM)-type recurrent neural network (RNN) using the first motion state vector as input. The RNN may be embodied by a deep learning network.
In operation 1140, the device 200 generates a currently estimated motion state array based on a motion model, a previously estimated motion state array, and the N-th predicted motion state vector. The motion model may include a linear motion model or a nonlinear motion model. A suitable motion model may be selected from among a plurality of motion models based on the generated IMU data.
In the example illustrated in
Herein, the pose estimation unit be representative of one or more processors of the device 200, or may be representative of being implemented by a same one or more processors of the device 200 as implementing one or more or any combination of other operations. For example, each such one or more processors may be implemented through hardware only, e.g., through specialized circuitry, or through a combination of such hardware and instructions, such that when a corresponding processor executes such instructions, the processor is caused to perform the described operations. Thus examples, exist the pose estimation unit is implemented through hardware only, and examples exist where the pose estimation unit is implemented through the combination of hardware and instructions. Thus, as described herein, one or more processors configured to implement or perform the respective operations of the pose estimation unit is inclusive of all such examples of such hardware and/or hardware/instruction implementations.
IMU data may be generated repetitively and continuously until the i+x-th time point, and thus the predicted pose P″i+x at the i+x-th time point may be continuously updated through recurrent detection until the i+x-th time point is reached.
A further detailed operation of the pose estimation unit is as follows:
A difference between the pose Pi at the i-th time point determined based on the IMU data and a predicted pose P′i at the i-th time point is calculated as an error. The error may be used to adjust a motion state vector Si at the i-th time point. Herein, a Kalman gain Kgi may be used, as needed, to additionally adjust the motion state vector Si.
A predicted pose P′i+1 at an i+1-th time point is calculated based on the motion state vector Si at the i-th time point and a motion model M. The predicted pose at the i+1-th time point may be an input to the pose estimation unit at the i+1-th time point.
An i+N−1-th predicted motion state vector S′i+N−1 at an i+N−1-th time point is generated using an LSTM-type RNN which uses the motion state vector Si as an input. Although a motion state vector is used in the example illustrated in
For example, the i+N−1-th predicted motion state vector S′i+N−1 may be calculated as represented by Equation 2.
S′i+N−1={v′i+N−1,a′v,i+N−1,w′i+N−1,a′w,i+N−1}
v′i+N−1=vi+av,i·(N−1·Δt)
a′v,i+N−1=av,i
w′i+N−1=wi⊕aw·(N−1·Δt).
a′w,i+N−1=aw,i Equation 2
vi) A current predicted motion state array is generated based on a motion model M, a previously predicted motion state array, and the i+N−1-th predicted motion state vector S′i+N−1.
When a current time point changes to an i+1-th time point, a predicted pose P′i+1 at the i+1-th time point and a current predicted motion state array that is calculated previously may be recurrently inputted to the pose estimation unit as a previously predicted motion state array. The operations described in the foregoing may be recurrently performed until a current time point reaches an i+x-th time point. Such a recurrent method may be used to reduce an error between a predicted pose at the i+x-th time point and a predicted pose at the i+x-th time point that is determined using IMU data.
Referring to
A current predicted motion state array may be calculated based on a previously predicted motion state array that is calculated at a previous time point, or an i−1-th time point, which is a current predicted motion state array at the i−1-th time point, and on the LSTM-based predicted motion state array. For example, by combining the previously predicted motion state array and the LSTM-based predicted motion state array, the current predicted motion state array may be calculated. Herein, a greater weight may be applied to a more recently predicted motion state vector.
Based on the generated current predicted motion state array, a predicted pose P″i+x at an i+x-th time point may be generated. For example, the predicted pose P″i+x at the i+x-th time point may be calculated as represented by Equation 3.
In the example illustrated in
In addition to an IMU integration error that may cause a difference between poses, such a difference between poses may also be generated by recurrent detection of the same map. The example illustrated in
When the device 200 reaches a previously passed position after turning a full circle, there may be a deviation between a previously stored map point and a recently stored map point. Herein, there may need to update a position of a current map point using a recurrent detection function. That is, there may need to correct both a pose difference resulted from the presence of an error in an IMU integration and a pose difference resulted from recurrence.
An inverse relationship may be established between a velocity of a motion of an object that is projected onto a retina and a sensitivity of a human eye to the motion of the object. Thus, by detecting an ocular movement velocity HS and a motion velocity P of a virtual object, a human sensing speed HT, which is a speed at which a human being senses the motion, may be calculated. Using the human sensing speed HT, a speed at which a bias decreases may be determined. Herein, the greater the human sensing speed HT, the faster the reduction in the bias. The human sensing speed HT may be calculated as represented by Equation 4.
In Equation 4, {tilde over (e)} may be 0.6 in most cases. fT denotes a size of an object, and {tilde over (r)}(fT) denotes a size of the object that is projected onto a retina.
In an AR system or a VR system, it may need to determine a pose of the device 200 at a current time point using simultaneous localization and mapping (SLAM) method and then generate a virtual object based on the determined pose of the device 200. In addition, the generated virtual object may be output or displayed by superimposing the generated virtual object on a real object. Herein, when the generating of the virtual object is complicated or includes illumination calculation, a certain amount of time may be used to generate the virtual object. This may induce a delay in the outputting of the virtual object, and affect an AR or VR effect. Hereinafter, an image outputting method that may reduce such a delay will be described.
Operations 1610 through 1630 to be described hereinafter with reference to
Referring to
Herein, a holographic image and a depth image that are generated for a previous image may be used to generate a new holographic image. Since depth information of each point of the previous image and a pose of the device 200 corresponding to the holographic images of the two images are previously known information, a position of a pixel of the previous image corresponding to a pixel of an image to be generated may be calculated. The pixel of the previous image may be copied to the corresponding pixel of the image to be generated. Such a method may reduce an amount of calculation or computation to be processed, and may thus reduce an amount of time used to generate a virtual object.
In operation 1620, the device 200 adjusts the virtual object.
The device 200 may obtain a pose change occurring while rendering the virtual object and adjust the virtual object to correspond to the obtained pose change.
The virtual object may be output at the M-th time point. Herein, when a frequency at which IMU data is generated is greater than a frequency at which the virtual object is output, sets of IMU data may be generated at time points among time points at which the virtual object is output. For example, a motion state of the device 200 at a first time point and a motion state of the device 200 at the M-th time point may be obtained by integrating the sets of IMU data. The pose change may be obtained based on the obtained motion states, and the virtual object may be adjusted based on the obtained pose change.
In operation 1630, the device 200 outputs the virtual object. For example, the device 200 may generate an image with respect to the M-th time point, and output the virtual object such that the generated image and the virtual object are synthesized. For another example, the device 200 may output only the virtual object.
Referring to
Herein, sets of IMU data may be obtained at time points between the first time point and the M-th time point, and a pose of the device 200 at the M-th time point may be continuously re-estimated based on the obtained sets of IMU data. The virtual object may be adjusted to correspond to the re-estimated pose of the device 200. The virtual object may be displayed at the M-th time point.
Referring to
The device 200, communicator 210, the processor 220, the memory 230, the camera 240, the IMU 250, the SLAM module, the pose estimation module, the image generation module, and pose estimation unit are implemented by hardware components. Examples of hardware components that may be used to perform the operations described in this application where appropriate include controllers, sensors, generators, drivers, memories, comparators, arithmetic logic units, adders, subtractors, multipliers, dividers, integrators, and any other electronic components configured to perform the operations described in this application. In other examples, one or more of the hardware components that perform the operations described in this application are implemented by computing hardware, for example, by one or more processors or computers. A processor or computer may be implemented by one or more processing elements, such as an array of logic gates, a controller and an arithmetic logic unit, a digital signal processor, a microcomputer, a programmable logic controller, a field-programmable gate array, a programmable logic array, a microprocessor, or any other device or combination of devices that is configured to respond to and execute instructions in a defined manner to achieve a desired result. In one example, a processor or computer includes, or is connected to, one or more memories storing instructions or software that are executed by the processor or computer. Hardware components implemented by a processor or computer may execute instructions or software, such as an operating system (OS) and one or more software applications that run on the OS, to perform the operations described in this application. The hardware components may also access, manipulate, process, create, and store data in response to execution of the instructions or software. For simplicity, the singular term “processor” or “computer” may be used in the description of the examples described in this application, but in other examples multiple processors or computers may be used, or a processor or computer may include multiple processing elements, or multiple types of processing elements, or both. For example, a single hardware component or two or more hardware components may be implemented by a single processor, or two or more processors, or a processor and a controller. One or more hardware components may be implemented by one or more processors, or a processor and a controller, and one or more other hardware components may be implemented by one or more other processors, or another processor and another controller. One or more processors, or a processor and a controller, may implement a single hardware component, or two or more hardware components. A hardware component may have any one or more of different processing configurations, examples of which include a single processor, independent processors, parallel processors, single-instruction single-data (SISD) multiprocessing, single-instruction multiple-data (SIMD) multiprocessing, multiple-instruction single-data (MISD) multiprocessing, and multiple-instruction multiple-data (MIMD) multiprocessing.
The methods illustrated in
Instructions or software to control a processor or computer to implement the hardware components and perform the methods as described above are written as computer programs, code segments, instructions or any combination thereof, for individually or collectively instructing or configuring the processor or computer to operate as a machine or special-purpose computer to perform the operations performed by the hardware components and the methods as described above. In one example, the instructions or software include machine code that is directly executed by the processor or computer, such as machine code produced by a compiler. In another example, the instructions or software include higher-level code that is executed by the processor or computer using an interpreter. Programmers of ordinary skill in the art can readily write the instructions or software based on the block diagrams and the flow charts illustrated in the drawings and the corresponding descriptions in the specification, which disclose algorithms for performing the operations performed by the hardware components and the methods as described above.
The instructions or software to control computing hardware, for example, one or more processors or computers, to implement the hardware components and perform the methods as described above, and any associated data, data files, and data structures, may be recorded, stored, or fixed in or on one or more non-transitory computer-readable storage media. Examples of a non-transitory computer-readable storage medium include read-only memory (ROM), random-access programmable read only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, nonvolatile memory, CD-ROMs, CD-Rs, CD+Rs, CD-RWs, CD+RWs, DVD-ROMs, DVD-Rs, DVD+Rs, DVD-RWs, DVD+RWs, DVD-RAMs, BD-ROMs, BD-Rs, BD-R LTHs, BD-REs, blue-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), flash memory, a card type memory such as multimedia card micro or a card (for example, secure digital (SD) or extreme digital (XD)), magnetic tapes, floppy disks, magneto-optical data storage devices, optical data storage devices, hard disks, solid-state disks, and any other device that is configured to store the instructions or software and any associated data, data files, and data structures in a non-transitory manner and provide the instructions or software and any associated data, data files, and data structures to one or more processors or computers so that the one or more processors or computers can execute the instructions. In one example, the instructions or software and any associated data, data files, and data structures are distributed over network-coupled computer systems so that the instructions and software and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by the one or more processors or computers.
While this disclosure includes specific examples, it will be apparent after an understanding of the disclosure of this application that various changes in form and details may be made in these examples without departing from the spirit and scope of the claims and their equivalents. The examples described herein are to be considered in a descriptive sense only, and not for purposes of limitation. Descriptions of features or aspects in each example are to be considered as being applicable to similar features or aspects in other examples. Suitable results may be achieved if the described techniques are performed in a different order, and/or if components in a described system, architecture, device, or circuit are combined in a different manner, and/or replaced or supplemented by other components or their equivalents. Therefore, the scope of the disclosure is defined not by the detailed description, but by the claims and their equivalents, and all variations within the scope of the claims and their equivalents are to be construed as being included in the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201810148359.1 | Feb 2018 | CN | national |
10-2018-0050747 | May 2018 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
7610182 | Smith | Oct 2009 | B2 |
9041622 | McCulloch et al. | May 2015 | B2 |
9210413 | Grinberg et al. | Dec 2015 | B2 |
20120303255 | Wong | Nov 2012 | A1 |
20170206668 | Poulos | Jul 2017 | A1 |
20170206712 | Petrovskaya | Jul 2017 | A1 |
20190251696 | Wang | Aug 2019 | A1 |
Number | Date | Country |
---|---|---|
10-2013-0126623 | Nov 2013 | KR |
10-2015-0092165 | Aug 2015 | KR |
10-2015-0123226 | Nov 2015 | KR |
10-2016-0048801 | May 2016 | KR |
10-2017-0018930 | Feb 2017 | KR |
10-1732890 | May 2017 | KR |
Entry |
---|
Xing et al., “Angular velocity fusion of the microelectromechanical system inertial measurement unit array based on extended Kalman filter with correlated system noises” May 26, 2020, Sage Journals https://journals.sagepub.com/doi/full/10.1177/0020294020917702, https://doi.org/10.1177/0020294020917702 (Year: 2020). |
Number | Date | Country | |
---|---|---|---|
20190251696 A1 | Aug 2019 | US |