System and method for low-latency, high-performance pose fusion
Through the combination of IMU sensor and camera, the processor is used to transform and fusion of visual poses, solving the problems of high latency and power consumption of existing SLAM solutions, realizing low-latency and high-performance pose fusion in smart devices, improving the SLAM accuracy and performance.
Patent Information
- Application Number
- CN201980094295.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-30
- Filing Date
- 2019-10-31
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2039-10-31
AI Technical Summary
Existing tight-coupled and loose-coupled SLAM solutions have insufficient latency and power consumption, resulting in poor preview latency and accuracy performance in smart devices.
Using a processor combining IMU sensor and camera, the visual pose in the camera coordinates is determined through visual data, and converted into IMU coordinates, combined with scale factors to fusion to achieve accurate and low-latency pose fusion and output fusion poses. for use in monitors.
It realizes low-latency and high-performance pose fusion in smart devices, improves the accuracy and performance of SLAM, and is suitable for transparent display applications such as smart glasses.
Smart Images

Figure CN113632135B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to systems for image and video processing and more specifically to an accurate, low-latency pose fusion architecture for simultaneous localization and mapping (SLAM). Background Art
[0002] Existing tightly coupled SLAM solutions have high latency and high power consumption. The high latency of SLAM solutions is often hidden by the preview delay of smartphones. Existing loosely coupled SLAM solutions have slightly reduced latency and power consumption, but even so, accuracy and performance need to be further improved. Summary of the invention
[0003] Solution to the problem
[0004] In one embodiment, an electronic device provides an accurate, low-latency pose fusion architecture for SLAM. The electronic device includes an IMU sensor, a camera, a display, and a processor coupled to the IMU sensor, the camera, and the display. The processor determines a visual pose in camera coordinates based on captured visual data; transforms the visual pose from camera coordinates to IMU coordinates; applies a scale factor to the visual pose based on a combination of the visual pose in IMU coordinates and the IMU pose; fuses the scaled visual pose and the IMU pose into a fused pose in a time-distributed manner; and outputs the fused pose for use with the display.
[0005] In a second embodiment, a method provides an accurate, low-latency pose fusion architecture for SLAM. The method includes: determining a visual pose in camera coordinates based on captured visual data; transforming the visual pose from camera coordinates to IMU coordinates; applying a scale factor to the visual pose based on a combination of the visual pose in IMU coordinates and the IMU pose; fusing the scaled visual pose and the IMU pose into a fused pose in a time-distributed manner; and outputting the fused pose for use with a display.
[0006] In a third embodiment, a non-transitory medium implementing a computer program provides an accurate, low-latency pose fusion architecture for SLAM. The program code, when executed by at least one processor, causes the processor to perform the following operations: determine a visual pose in camera coordinates based on captured visual data; transform the visual pose from camera coordinates to IMU coordinates; apply a scale factor to the visual pose based on a combination of the visual pose in IMU coordinates and the IMU pose; fuse the scaled visual pose and the IMU pose into a fused pose in a time-distributed manner; and output the fused pose for use with a display.
[0007] Other technical features may be apparent to those skilled in the art from the following drawings, descriptions and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which:
[0009] Figure 1 shows an example network configuration according to an embodiment of the present disclosure;
[0010] Figure 2 An exemplary low-latency, high-performance SLAM architecture according to an embodiment of the present disclosure is shown;
[0011] Figure 3 A flowchart showing posture fusion according to an embodiment of the present disclosure is shown;
[0012] Figure 4 shows an exemplary re-positioning for tracking loss according to an embodiment of the present disclosure;
[0013] Figure 5 illustrates an exemplary vision-to-IMU transformation according to an embodiment of the present disclosure;
[0014] Figure 6 illustrates an exemplary enhanced vision-to-IMU transformation according to an embodiment of the present disclosure;
[0015] Figure 7 illustrates an exemplary reinitialization with IMU-only pose tracking for tracking loss according to an embodiment of the present disclosure;
[0016] Fig. 8A and Figure 8B shows an exemplary scale estimation according to an embodiment of the present disclosure;
[0017] Fig. 9 An exemplary dual sliding window for scale optimization according to an embodiment of the present disclosure is shown;
[0018] Fig.10 An exemplary primary scale estimation using a double sliding window according to an embodiment of the present disclosure is shown;
[0019] Fig.11 illustrates an exemplary scale optimization according to an embodiment of the present disclosure;
[0020] Fig.12 illustrates exemplary inexact Kalman fusion according to an embodiment of the present disclosure;
[0021] Fig.13 illustrates exemplary high-latency Kalman fusion according to an embodiment of the present disclosure;
[0022] Fig.14 illustrates an exemplary time-distributed fusion according to an embodiment of the present disclosure;
[0023] Fig.15 An exemplary overlap correction for time-distributed fusion according to an embodiment of the present disclosure is shown;
[0024] Fig.16 shows an exemplary pipeline for camera preview in a smartphone according to an embodiment of the present disclosure;
[0025] Fig.17 An exemplary pipeline for a transparent display in smart glasses according to an embodiment of the present disclosure is shown;
[0026] Fig.18 A pose fusion architecture for accurate, low-latency SLAM according to an embodiment of the present disclosure is shown; and
[0027] Fig.19A , Fig.19B and Fig.19C A visual SLAM line according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0028] The following discussion is described with reference to the accompanying drawings. Figure 1-19C As well as various embodiments of the present disclosure. However, it should be understood that the present disclosure is not limited to the embodiments, and all changes and / or equivalents or replacements thereof also belong to the scope of the present disclosure. Throughout the specification and the drawings, the same or similar reference numerals may be used to refer to the same or similar elements.
[0029] Before proceeding to the following detailed description, it may be advantageous to set forth definitions of specific words and phrases used throughout this patent document. The terms "send," "receive," and "communicate," and their derivatives, encompass both direct and indirect communications. The terms "include" and "comprises," and their derivatives, mean including, but not limited to. The term "or" is inclusive, meaning and / or. The phrase "associated with," and its derivatives, means including, included within, interconnected with, containing, contained within, connected to or connected with, coupled to or coupled with, communicable with, cooperating with, interlaced, juxtaposed, proximate to, bound to or bound with, having, having the nature of, having a relationship with, and the like.
[0030] In addition, the various functions described below can be implemented or supported by one or more computer programs, each of which is formed by a computer-readable program code and embodied in a computer-readable medium. The terms "application" and "program" refer to one or more computer programs, software components, instruction sets, processes, functions, objects, classes, instances, related data or a part thereof that are suitable for being implemented in a suitable computer-readable program code. The phrase "computer-readable program code" includes any type of computer code (including source code, object code and executable code). The phrase "computer-readable medium" includes any type of medium (such as a read-only memory (ROM), random access memory (RAM), hard drive, compact disk (CD), digital video disk (DVD) or any other type of memory) that can be accessed by a computer. "Non-transitory" computer-readable media does not include wired, wireless, optical or other communication links that transmit temporary electrical signals or other signals. Non-transitory computer-readable media include media that can permanently store data and media that can store data and be rewritten later (such as rewritable optical disks or erasable memory devices).
[0031] As used herein, the terms “have”, “may have”, “include” or “may include” a feature (eg, quantity, function, operation, or component such as a part) indicate the presence of the feature, and do not exclude the presence of other features.
[0032] As used herein, the terms "A or B", "at least one of A and / or B", or "one or more of A and / or B" may include all possible combinations of A and B. For example, "A or B", "at least one of A and B", or "at least one of A or B" may mean all of the following: (1) including at least one A, (2) including at least one B, or (3) including at least one A and at least one B.
[0033] As used herein, the terms "first" and "second" can modify various components regardless of their importance and do not limit the components. These terms are only used to distinguish one component from another component. For example, a first user device and a second user device can indicate user devices that are different from each other, regardless of the order or importance of the devices. For example, without departing from the scope of the present disclosure, a first component can be represented as a second component, and vice versa.
[0034] It should be understood that when an element (e.g., a first element) is referred to as being (operably or communicatively) “coupled to / coupled to another element (e.g., the second element)” or “connected to / connected to another element (e.g., the second element)”, it may be directly coupled to or connected to / coupled to or connected to another element or coupled to / coupled to or connected to another element via a third element. Conversely, it should be understood that when an element (e.g., a first element) is referred to as being “directly coupled to / coupled to another element (e.g., the second element)” or “directly connected to / connected to another element (e.g., the second element)”, no other element (e.g., a third element) is interposed between the element and the other element.
[0035] As used herein, the term "configured (or arranged) to" may be used interchangeably with the terms "suitable for", "capable of", "designed to", "suitable for", "manufactured to", or "capable of", depending on the circumstances. The term "configured (or arranged) to" does not substantially mean "specially designed with hardware to". On the contrary, the term "configured to" may mean that a device can perform an operation together with another device or part.
[0036] For example, the term "a processor configured (or set) to perform A, B, and C" may refer to a general-purpose processor (e.g., a CPU or an application processor) that can perform operations by executing one or more software programs stored in a memory device or a special-purpose processor (e.g., an embedded processor) for performing operations.
[0037] The terms used herein are only used to describe some embodiments thereof, rather than to limit the scope of other embodiments of the present disclosure. It should be understood that, unless the context clearly specifies otherwise, the singular forms "one", "an" and "the" include plural references. All terms including technical and scientific terms used herein have the same meaning as the meanings commonly understood by those of ordinary skill in the art to which the embodiments of the present disclosure belong. It will also be understood that those terms such as those defined in general dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant art, and will not be interpreted with idealized or overly formal meanings, unless clearly defined as such here. In some cases, the terms defined herein may be interpreted as excluding embodiments of the present disclosure.
[0038] For example, examples of electronic devices according to embodiments of the present disclosure may include at least one of the following: a smart phone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop computer, a netbook computer, a workstation, a PDA (personal digital assistant), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device (e.g., smart glasses, a head-mounted device (HMD), electronic clothing, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo, a smart mirror, or a smart watch).
[0039] Definitions for other specific words and phrases are provided throughout this patent document. Those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.
[0040] According to an embodiment of the present disclosure, the electronic device may be a smart home appliance. Examples of smart home appliances may include at least one of the following: a television, a digital video disk (DVD) player, an audio player, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, a dryer, an air purifier, a set-top box, a home automation control panel, a security control panel, a TV box (e.g., Samsung HomeSync, Apple TV, or Google TV), a game console (Xbox, PlayStation), an electronic dictionary, an electronic key, a camera, or an electronic photo frame.
[0041] According to a specific embodiment of the present disclosure, examples of electronic devices may include at least one of the following: various medical devices (for example, various portable medical measuring devices (blood sugar measuring devices, heart rate measuring devices or body temperature measuring devices), magnetic source angiography (MRA) devices, magnetic source imaging (MRI) devices, computed tomography (CT) devices, imaging devices or ultrasound devices), navigation devices, global positioning system (GPS) receivers, event data recorders (EDRs), flight data recorders (FDRs), car infotainment devices, navigation electronic devices (for example, marine navigation devices or gyrocompasses), avionics devices, security devices, vehicle-mounted head units, industrial or home robots, automated teller machines (ATM) point of sale (POS) devices or Internet of Things devices (for example, light bulbs, various sensors, electric meters or gas meters, sprinklers, fire alarms, thermostats, street lights, ovens, fitness equipment, hot water tanks, heaters or boilers).
[0042] According to a specific embodiment of the present disclosure, the electronic device may be at least one of the following: a piece of furniture or a part of a building / structure, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (for example, devices for measuring water, electricity, gas, or electromagnetic waves).
[0043] According to an embodiment of the present disclosure, the electronic device is one or a combination of the devices listed above. According to an embodiment of the present disclosure, the electronic device is a flexible electronic device. The electronic device disclosed herein is not limited to the devices listed above, and may include new electronic devices according to the development of technology.
[0044] Hereinafter, an electronic device is described with reference to the accompanying drawings according to various embodiments of the present disclosure. As used herein, the term "user" may refer to a person using an electronic device or another device (eg, an artificial intelligence electronic device).
[0045] SLAM is used for camera systems to simultaneously globalize themselves within the world and map the world. Two types of SLAM can be used, which are tightly coupled and loosely coupled. Tightly coupled SLAM has the general properties of high latency and high power consumption from the processing of capturing video streams or images at high rates.
[0046] As mentioned above, the preview latency of the smartphone hides any noticeable latency issues that occur with tightly coupled SLAM solutions. Smart glasses, on the other hand, have zero latency due to the transparent display and have a highly constrained battery.
[0047] Loosely coupled SLAM offers low latency and low power consumption, but typically has lower accuracy and lower performance.
[0048] Figure 1 An example network configuration 100 is shown in accordance with various embodiments of the present disclosure. Figure 1 The embodiment of the network configuration 100 shown is for illustration only. Other embodiments of the network configuration 100 may be used without departing from the scope of the present disclosure.
[0049] According to an embodiment of the present disclosure, an electronic device 101 is included in a network environment 100. The electronic device 101 may include at least one of a bus 110, a processor 120, a memory 130, an input / output (IO) interface 150, a display 160, a communication interface 170, or a sensor 180. In some embodiments, the electronic device 101 may exclude at least one component or may add another component.
[0050] The bus 110 includes circuits for connecting components 120 - 170 to one another and transmitting communications (eg, control messages and / or data) between the components.
[0051] The processor 120 includes one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processor 120 is capable of controlling at least one of other components of the electronic device 101 and / or performing communication-related operations or data processing.
[0052] For example, the processor 120 may receive a plurality of frames captured by a camera during a capture event. The processor 120 may identify a salient region in each of the plurality of frames. The processor 120 may determine a reference frame from the plurality of frames based on the identified salient region. The processor 120 may fuse a non-reference frame with the determined reference frame into a complete frame. The processor 120 may operate a display to display the complete frame.
[0053] The memory 130 may include volatile and / or non-volatile memory. For example, the memory 130 may store commands or data related to at least one other component of the electronic device 101. According to an embodiment of the present disclosure, the memory 130 may store software and / or programs 140. The programs 140 include, for example, a kernel 141, middleware 143, an application programming interface (API) 145, and / or an application program (or "application") 147. At least a portion of the kernel 141, the middleware 143, or the API 145 may be represented as an operating system (OS).
[0054] For example, the kernel 141 may control or manage system resources (e.g., bus 110, processor 120, or memory 130) used to perform operations or functions implemented in other programs (e.g., middleware 143, API 145, or application 147). The kernel 141 provides an interface that allows the middleware 143, API 145, or application 147 to access various components of the electronic device 101 to control or manage system resources.
[0055] For example, the middleware 143 may be used as a relay to allow the API 145 or the application 147 to communicate data with the kernel 141. A plurality of applications 147 may be provided. The middleware 143 is capable of controlling a work request received from the application 147, for example, by assigning a priority of using system resources (e.g., the bus 110, the processor 120, or the memory 130) of the electronic device 101 to at least one of the plurality of applications 147.
[0056] The API 145 is an interface that allows the application 147 to control functions provided from the kernel 141 or the middleware 143. For example, the API 145 includes at least one interface or function (eg, command) for file control, window control, image processing, or text control.
[0057] The IO interface 150 serves as an interface that can, for example, transmit commands or data input from a user or other external devices to other components of the electronic device 101. In addition, the IO interface 150 can output commands or data received from other components of the electronic device 101 to the user or other external devices.
[0058] The display 160 includes, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, or a micro-electromechanical system (MEMS) display or an electronic paper display. The display 160 can display, for example, various contents (e.g., text, images, videos, icons, or symbols) to the user. The display 160 may include a touch screen and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a body part of the user.
[0059] For example, the communication interface 170 can establish communication between the electronic device 101 and an external electronic device (e.g., the first electronic device 102, the second electronic device 104, or the server 106). For example, the communication interface 170 can be connected to the network 162 or 164 through wireless or wired communication to communicate with the external electronic device. The communication interface 170 can be a wired or wireless transceiver or any other component for sending and receiving signals (such as a video feed or a video stream).
[0060] The electronic device 101 also includes one or more sensors 180 that can measure physical quantities or detect the activation state of the electronic device 101 and convert the measured or detected information into electrical signals. For example, the sensor 180 may include one or more buttons for touch input, a camera, an inertial measurement unit (IMU) sensor, a gesture sensor, a gyroscope or a gyroscope sensor, an air pressure sensor, a magnetic sensor or a magnetometer, an acceleration sensor or an accelerometer, a grip sensor, a proximity sensor, a color sensor (e.g., a red, green, and blue (RGB) sensor), a biophysical sensor, a temperature sensor, a humidity sensor, an illumination sensor, an ultraviolet (UV) sensor, an electromyogram (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, an IR sensor, an ultrasonic sensor, an iris sensor, a fingerprint sensor, etc. The sensor 180 may also include a control circuit for controlling at least one of the sensors included therein. Any of these sensors 180 may be located within the electronic device 101. The camera sensor 180 may capture multiple frames of a single image that will be combined by the processor 120.
[0061] The first external electronic device 102 or the second external electronic device 104 may be a wearable device or a wearable device (e.g., a head mounted display (HMD)) on which the electronic device 101 may be mounted. When the electronic device 101 is mounted in the HMD (e.g., the electronic device 102), the electronic device 101 is able to detect the installation in the HMD and operate in a virtual reality mode. When the electronic device 101 is mounted in the electronic device 102 (e.g., the HMD), the electronic device 101 may communicate with the electronic device 102 through the communication interface 170. The electronic device 101 may be directly connected to the electronic device 102 to communicate with the electronic device 102 without involving a separate network.
[0062] Wireless communication can use, for example, long term evolution (LTE), long term evolution-advanced (LTE-A), fifth generation wireless system (5G), millimeter wave or 60 GHz wireless communication, wireless USB, code division multiple access (CDMA), wideband code division multiple access (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro) or global system for mobile communications (GSM) as at least one of the cellular communication protocol. The wired connection can include at least one of universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard 232 (RS-232) or plain old telephone service (POTS).
[0063] The network 162 includes at least one of a communication network, for example, a computer network (eg, a local area network (LAN) or a wide area network (WAN)), the Internet, or a telephone network.
[0064] The first external electronic device 102 and the second external electronic device 104 and the server 106 may each be a device of the same or different type as the electronic device 101. According to a specific embodiment of the present disclosure, the server 106 includes a group of one or more servers. According to a specific embodiment of the present disclosure, all operations or some operations performed on the electronic device 101 may be performed on another or more other electronic devices (e.g., the electronic device 102 and the electronic device 104 or the server 106). According to a specific embodiment of the present disclosure, when the electronic device 101 should automatically or upon request perform some functions or services, the electronic device 101 may request another device (e.g., the electronic device 102 and the electronic device 104 or the server 106) to perform at least some functions associated therewith, rather than performing the functions or services separately or additionally. Other electronic devices (e.g., the electronic device 102 and the electronic device 104 or the server 106) are capable of performing the requested functions or additional functions and sending the execution results to the electronic device 101. The electronic device 101 may process the received results as is or additionally to provide the requested functions or services. To this end, cloud computing, distributed computing, or client-server computing techniques may be used.
[0065] although Figure 1 The electronic device 101 is shown to include a communication interface 170 that communicates with an external electronic device 104 or a server 106 via a network 162 , but according to an embodiment of the present disclosure, the electronic device 101 may independently operate without a separate communication function.
[0066] The server 106 may support driving the electronic device 101 by performing at least one of the operations (or functions) implemented on the electronic device 101. For example, the server 106 may include a processing module or a processor that may support the processor 120 implemented in the electronic device 101.
[0067] although Figure 1 One example of a communication system 100 is shown, but may be Figure 1 Various changes may be made. For example, system 100 may include any number of each component in any suitable arrangement. In general, computing and communication systems have a wide variety of configurations, and Figure 1 The scope of the present disclosure is not limited to any particular configuration. Figure 1 One operating environment is shown in which the various features disclosed in this patent document may be used, but these features may be used in any other suitable system.
[0068] Figure 2 An exemplary low-latency, high-performance SLAM architecture 200 is shown according to an embodiment of the present disclosure. Figure 2 The embodiment of the exemplary low-latency, high-performance SLAM architecture 200 shown in is for illustration only. Other embodiments of the exemplary low-latency, high-performance SLAM architecture may be used without departing from the scope of the present disclosure.
[0069] The SLAM architecture 200 may include an IMU sensor 205, a camera 210, and one or more processors for performing the functions of a vision-based pose estimator 215 and pose fusion 220, which includes a scale optimizer 225, a real-world consistent transformation 230, and a temporal distribution fusion with overlap 235. The architecture 200 outputs a fused pose 240.
[0070] The SLAM architecture 200 can provide low latency for devices such as smart glasses or other transparent displays using loosely coupled SLAM. Because the display is transparent, latency is of high concern. The longer amount of time required to process images / data affects the display of relevant concurrent data in the transparent display. High latency affects the difference between display frames and view images.
[0071] The IMU sensor 205 measures the linear acceleration of the electronic device based on changes in pitch, roll, and yaw. The linear acceleration can be used to determine the movement of the electronic device at a higher rate and using less processing power than other methods (such as analyzing objects in sequential images). The IMU sensor 205 outputs the movement data to the posture fusion 220 processor.
[0072] The camera 210 of the architecture may include multiple cameras 210. The camera captures an image of an object in front of the transparent display. The camera 210 outputs an image or video frame to a vision-based pose estimator 215.
[0073] The pose estimator 215 can determine the position and orientation of the camera 210 based on the received image or video frame. The initial position and orientation can be determined based on many factors, including readings from other sensors, typically identifiable objects in the frame (such as the horizon or celestial bodies). The initial position and orientation of the visual pose is usually based on a set of coordinates of the camera when the first frame is captured.
[0074] The pose estimator 215 identifies one or more specific objects or points of interest in the frame for use with the initial position and orientation of the camera or the device on which the camera is mounted. In sequential frames, the pose estimator 215 can determine the movement of the initial position or orientation based on the change of the specific objects or points of interest between the sequential frames.
[0075] As the position and orientation of the camera changes, objects and points of interest may no longer be easily identified or may move out of the frame. The pose estimator 215 continues to identify new objects as the initial position and orientation change. In the event that an object from all points of interest from a previous frame is lost, the pose estimator 215 may determine that the position and orientation are lost. Once the position and orientation are lost, the pose estimator may determine a completely new set of specific objects or points of interest to determine the pose.
[0076] The vision-based pose output of the vision-based pose estimator 215 is sent to the pose fusion 220. The output of the vision-based pose estimator 215 may include an initial position, an initial orientation, a new position, a new orientation, a position change, an orientation change, and the like.
[0077] Pose fusion 220 receives output motion data from the IMU sensor 205 and the vision-based pose output from the vision-based pose estimator 215. Pose fusion 220 uses a scale optimizer 225, a real-world consistent transformation 230, and a temporal distribution fusion with overlap 235 to produce a fused pose 240. The IMU sensor 205 can generate updates of motion faster than the vision-based pose estimator 215 using the output of the camera 210. Therefore, the motion data from the IMU sensor 205 can be fused with image data from the camera 210 and the vision-based pose estimator 215 to update the pose of the device faster and more frequently. Pose fusion 220 thus helps maintain an accurate, low-latency fused pose even at a reduced rate of visual pose.
[0078] The scale optimizer 225 provides a metric scale accuracy for the visual pose. The real-world consistent transformation 230 can gracefully handle the reinitialization strategy of the visual SLAM during tracking loss. The temporal distribution fusion 235 with overlap can provide accurate and low-latency output poses. The combination of the scale optimizer 225, the real-world consistent transformation 230, and the temporal distribution fusion 235 can provide a fused pose 240 at a rate equal to the IMU sensor 205, which is much faster and more frequent than the output received from the camera 210.
[0079] Figure 3 A flowchart 300 for pose fusion according to an embodiment of the present disclosure is shown. Figure 3 The embodiment of the pose fusion flowchart 300 shown in FIG. 3 is for illustration only. Other embodiments of the exemplary pose fusion flowchart may be used without departing from the scope of the present disclosure. Figure 3 The operations in can be done by Figure 1 Executed by the electronic device 101 in.
[0080] Flowchart 300 includes a time distribution fusion operation 305, a uniform transformation operation 310, and a scale optimization operation 315. Flowchart 300 provides operations for low latency fused poses. Flowchart 300 provides operations performed by pose fusion 220.
[0081] In operation 320, the electronic device 101 updates only the covariance of the IMU state and pose. The electronic device 101 may receive IMU data from an IMU sensor.
[0082] The time distribution fusion operation 305 performs the function of the time distribution fusion 235. The time distribution fusion operation 305 includes operations 325-335, operation 380 and operation 385.
[0083] In operation 325, the electronic device 101 determines whether a new image signal is received. The image signal may also be interchanged with the frame of the video signal. The image signal may come from an optical sensor within the electronic device 101 or an external optical sensor. When a new image signal is detected, the electronic device performs operation 330, and when no image signal is detected, the electronic device performs operation 335.
[0084] In operation 330, when it is determined in operation 365 that a new image signal is received, the electronic device 101 updates the fusion covariance. Figure 12-14 Describe the fused covariance update in more detail.
[0085] In operation 335, the electronic device 101 determines whether a visual pose signal has been received. When a new visual pose signal is received, the electronic device proceeds to operation 340. When a new visual pose signal is not received, the electronic device proceeds to operation 360. The visual pose is determined in camera coordinates based on the captured visual data.
[0086] The conform transformation operation 310 performs the function of the real-world conform transformation 230. The conform transformation operation 310 includes operations 340-350.
[0087] In operation 340, the electronic device 101 determines whether the IMU data and the visual data are synchronized. When the IMU and the visual data are synchronized, the electronic device performs operation 350. When the IMU and the visual data are not synchronized, the electronic device performs operation 345.
[0088] In operation 345, the electronic device 101 updates the coordinates of the visual pose to real-world coordinates corresponding to the IMU pose. The real-world coordinates may be coordinates based on gravity. Figure 5 and Figure 6 Describes more details of coordinate updating.
[0089] In operation 350, the electronic device 101 transforms the visual pose using the updated coordinates. The electronic device 101 transforms the visual pose from the camera coordinates to the IMU or gravity-based coordinates. Figure 5 and Figure 6 Describes the visual pose transformation in more detail.
[0090] When loss of visual tracking from the initial camera coordinates occurs, the electronic device 101 maintains IMU tracking until visual tracking is reinitialized. New camera coordinates are identified based on the reinitialized visual tracking. The electronic device 101 determines a transformation equation between the new camera coordinates and the initial camera coordinates, and applies the transformation equation to the visual pose after visual tracking is reinitialized.
[0091] The scale optimization operation 315 performs the functions of the scale optimizer 225. The scale optimization operation 315 includes operations 355-375.
[0092] In operation 355, the electronic device 101 updates the dual sliding window. The dual sliding window refers to a first sliding window for received motion data and a second sliding window for received visual data. The sliding windows ensure that the received data is properly aligned. The dual sliding window includes an IMU delta transform and a visual delta transform. A transform pair of the IMU delta transform and the visual delta transform is allowed based on having the same sign or direction to ensure positive scale.
[0093] and Fig. 9 The dual sliding windows are described in more detail.
[0094] In operation 360, the electronic device 101 determines whether the output from the transformed visual pose (discussed in operation 350) is aligned with the IMU-only pose from operation 320. The electronic device 101 can allow pairs of transformations with the same sign to ensure that the solution is an allowed or positive scale. When allowed motion is detected, the electronic device performs operation 365. When allowed motion is not detected, the electronic device performs operation 380.
[0095] At operation 365, the electronic device 101 performs motion-triggered linear regression. Once sufficient motion is detected, linear regression is used to calculate Δt I =s·Δt V to solve for the scale factor s. Only solutions with high correlation coefficients are allowed.
[0096] In operation 370, the electronic device 101 determines whether there is a high correlation between the IMU estimate and the vision-based position and orientation estimate. When the correlation between the IMU estimate and the vision-based estimate is high, the electronic device proceeds to operation 375. When the correlation between the IMU estimate and the vision-based estimate is low, the electronic device proceeds to operation 380.
[0097] In operation 375, the electronic device 101 updates the visual scale of the pose. The electronic device may apply the visual scale or scale factor to the visual pose based on a combination of the visual pose in the IMU coordinates and the IMU pose. Fig.10 and Fig.11 Describes visual scale updates in more detail.
[0098] At operation 380, the electronic device 101 performs overlap correction on the fused pose. Since the fused updates including the covariance update 330 and the state update 385 are completed in a time-distributed manner, overlaps between consecutive fused updates necessarily exist and can reduce the convergence speed in the fused pose. The electronic device 101 performs overlap correction before fusing the state update 385 to prevent convergence from slowing down. Fig.15 The effect of overlap correction can be observed in .
[0099] At operation 385, the electronic device 101 updates the fusion state. The electronic device 101 may fuse the scaled visual pose and the IMU pose into a fused pose in a time-distributed manner. The fused pose may be used with a display. For example, the fused pose may be used to determine the position of an augmented reality (AR) object in a display. Figure 12-14 Describes fusion state updates in more detail.
[0100] Figure 4 An exemplary repositioning 400 for tracking loss is shown according to an embodiment of the present disclosure. Figure 4 The embodiment of repositioning 400 for tracking a loss shown in FIG. 4 is for illustration only. Other embodiments of the exemplary repositioning for tracking a loss may be used without departing from the scope of the present disclosure.
[0101] For example, visual SLAM may lose tracking due to rapid movement. Two strategies for handling tracking loss are relocalization and reinitialization. SLAM bases the movement of camera 405 on a set of initial coordinates 410. Relocalization is a process for determining the position and orientation of camera 405 after tracking is lost based on coordinates 415 different from initial coordinates 410. Reinitialization is a process for determining the position and orientation of camera 405 after tracking is lost based on initial coordinates 410.
[0102] The electronic device 101 determines a set of initial coordinates 410 as a basis for a standard for representing the movement and orientation of the camera 405 and the electronic device 101 itself. The electronic device 101 can define the initial coordinates 410 based on the initial orientation of the camera. Because the camera rarely remains perpendicular to gravity and faces the North Pole, the initial visual coordinates 410 rarely coincide with real-world coordinates.
[0103] As the camera 405 undergoes movement 420, the position and orientation of the camera 405 may change. The electronic device 101 continuously identifies map points 425 in sequential frames to determine the position and orientation of the camera 405 with reference to the initial coordinates 410. As the camera 405 undergoes movement, additional map points 430 may be identified for further movement tracking, and other map points may be moved out of the frame. For example, in a third camera position along the movement 420, the camera 405 does not capture the initial map point 425, but is not in a tracking loss state due to the identification of the additional map points 430.
[0104] The camera 405 may undergo movement 420 to a point where a tracking loss 435 occurs, and the camera 405 may determine a set of new coordinates 415. A tracking loss 435 occurs when not enough map points 425 are identifiable in a captured frame. The tracking loss 435 may be caused based on rapid movement of the camera 405, loss of map points 425 due to interference, etc. Once the camera 405 has determined that a tracking loss 435 has occurred, the camera 405 identifies new coordinates 415 and new map points 440.
[0105] Figure 5 An exemplary vision-to-IMU transformation 500 is shown in accordance with an embodiment of the present disclosure. Figure 5 The embodiment of the vision-to-IMU transformation 500 shown in FIG. 5 is for illustration only. Other embodiments of the exemplary vision-to-IMU transformation may be used without departing from the scope of the present disclosure.
[0106] Most cameras define a set of camera coordinates 505 for a frame 510 based on the orientation of the camera or frame. For example, Figure 5 The camera coordinates 505 shown in show the x-axis as moving from the left and right side of the frame, the y-axis as moving from the top and bottom of the frame, and the z-axis as moving in and out of the frame.
[0107] A set of real-world coordinates 515 used by the IMU sensor can be based on gravity and other factors (e.g., North Pole). For example, real-world coordinates based on gravity can have the z-axis pointing in the direction of or away from the detected gravity, the y-axis can point in the direction of or away from the magnetic North Pole, and the x-axis can be perpendicular to the directions of the y-axis and the z-axis.
[0108] The visual pose defined in the camera coordinates 505 may be transformed to real-world coordinates 515 using a visual to IMU transformation 500. In other words, the visual data transforms the values of the visual x-axis to the real-world x-axis, the values of the visual y-axis to the real-world y-axis, and the values of the visual z-axis to the real-world z-axis. Once the transformation of the visual pose is completed, the visual data and the IMU data are aligned based on the real-world coordinates.
[0109] Figure 6 An exemplary enhanced vision-to-IMU transformation 600 is shown in accordance with an embodiment of the present disclosure. Figure 6 The embodiment of the enhanced vision-to-IMU transformation 600 shown in FIG. 6 is for illustration only. Other embodiments of the exemplary enhanced vision-to-IMU transformation may be used without departing from the scope of the present disclosure.
[0110] The enhanced vision-to-IMU transformation 600 is based on camera origin coordinates 605 , IMU origin coordinates 610 , camera intermediate coordinates 615 , IMU intermediate coordinates 620 , camera final coordinates 625 , and IMU final coordinates 630 .
[0111] The camera transformation 635 is used to transform the camera origin coordinates 605 into the camera final coordinates 625. The camera synchronization transformation 640 is used to transform the camera origin coordinates 605 into the camera intermediate coordinates 615. The camera transformation 635 multiplied by the inverse camera synchronization transformation 640 is used to transform the camera intermediate coordinates 615 into the camera final coordinates 625.
[0112] The camera-to-IMU extrinsic transformation 645 is used to transform the camera final coordinates 625 into the IMU final coordinates 630. The inverse camera-to-IMU extrinsic transformation 645 is used to transform the IMU intermediate coordinates 620 into the camera intermediate coordinates 615.
[0113] The IMU synchronous transformation 650 is used to transform the IMU origin coordinates 610 to the IMU intermediate coordinates 620. The camera to IMU extrinsic transformation 645 is multiplied by the camera transformation 635, the inverse camera transformation 640, and the inverse camera to IMU extrinsic transformation 645.
[0114] The IMU transformation 645 is used to transform the IMU origin coordinates 610 to the IMU final coordinates 630. The IMU transformation 645 can be determined by multiplying the camera-to-IMU transformation 645 by the camera transformation 635, the inverse camera synchronization transformation 640, the inverse camera-to-IMU extrinsic transformation 645, and the IMU synchronization transformation 650.
[0115] Figure 7 An exemplary reinitialization 700 with IMU-only pose tracking for tracking loss is shown in accordance with an embodiment of the present disclosure. Figure 7 The embodiment of reinitialization 700 for tracking loss shown in FIG. 7 is for illustration only. Other embodiments of the exemplary reinitialization may be used without departing from the scope of the present disclosure.
[0116] Unlike relocalization, reinitialization 700 can handle out-of-map tracking in tracking loss scenarios and can maintain a consistent set or coordinates. Camera 705 determines a set of initial coordinates 710 and identifies a map point 715 in the frame.
[0117] When the camera 705 undergoes movement 720, the camera 705 at only the IMU position 725 is no longer able to identify enough map points to determine the initial coordinates 710 using the visual pose. Only IMU pose extension is performed during the tracking loss process until reinitialization can occur.
[0118] The camera 705 resumes visual tracking with a new set of coordinates 735 and new map points 740. The electronic device 101 recognizes the reinitialized pose in the new coordinates 735 and executes the transformation equation 745 to transform the pose back to the initial coordinates 710. The pose track 750 is transformed back to the original real-world coordinates after reinitialization.
[0119] Fig. 8A An exemplary visual-only scale estimation 800 is shown in accordance with an embodiment of the present disclosure. Figure 8B An exemplary IMU-only scale estimate 805 is shown in accordance with an embodiment of the present disclosure. Fig. 8A The visual scale estimates shown in 800 and Figure 8B The embodiment of only IMU scale estimation 805 shown in is for illustration only. Other embodiments of the exemplary enhanced visual-only scale estimation and IMU-only scale estimation may be used without departing from the scope of the present disclosure. Both the visual-only scale estimation 800 and the IMU-only estimation 805 include the actual position 810.
[0120] Visual-only scale estimate 800 provides visual-only position 810, and IMU-only scale estimate 805 provides IMU-only position 820. Visual-only scale estimate and IMU-only scale estimate 805 include position in x-axis graph 825, y-axis graph 830, and z-axis 835. The various graphs compare position 840 to time 845.
[0121] Visual transformations can be upscaled. Monocular vision-only SLAMs are typically unable to retrieve the metric or true scale. The upscaling factor changes each time tracking is lost and is handled by an initialization or reinitialization strategy. Visual-inertial SLAMs can estimate the metric scale during initialization, but errors in the estimate can compound during tracking. Therefore, a one-time scale estimate is insufficient, and continuous scale optimization during online operation is ideal.
[0122] Scaling error is a function of the estimation policy. Scaling error is a function of drift over time. Scaling error is not a function of the specific move performed.
[0123] For IMU-only scale estimation 805, the IMU allows measurements on a metric scale. IMU estimation is susceptible to noise and drift over time. Therefore, IMU estimation is inadequate. A combination of vision and IMU estimation is preferred for operation.
[0124] Fig. 9 An exemplary dual sliding window 900 for scale optimization is shown according to an embodiment of the present disclosure. Fig. 9 The embodiment of the dual sliding window 900 shown in FIG. 1 is for illustration only. Other embodiments of the exemplary dual sliding window may be used without departing from the scope of the present disclosure.
[0125] In order to use both vision and IMU for estimation, the data received from each of the camera and IMU needs to be synchronized. The dual sliding window 900 includes sliding windows for IMU delta transforms 905 and vision delta transforms 910. The transform pairs between the IMU delta transforms 905 and vision delta transforms 910 are allowed to have the same sign to ensure an allowed or positive scale solution.
[0126] Visual incremental conversion (△t V )910 is converted to the IMU increment (△t I )905 receives data at a slower frequency. Fig. 9 In the illustration, visual data is received within 100ms and IMU data is received within 5ms. For each window of visual data, the IMU data is aggregated over a time equal to the visual data. In the example provided, 20 sets of IMU data are received in the amount of time that a single set of visual data is received. The two sets of data are compared as a transition pair to determine if the position signs are the same to be considered allowed data.
[0127] Once sufficient motion is detected, linear regression is used for Δt I =s·Δt V to solve for the scale factor s. Only solutions with high correlation coefficients are allowed.
[0128] Fig.10 An exemplary scale estimation 1000 over time using a dual sliding window is shown according to an embodiment of the present disclosure. Fig.10 The embodiment of the scale estimate 1000 shown in FIG. 1 is for illustration only. Other embodiments of the exemplary scale estimate may be used without departing from the scope of the present disclosure.
[0129] A single scale estimate cannot capture the appropriate scale value. 1 1005, the initialization time is fast, which makes the scale very inaccurate. 2 1010, the initialization time exceeds 25 seconds, which improves the scale accuracy. 3 1015, the initialization time is over 2 minutes, which provides the best estimate. One-shot scale estimation has difficulty capturing scale changes with visual reinitialization. Online scale optimization provides the best of two options of fast initial guess and scale optimization over time.
[0130] Fig.11 An exemplary scale optimization 1100 is shown in accordance with an embodiment of the present disclosure. Fig.11 The embodiment of scale optimization 1100 shown in FIG. 1 is for illustration only. Other embodiments of the exemplary scale optimization may be used without departing from the scope of the present disclosure.
[0131] As previously described, the optimization metric 1105 provides a fast initial guess and becomes optimized over time. The optimization metric is based on the combined estimated position 1110 and the actual position.
[0132] Figure 12-14 The fusion of different time distributions is shown. The Kalman fusion term involves the following two-step process. The first step involves covariance updating. The covariance update can use Equation 1-Equation 3.
[0133] S=R+HPH T (Equation #1)
[0134] K=PH T / S (Equation #2)
[0135] P=(1-KH)P(I-KH) T +KK T R (Equation #3)
[0136] Where S is the innovation variance (scalar), R is the prior visual measurement variance (scalar), H is the visual measurement matrix, K is the Kalman gain vector, and P is the state or estimated covariance matrix.
[0137] The second step involves state update. The state update can use Equation 4 and Equation 5.
[0138] y=z-Hx (Equation #4)
[0139] x=x+Ky (Equation #5)
[0140] Where y is the innovation (scalar), z is the visual measurement (scalar), and x is the state or estimate vector.
[0141] Fig.12 An exemplary inexact Kalman fusion 1200 is shown according to an embodiment of the present disclosure. Fig.12 The embodiment of the fusion 1200 shown in FIG. 1 is for illustration only. Other embodiments of the exemplary fusion may be used without departing from the scope of the present disclosure.
[0142] Fusion 1200 involves image available time 1205 and visual pose available time 1210. Image available time 1205 is the time when image 1215 is received or captured. At visual pose available time 1210 in fusion 1200, covariance 1220 and state update 1225 are performed. Fusion 1200 ignores image to visual pose delay, which makes fusion 1200 inaccurate. The inaccuracy occurs because the update should be based on an earlier time, such as image available time 1205.
[0143] Fig.13 An exemplary high-latency Kalman fusion 1300 is shown according to an embodiment of the present disclosure. Fig.13 The illustrated embodiment of high-latency Kalman fusion 1300 is for illustration only. Other embodiments of exemplary high-latency Kalman fusion may be used without departing from the scope of the present disclosure.
[0144] Fusion 1300 involves an image available time 1305 and a visual pose available time 1310. The image available time 1305 is the time when the image 1315 is received or captured. At the visual pose available time 1310, fusion 1300 effectively traverses backwards in time 1320 to the image available time 1305. Covariance updates 1325 and state updates 1330 are performed based on the traversal time. Once the updates are performed, the results are propagated to the current time 1335 or the visual pose available time 1310. Fusion is on the critical path, so too many operations at once can stall the entire system, causing excessive latency spikes due to fusion. At the visual pose available time 1310, the latency can increase to an amount higher than the time between IMU data due to the amount of operations.
[0145] Fig.14 Exemplary time-distributed fusion 1400 is shown according to an embodiment of the present disclosure. Fig.14 The embodiment of time-distributed fusion 1400 shown in FIG. 1 is for illustration only. Other embodiments of the exemplary time-distributed fusion may be used without departing from the scope of the present disclosure.
[0146] Fusion 1400 involves image available time 1405 and visual pose available time 1410. Image available time 1405 is the time when image 1415 is received or captured and covariance update is performed. Fusion 1400 has a modified state update performed at visual pose available time 1410. The modified state update can use Equation 6 and Equation 7.
[0147] y=z-Hx (Equation #6)
[0148]
[0149] where F is the dynamic or propagation matrix, and is the pre-update (covariance) Kalman gain. Fusion 1400 provides accurate fusion with reduced maximum latency. The computation of covariance updates 1420 and modified state updates 1425 are distributed over time, and bookkeeping operations are removed to maintain latency of less than five milliseconds.
[0150] Fig.15 An exemplary overlap correction 1500 for time-distributed fusion according to an embodiment of the present disclosure is shown. Fig.15 The embodiment of overlap correction 1500 for time-distributed fusion shown in FIG. 1 is for illustration only. Other embodiments of the exemplary overlap correction for time-distributed fusion may be used without departing from the scope of the present disclosure.
[0151] Correction is required in case of overlapping fusion 1500. For fusion without overlapping 1505, the following time values are increased: time of the first image (ti 1 ), first position output time (t p1 ), the second image (t p2 ) and the second pose output (t p2 ). The non-overlap fusion 1505 can be defined by the following equations 8 and 9.
[0152]
[0153]
[0154] For overlap fusion 1500, the following time values are increased: the time of the first image (t i1 ), the time of the second image (t p2 ), first position output time (t p1 ) and the second pose output time (t p2 ). Overlap fusion 1500 may be defined by the following equations 10 and 11.
[0155]
[0156]
[0157] Fig.16 An exemplary pipeline 1600 for camera preview in a smartphone is shown according to an embodiment of the present disclosure. Fig.16 The embodiment of the camera preview pipeline 1600 shown in FIG. 1 is for illustration only. Other embodiments of the exemplary camera preview pipeline may be used without departing from the scope of the present disclosure.
[0158] The camera preview pipeline 1600 includes an image pipeline 1605 and a display pipeline 1610 at a time including a first frame time 1615 and a second frame time 1620. SLAM can have a high image-to-pose delay that is usually hidden by the camera preview. For example, a first frame 1625 is captured at a first frame time 1615, and a second frame 1630 is captured at a second frame time 1620. A preview image 1635 is presented on a display 1640. A finite time 1645 is required to calculate the pose of an AR object 1650. In a delay-tolerant display, the preview image 1635 displays the first image time 1615 at the second image time 1620.
[0159] Fig.17 An exemplary pipeline 1700 for a transparent display in smart glasses is shown according to an embodiment of the present disclosure. Fig.17 The embodiment of the transparent display pipeline 1700 shown is for illustration only. Other embodiments of the exemplary transparent display pipeline may be used without departing from the scope of the present disclosure.
[0160] The transparent display pipeline 1700 includes an image pipeline 1705 and a display pipeline 1710 at a time including a first frame time 1715 and a second frame time 1720. A first frame 1725 is captured at the first frame time 1715, and a second frame 1730 is captured at the second frame time 1720. The transparent display 1735 always displays the current image. The AR object 1740 in the first frame 1725 and the second frame 1730 requires low latency for correct positioning.
[0161] Fig.18 A pose fusion architecture 1800 for accurate low-latency SLAM according to an embodiment of the present disclosure is shown. Fig.17 The embodiment of the pose fusion architecture 1800 for accurate low-latency SLAM shown in FIG is for illustration only. Other embodiments of the exemplary pose fusion architecture for accurate low-latency SLAM may be used without departing from the scope of the present disclosure.
[0162] The pose fusion architecture 1800 includes an IMU sensor 1805 and a camera 1810 in a device. The motion data captured by the IMU sensor is output to an IMU-only pose estimator 1815. The IMU-only pose estimator 1815 provides an IMU-only orientation using a method such as Mahony's proportional integral (PI) estimator with very low drift. The IMU-only pose estimator 1815 provides an IMU-only transformation using state space dynamics with bias and cross-join tracking to mitigate drift. The IMU-only pose estimator 1815 can perform an IMU-only transformation using Equations 12-20.
[0163]
[0164]
[0165]
[0166]
[0167] a′=(a i -a b )+(a i,1 -a b,1 )·m 1 +(a i,2 -a b,2 )·m 2 (Equation #16)
[0168]
[0169] v′ i =v i +a·dt (Equation #18)
[0170] v′=v i -v b (Equation #19)
[0171] p′=p+v·dt (Equation #20)
[0172] in, is with m 1 The corresponding noise term, is with m 2 The corresponding noise term, m 1 and m 2 are the cross-coupling terms of the other axes, is with a b The corresponding probability weight, a in is the acceleration due to zero gravity, a b is the acceleration bias, a b,1 and a b,2 is the acceleration bias of other axes, a i is the nominal acceleration, a i,1 and a i,2 is the nominal acceleration of the other axes, a is the acceleration, v b is the velocity bias, v iis the nominal velocity (i.e., integrated acceleration), v is the velocity, and p is the position. Note that only the IMU transformations are processed independently for each axis. Independent processing for each axis provides improved bias and cross-coupled tracking to improve pose accuracy, and avoids computationally expensive operations (such as matrix inversion) later in fusion, which reduces pose latency. Probability weighting provides a data-driven knob to reduce noise in the estimates of bias and intermediate values, which improves pose accuracy.
[0173] The output of the visual data from the camera 1810 is used in the visual SLAM 1820. The visual SLAM 1820 involves Figure 19A-Figure 19C Corresponding tracking 1900, mapping 1905, and loop closure 1910 are described in more detail.
[0174] Scale optimizer 1830 works similarly to scale optimizer 225, transform 1825 works similarly to coordinate transform 230, and time distributed fusion 1835 works similarly to time distributed fusion 235. The output of the architecture is fused pose 1840.
[0175] Fig.19A Exemplary visual SLAM tracking 1900 is shown according to an embodiment of the present disclosure. Fig.19B An exemplary visual SLAM map 1905 is shown in accordance with an embodiment of the present disclosure. Fig.19C An exemplary visual SLAM loop closure 1910 is shown according to an embodiment of the present disclosure. Fig.19A The visual SLAM tracking 1900, visual SLAM mapping 1905 and Fig.19C The embodiment of visual SLAM loop closure 1910 shown in FIG. 1 is for illustration only. Other embodiments of exemplary visual SLAM tracking, visual SLAM mapping, and visual SLAM loop closure may be used without departing from the scope of the present disclosure.
[0176] Tracking 1900 extracts ORB features as map points 1915. Pose estimation for keyframes uses perspective n-point (PnP) and motion-only bundle correction (BA).
[0177] The map 1905 triangulates 1920 the three-dimensional map points 1915. The map 1905 uses local BA for both motion and map points 1915.
[0178] Loop closure 1910 uses similarity transformation to perform loop detection 1925. Loop closure 1910 performs loop correction 1930 by optimizing the basis graph of the keyframes.
[0179] None of the description in this application should be read as implying that any particular element, step, or function is an essential element that must be included in the claims scope. The scope of the patented subject matter is limited solely by the claims.
Claims
1. A method for controlling an electronic device, include: identifying map points in visual data captured by a camera to determine a visual pose in camera coordinates, wherein the visual data is in camera coordinates; In response to insufficient map points being identified in the captured visual data to determine a visual pose in camera coordinates, reinitializing the visual pose to be in camera coordinates using motion data captured from an inertial measurement unit (IMU) sensor, wherein the captured motion data is in IMU coordinates; Transform visual pose from camera coordinates to IMU coordinates; Based on the combination of the visual pose and the IMU pose in IMU coordinates, a scale factor is applied to the visual pose. fusing the rescaled visual pose and the IMU pose into a fused pose in a time-distributed manner; and The fused pose is output for use with a display of an electronic device.
2. The method according to claim 1, in, The steps of transforming the visual pose also include: Update the dual sliding windows for visual pose and IMU pose, where the dual sliding windows include IMU incremental transformation and visual incremental transformation; IMU delta transforms and vision delta transforms are allowed to have transform pairs with the same sign; and Linear regression was performed to determine the scale factor.
3. The method according to claim 1, in, The scaled visual pose and IMU pose are fused into a fused pose in a time-distributed manner, including: Overlap correction is performed only before the fusion state is updated; The visual pose is fused into the fused pose based on the overlap correction.
4. The method according to claim 3, in, The steps to transform the visual pose include: The visual pose is fused independently for each axis in IMU coordinates.
5. The method according to claim 1, further comprising: include: When a new image signal is detected, the covariance of the fused pose is updated; as well as When the visual pose is available, update the fused pose.
6. The method according to claim 1, in, The steps when loss of visual tracking from the initial camera coordinates occurs include: Keep IMU tracking until visual tracking is reinitialized; Identify new camera coordinates based on reinitialized visual tracking; Determining transformation equations between the new camera coordinates and the initial camera coordinates; and After visual tracking is reinitialized, the transformation equation is applied to the visual pose.
7. The method of claim 1, further comprising: include: An augmented reality (AR) object is displayed in a display based on the fused pose.
8. An electronic device, include: an inertial measurement unit (IMU) sensor configured to capture movement data; a camera configured to capture visual data; monitor; as well as The processor, combined with the IMU sensor, camera and display, is configured to: identifying map points in the captured visual data to determine a visual pose in camera coordinates, wherein the visual data is in camera coordinates; In response to insufficient map points being identified in the captured visual data to determine a visual pose in camera coordinates, reinitializing the visual pose to be in camera coordinates using captured motion data from an IMU sensor, wherein the captured motion data is in IMU coordinates; Transform visual pose from camera coordinates to IMU coordinates; Based on the combination of the visual pose and the IMU pose in IMU coordinates, a scale factor is applied to the visual pose. fusing the rescaled visual pose and the IMU pose into a fused pose in a time-distributed manner; and Output the fused pose for use with a display.
9. The electronic device as claimed in claim 8, in, The processor is further configured to operate according to one of the methods of claims 2 to 7.
10. A computer readable medium comprising a computer program, in, The computer program comprises computer readable program code, wherein the computer readable program code, when executed, causes at least one processor to perform the following operations: identifying map points in visual data captured by a camera to determine a visual pose in camera coordinates, wherein the visual data is in camera coordinates; In response to insufficient map points being identified in the captured visual data to determine a visual pose in camera coordinates, reinitializing the visual pose to be in camera coordinates using motion data captured from an inertial measurement unit (IMU) sensor, wherein the captured motion data is in IMU coordinates; Transform visual pose from camera coordinates to IMU coordinates; Based on the combination of the visual pose and the IMU pose in IMU coordinates, a scale factor is applied to the visual pose. fusing the rescaled visual pose and the IMU pose into a fused pose in a time-distributed manner; and Output the fused pose for use with a display.
11. The computer readable medium of claim 10, in, The computer program further comprises a computer readable program code, wherein the computer readable program code, when executed, causes at least one processor to operate according to one of the methods of claims 2 to 7.
