Specular surface mapping
By using a combination of NIR light source and camera, the problem of difficult identification of specular reflective surfaces in 3D mapping systems has been solved, enabling accurate detection and differentiation of specular reflective surfaces and improving the security of extended reality systems.
Patent Information
- Application Number
- CN202180053283.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-06-30
- Filing Date
- 2021-06-29
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2041-06-29
AI Technical Summary
Existing technologies struggle to effectively detect and distinguish specular reflective surfaces such as glass and mirrors, leading to misjudgments by conventional 3D mapping systems when identifying these surfaces.
By combining a NIR light source and a camera, the angle and distribution of reflected light are analyzed by projecting NIR light patterns. The characteristics of the specular reflective surface are used to identify and map the specular reflective surface. False positives are filtered out by combining signal processing techniques to determine the range and distance of the surface.
It enables accurate identification and differentiation of specular reflective surfaces, improves the detection capability of 3D mapping systems for specular reflective surfaces, and enhances the security of extended reality systems.
Smart Images

Figure CN116472559B_ABST
Abstract
Description
Background Technology
[0001] Specular mapping, or specular surface mapping, is a method in computer graphics for defining the shape of illuminated or reflective areas on a surface or the shape of illuminated or reflective surfaces in an environment. For example, a surface may include specular and non-spectral portions, and a specular map can be generated using specular mapping techniques and applied to define only the specular portions of the surface as illuminated or reflective. As another example, a room may include non-spectral surfaces and objects as well as specular surfaces and objects, such as mirrors, windows, and glass tabletops. Specular mapping techniques can be used to generate a specular surface map defining the specular surfaces within a room. Summary of the Invention
[0002] Various embodiments of methods and apparatus for identifying and mapping specularly reflective surfaces such as mirrors and window glass are described. Embodiments of specularly reflective surface mapping methods can utilize the properties of highly specularly reflective surfaces, including glass and mirrors, where NIR light of 850 nm or similar wavelengths is strongly reflected at almost perfectly orthogonal angles and follows a spatiotemporal or amplitude distribution as the viewing angle of the surface or object changes. Embodiments can implement signal processing techniques that utilize the physical properties of the interaction between NIR light and specularly reflective surfaces to detect glass, mirrors, and other highly reflective surfaces in the environment and to classify materials.
[0003] In this implementation, a NIR light source (e.g., an NIR LED array, also known as a NIR point projector) projects a NIR point pattern onto the environment. An NIR camera observes the NIR light source reflected in a surface such as glass or a mirror. The NIR light source may be located on a device (e.g., a head-mounted device (HMD) or a handheld device, such as a mobile utility device (e.g., a smartphone or tablet)) close to the NIR camera. The specular reflection surface mapping method leverages the fact that the vector of reflection from the NIR light source will be constant relative to the reflecting surface (and normal to the reflecting surface if the NIR light source and the NIR camera coincide). The observed reflections from the NIR light source can be identified as virtual point sources and projected onto a celestial sphere (e.g., projected into a SLAM (Simultaneous Localization and Mapping) model). Points on the sphere can be treated like “guide stars” and become stationary regardless of how the device translates or rotates.
[0004] Projecting virtual point sources onto the celestial sphere allows for the aggregation of results (e.g., multiple observations). Clusters of virtual point sources on the celestial sphere can be identified and used to identify surfaces as specular surfaces (e.g., glass or a mirror). Clusters of virtual point sources on the celestial sphere can also be used to extract additional information about specular surfaces, including but not limited to the distance to the specular surface and the extent of the specular surface.
[0005] Clusters of virtual point sources on the celestial sphere can be used to filter out false positives. True positive observations of NIR sources should be tightly clustered on the celestial sphere. False positives should be randomly distributed and therefore can be filtered out.
[0006] In some embodiments, the extent and distance of the specular reflective surface can be determined by observing the reflection from the NIR light source. When the normal to the specular reflective surface is within the field of view of the NIR camera, the reflection from the NIR light source is visible in a volume projected perpendicularly from the specular reflective surface into the environment (e.g., a room). Any observation of the reflection within this volume falls at the same location on the celestial sphere, but at a different location within the mapped volume. Correlating focal points on the celestial sphere with their locations within the mapped volume can be used to infer the extent of the reflecting plane (specular reflective surface). In some embodiments, the distance to the observed reflection can also be used to determine the distance to the specular reflective surface. In some embodiments, alternatively or additionally, the extent and distance of the specular reflective surface can be inferred from observations of a frame of the specular reflective surface.
[0007] While implementations are typically described as using a near-infrared (NIR) light source, some implementations may use light sources of other wavelengths, such as infrared (IR), short-wave infrared (SWIR), mid-wave infrared (MWIR), long-wave infrared (LWIR), and wavelengths in the visible portion of the spectrum.
[0008] Exemplary applications of the specular surface mapping method and apparatus described herein are in handheld devices, such as smartphones, tablets, or tablet computers. Using the implementation, the device can be moved by a user to identify, map, and categorize specular surfaces in an environment such as a room. This information can be integrated, for example, into 3D mapping information generated by the device. Another exemplary application of the specular surface mapping method is in head-mounted displays (HMDs), such as those used in extended reality (XR) systems, which include an opaque user-facing display on which XR content is displayed for the user to view. By identifying and mapping specular surfaces in an environment such as a room, the implementation can, for example, provide improved security for the wearer of the HMD by informing them of the presence of glass doors, mirrors, or windows that might be incorrectly identified as open spaces on walls in conventional HMD 3D mapping systems. Attached Figure Description
[0009] Figure 1 A point near-infrared (NIR) light source reflected from a specular reflective surface to an NIR camera is shown according to some embodiments.
[0010] Figure 2 The projection of NIR light reflected onto the celestial sphere is shown according to some embodiments.
[0011] Figure 3 Clusters of NIR light reflections from a specular surface are shown according to some embodiments.
[0012] Figure 4 The volume of visible NIR light reflected by a camera is shown according to some embodiments.
[0013] Figures 5A to 5E The NIR projection point pattern according to some implementation schemes is shown.
[0014] Figure 6 This is a high-level flowchart of a specular reflection surface mapping method based on some implementation schemes.
[0015] Figure 7 This is a high-level block diagram of a system for integrating specular reflective surface information into a 3D mapping of the environment, based on some implementation schemes.
[0016] Figure 8A and Figure 8B This is a block diagram illustrating a device that may include a specular surface mapping mechanism according to some embodiments.
[0017] Figure 9A and Figure 9B This is a block diagram illustrating another device that may include a specular surface mapping mechanism according to some embodiments.
[0018] This specification includes references to "one embodiment" or "implementation". The use of the phrase "in one embodiment" or "in an embodiment" does not necessarily refer to the same embodiment. Specific features, structures, or characteristics may be combined in any suitable manner consistent with this disclosure.
[0019] The term "comprising" is open-ended. As used in the claims, it does not exclude additional structures or steps. Consider the following cited claim: "An apparatus comprising one or more processor units..." Such claims do not exclude the inclusion of additional components (e.g., network interface units, graphics circuitry, etc.).
[0020] "Configured as" refers to various units, circuits, or other components that can be described or stated as being "configured as" to perform one or more tasks. In such a context, "configured as" is used to imply a structure by indicating that the unit / circuit / component includes a structure (e.g., a circuit) that performs this one or more tasks during operation. Thus, a unit / circuit / component is allegedly configured to perform the task even when the specified unit / circuit / component is currently inoperable (e.g., not switched on). Units / circuits / components used with the language "configured as" include hardware—e.g., circuits, memory storing program instructions that can be executed to perform the operation, etc. The reference to a unit / circuit / component being "configured as" to perform one or more tasks is explicitly intended to exclude paragraph 6 of 35 U.S.SC §112 for that unit / circuit / component. Furthermore, "configured as" can include general structures (e.g., general circuits) manipulated by software or firmware (e.g., an FPGA or a general-purpose processor executing software) in a manner capable of performing one or more tasks to be solved. "Configured to" may also include adjusting the manufacturing process (e.g., a semiconductor manufacturing facility) to manufacture equipment (e.g., an integrated circuit) suitable for performing one or more tasks.
[0021] "First," "second," etc. As used herein, these terms serve as labels for the nouns preceding them and do not imply any type of ordering (e.g., spatial, temporal, logical, etc.). For example, a buffer circuit may be described herein as performing write operations on a "first" value and a "second" value. The terms "first" and "second" do not necessarily imply that the first value must be written before the second value.
[0022] The terms "based on" or "depending on," as used herein, are used to describe one or more factors that influence a determination. These terms do not exclude additional factors that may influence the determination. That is, a determination may be based solely on these factors or at least in part on them. Consider the phrase "A is determined based on B." In this case, B is a factor influencing the determination of A, and such phrases do not exclude the possibility that the determination of A may also be based on C. In other instances, A may be determined solely on B.
[0023] When used in the claims, the term "or" is interpreted as an inclusive "or," not an exclusive "or." For example, the phrase "at least one of x, y, or z" means any one of x, y, and z, and any combination thereof. Detailed Implementation
[0024] Various embodiments of methods and apparatus for identifying and mapping specular reflective surfaces such as mirrors and window glass are described. Various devices, including but not limited to head-mounted devices (HMDs) and handheld devices, may include sensor technologies and software for generating three-dimensional (3D) maps of environments such as rooms. 3D mapping can be used in a variety of applications, including but not limited to extended reality (XR) applications. Automatic and semi-automatic 3D mapping of environments is typically performed using a combination of near-infrared (NIR) light sources and depth cameras and visible light cameras employing computer vision algorithms to reconstruct the surrounding environment by segmenting objects, planes, and depth.
[0025] However, detecting glass (e.g., windows and glass doors, glass tables, glass room partitions, etc.), mirrors, and other highly specularly reflective surfaces using conventional visible light cameras, depth cameras, and 3D mapping methods is challenging. Glass typically exhibits strong transmittance of NIR light (~850 nm) projected by a structured light depth camera, while mirrors, due to their high reflectivity, obscure depth measurements. Light from an NIR depth camera is either not reflected or is reflected away from the NIR camera.
[0026] Implementations of the methods and apparatus for mapping specular surfaces, as described herein, can utilize the properties of highly specular surfaces, including glass and mirrors, where NIR light of 850 nm or similar wavelengths is strongly reflected at almost perfectly orthogonal angles and follows a spatiotemporal or amplitude distribution as the viewing angle of the surface or object changes. Implementations can enable signal processing techniques that utilize the physical properties of the interaction between NIR light and highly specular surfaces to detect glass, mirrors, and other highly reflective surfaces in the environment and to classify materials.
[0027] While implementations are typically described as using a near-infrared (NIR) light source, some implementations may use light sources of other wavelengths, such as infrared (IR), short-wave infrared (SWIR), mid-wave infrared (MWIR), long-wave infrared (LWIR), and wavelengths in the visible portion of the spectrum.
[0028] In some implementations, the NIR dot pattern projected onto an NIR light source in the environment (e.g., an NIR LED array, also known as an NIR dot projector) can be positioned close to an NIR camera. As the fixed NIR dot pattern moves away at an orthogonal angle, different materials provide unique responses and reflectivities that can be detected in time-varying amplitudes on the fixed dot pattern as the device moves relative to the environment. On the device (e.g., an HMD or handheld device), the device's pose can be measured and predicted immediately, thus providing a reference frame for the fixed NIR dot pattern that moves rigidly with the device.
[0029] In this implementation, the method of mapping a reflective surface involves observing a NIR light source (e.g., an NIR point projector) that can be reflected in a surface such as glass or a mirror. The NIR light source can be located on a device (e.g., an HMD or a handheld device) close to an NIR camera. This method leverages the fact that the vector of reflection from the NIR light source relative to the reflective surface will be constant (and normal to the reflective surface if the NIR light source and the NIR camera coincide). The observed reflection from the NIR light source can be identified as a virtual point source and projected onto the celestial sphere. If the observation is simply viewed as a reflection, the virtual point source will translate with the translation of the device. However, if the virtual point source is moved to infinity by projecting it onto the celestial sphere (e.g., projecting it into a SLAM (Simultaneous Localization and Mapping) model), the point on the sphere can be viewed as a “guide star” and become stationary regardless of how the device translates or rotates.
[0030] Projecting virtual point sources onto the celestial sphere allows for the aggregation of results (e.g., multiple observations). Clusters of virtual point sources on the celestial sphere can be identified and used to identify surfaces as specular surfaces (e.g., glass or a mirror). Clusters of point sources on the celestial sphere can also be used to extract additional information about specular surfaces, including but not limited to the distance to the specular surface and the extent of the specular surface.
[0031] Clusters of virtual point sources on the celestial sphere can be used to filter out false positives (e.g., reflections detected from sources other than NIR sources, the sun or solar flashes seen through a window, other point sources within the mapped volume, etc.). True positive observations of NIR sources should be tightly clustered on the celestial sphere. False positives should be randomly distributed and therefore can be filtered out. In some implementations, one or more other techniques may alternatively or also be used to detect false positive sources. These techniques may include, but are not limited to:
[0032] • Compare the image captured by the NIR camera with a visible band image captured by another camera on the device. If the light source appears in the visible band image, it is not an NIR light source.
[0033] • NIR light sources can be turned on and off. If a light source is still present when an NIR light source is turned off, then it is not an NIR light source.
[0034] In some embodiments, the extent and distance of the specular reflective surface can be determined by observing the reflection from a NIR light source. When the normal to the specular reflective surface is within the field of view of the NIR camera, the reflection from the NIR light source is visible in a volume projected perpendicularly from the specular reflective surface into the environment (e.g., a room). Any observation of the reflection within this volume falls at the same location on the celestial sphere, but at a different location within the mapped volume. Correlating focal points on the celestial sphere with their locations within the mapped volume can be used to infer the extent of the reflecting plane (specular reflective surface). In some embodiments, the distance to the observed reflection can also be used to determine the distance to the specular reflective surface. In some embodiments, alternatively or additionally, the extent and distance of the specular reflective surface can be inferred from observation of the frame of the specular reflective surface (e.g., a window frame, mirror frame, or door frame).
[0035] In some implementations, one or more additional dedicated NIR light sources may be used. For example, another NIR light source may be a wider beam and / or a brighter NIR light source that is controlled independently of the NIR point projector or time-of-flight (TOF) illuminator.
[0036] In some implementations, one or more methods can be used to increase the field of view (FOV) of the NIR camera used in specular surface mapping. For example, in some implementations, an IR filter can be removed or disabled for the visible light camera of the device. The visible light camera can then be used in combination with the NIR camera to locate reflections from the NIR light source, thereby providing a wider FOV for the specular surface mapping system. In some implementations, a dedicated wide FOV sensor can be used to provide a wider FOV without modifying the visible light camera; narrowband filters can be used to increase the contrast between the NIR light source and ambient light.
[0037] In some implementations, a NIR dot pattern projected by a NIR light source can be used to distinguish specular and non-speckular surfaces and to determine one or more surface properties (e.g., material or type). As the fixed NIR dot pattern is moved away at an orthogonal angle, different materials provide unique responses and reflectivities detectable in time-varying amplitudes on the fixed dot pattern as the device moves relative to its environment. On the device (e.g., an HMD or handheld device), the device's pose can be measured and predicted immediately, providing a reference frame for the fixed NIR dot pattern that moves rigidly with the device. The spatial and temporal distribution of amplitudes at the points produces vectors that can be compared to the device's 3D mapping and pose. For example, glass will have a "sharp" profile, resulting in a very strong amplitude of reflection at an orthogonal point, while adjacent points have little signal. The profiles of other specular (and non-speckular) surfaces (e.g., mirrors, polished surfaces, glossy white walls, etc.) will exhibit a range of distinct profiles that can be used to classify the type of surface currently being observed.
[0038] While implementations using NIR point projectors as structured NIR light sources are typically described, implementations can also be implemented using dedicated NIR floodlights instead of point projectors as NIR light sources, or using a combination of two or more different NIR light sources.
[0039] Exemplary applications of the methods and apparatus for specular surface mapping described herein are in handheld devices such as smartphones, tablets, or tablet computers. Specular surface mapping components (NIR cameras, NIR light sources, etc.) may be attached to or integrated into the device, and the device may be moved by the user to identify, map, and categorize specular surfaces in an environment such as a room. This information may, for example, be integrated into 3D mapping information generated by other components of the device. Figure 8A and Figure 8B A handheld device, which may include a specular surface mapping mechanism, is shown according to some embodiments.
[0040] Another exemplary application of the methods and apparatus for specular surface mapping described herein is in extended reality (XR) systems. XR systems may include wearable devices such as headsets, helmets, goggles, or glasses (referred to herein as head-mounted devices (HMDs)). An HMD may include an opaque, user-facing display on which XR content is displayed for the user to view. Alternatively, the head-mounted system may be configured to accept an external opaque display (e.g., a smartphone). During an XR session, the HMD may completely obstruct the user's normal line of sight, thus requiring the HMD to be aware of its surroundings and to warn the user when too close to obstacles. However, as previously mentioned, conventional 3D mapping systems struggle to identify highly specular surfaces, such as mirrors, glass doors, and window panes. Implementations of the specular surface mapping methods and apparatus on an HMD can be used to identify and map the extent of these specular surfaces; this information can be integrated into 3D mappings generated by other components of the HMD. By identifying and mapping mirrored surfaces in an environment such as a room, implementations can provide improved security for HMD wearers, for example, by informing them of the presence of glass doors, mirrors, or windows that might be incorrectly identified as open spaces on a wall in a conventional HMD 3D mapping system. Figure 9A and Figure 9B An exemplary HMD 700, which may include a specular surface mapping mechanism according to some embodiments, is shown.
[0041] A physical environment refers to the physical world that a person can interact with and / or sense without using electronic devices. A physical environment can include physical features such as physical objects or surfaces. For example, a physical environment can include a physical city, which includes physical buildings, physical streets, physical trees, and physical people. People can directly interact with and / or sense the physical environment, for example, through touch, sight, taste, hearing, and smell. On the other hand, an extended reality (XR) environment refers to a fully or partially simulated environment that a person can interact with and / or sense using electronic devices. For example, an XR environment can include virtual reality (VR) content, augmented reality (AR) content, mixed reality (MR) content, etc. Using an XR system, a portion of a person's body movement or its representation can be tracked. In response, one or more features of a virtual object simulated in the XR environment can be adjusted such that it adheres to one or more physical laws. For example, an XR system can detect the user's head movement and, in response, adjust the graphical and auditory content presented to the user in a manner similar to how views and sounds change in a physical environment. In another example, an XR system can detect movement of an electronic device (such as a laptop, mobile phone, tablet, etc.) presenting the XR environment, and in response, adjust the graphical and auditory content presented to the user in a manner similar to how views and sounds change in the physical environment. In some cases, an XR system can adjust one or more features of the graphical content in the XR environment in response to a representation of physical motion (such as a voice command).
[0042] Various electronic systems enable a person to interact with and / or sense an XR environment. Examples include projection-based systems, head-mounted systems, head-up displays (HUDs), windows with integrated displays, vehicle windshields with integrated displays, displays designed to be placed on a user's eyes (e.g., similar to contact lenses), speaker arrays, headsets / earpieces, input systems (e.g., wearable or handheld controllers with or without haptic feedback), tablets, smartphones, and desktop / laptop computers. A head-mounted system may include an integrated opaque display and one or more speakers. In other examples, the head-mounted system may accept an external device with an opaque display (e.g., a smartphone). The head-mounted system may include one or more image sensors and / or one or more microphones to capture images or video and / or audio of the physical environment. In other examples, the head-mounted system may include a transparent or translucent display. The medium through which light representing the image is guided may be included within the transparent or translucent display. The display may utilize OLED, LED, uLED, digital light projection, laser scanning light sources, liquid crystal on silicon, or any combination of these technologies. The medium can be a holographic medium, an optical combiner, an optical waveguide, an optical reflector, or a combination thereof. In some examples, transparent or translucent displays can be configured to selectively become opaque. Projection-based systems can use retinal projection techniques to project graphic images onto a user's retina. Projection systems can also be configured to project virtual objects into a physical environment, such as onto a physical surface or as a hologram.
[0043] Figure 1 A point NIR light source reflecting from a specular surface to a near-infrared (NIR) camera is illustrated according to some embodiments. In one embodiment, the method of mapping the reflective (specular) surface involves observing a NIR light source 140 (e.g., an NIR point projector) that can be reflected from a specular surface 192, such as a glass window, glass door, or mirror in room 190. The NIR light source 140 may be located on a device (e.g., an HMD or handheld device), close to the device's NIR camera 150. This method utilizes the fact that if the NIR light source 140 and the NIR camera 150 coincide, the vector of reflection 142 of the NIR light source 140 relative to the specular surface 192 will be constant and normal to the specular surface 192.
[0044] Figure 2The projection of NIR light reflection 142 onto the celestial sphere according to some embodiments is shown. The observed reflection 142 of the NIR light source 140 can be identified as a virtual point source and projected 144 onto the celestial sphere 110. If the observation 142 is simply regarded as a reflection, the virtual point source will translate with the translation of the device. However, if the observed reflection 142 is moved to infinity by projecting the virtual point source 144 onto the celestial sphere (e.g., projecting it into a SLAM (Simultaneous Localization and Mapping) model), the point 144 on the celestial sphere 110 can be regarded as a kind of "guiding star" (at infinity) and becomes stationary regardless of how the device translates or rotates.
[0045] Figure 3 A cluster of NIR light reflections from a specular surface is illustrated according to some embodiments. The projection 144 of virtual point sources onto the celestial sphere 110 allows for aggregation of results (e.g., multiple observations). The cluster 146 of virtual point sources on the celestial sphere 110 can be identified and used to identify the surface as a specular surface (e.g., glass or a mirror). The cluster 146 of virtual point sources on the celestial sphere 110 can also be used to extract additional information about the specular surface 192, including but not limited to the distance to the specular surface 192 and the extent of the specular surface.
[0046] Clusters 146 of virtual point sources on celestial sphere 110 can be used to filter out false positives 148 (e.g., reflections detected from sources other than NIR sources, the sun or solar flashes seen through a window, other point sources within the mapped volume, etc.). True positive observations of NIR sources should be tightly clustered 146 on celestial sphere 110. False positives 148 should be randomly distributed and therefore can be filtered out. In some embodiments, one or more other techniques may alternatively or also be used to detect false positives 148 sources. These techniques may include, but are not limited to:
[0047] • The image captured by NIR camera 150 is compared with a visible band image captured by another camera on the device. If the light source appears in the visible band image, then it is not NIR light source 140.
[0048] • The NIR light source 140 can be turned off and on. If the detected light source is still present when the NIR light source 140 is off, then it is not the NIR light source 140.
[0049] Figure 4Volume 194, in which the NIR light reflection is visible to a camera, is shown according to some embodiments. In some embodiments, the extent and distance of the specular reflective surface 192 can be determined by observing the reflection of the NIR light source 140 by the NIR camera 150. When the normal to the specular reflective surface 192 is within the field of view of the NIR camera 150, the reflection of the NIR light source 140 is visible in volume 194, which is projected perpendicularly from the specular reflective surface 192 into the environment 190 (e.g., a room). Any observation of the reflection within this volume 194 falls (or converges) at the same location on the celestial sphere 110, but at different locations within the 3D mapping volume. Correlating the convergence points on the celestial sphere 110 with their positions in the 3D mapping volume can be used to infer the extent of the reflecting plane (spectral reflective surface 192). In some embodiments, the distance to the observed reflection can also be used to determine the distance to the specular reflective surface 192. In some implementations, as an alternative or supplement, the extent and distance of the specular reflective surface 192 can be inferred from observation of the frame of the specular reflective surface 192 (e.g., window frame, mirror frame, or door frame).
[0050] Figures 5A to 5E NIR projection dot patterns according to some embodiments are shown. In some embodiments, the NIR dot patterns projected by an NIR light source can be used to distinguish specular reflective surfaces from non-spectral reflective surfaces, and to determine the material or type of specular reflective surfaces. Figures 5A to 5C The pattern of dots 544 shown represents an exemplary result when an NIR point projector is orthogonal to a specular reflective surface (e.g., window glass, door glass, mirror, etc.). Each dot 544 represents a fixed projection, for example, at 850 nm. The darker shading of the dots represents the amplitude of the reflection. Figure 5A As shown, only one point, namely the central orthogonal point 544A, provides a large-scale return. (As...) Figure 5B As shown, when the camera moves, the amplitude of point 544A decreases, while the amplitude of point 544B increases. Figure 5C As shown, when point 544B becomes orthogonal, the amplitude increases to the maximum return amplitude.
[0051] As a fixed NIR dot pattern is moved away at an orthogonal angle, different materials provide unique responses and reflectivities detectable in time-varying amplitudes on the fixed dot pattern as the device moves relative to its environment. On the device (e.g., an HMD or handheld device), the device's pose can be measured and predicted immediately, providing a reference frame for the fixed NIR dot pattern that moves rigidly with the device. The spatial and temporal distribution of amplitudes at the points produces vectors that can be compared to the device's 3D mapping and pose. For example, glass would have a "sharp" profile, resulting in a very strong amplitude of reflection at an orthogonal point, while adjacent points have very little signal, such as... Figure 5DAs shown. The profiles of other specular (and non-specular) surfaces (e.g., mirrors, polished surfaces, glossy white walls, etc.) will exhibit a range of different profiles that can be used to classify the type of surface currently being observed. For example, surfaces with lower specular reflectivity than glass may exhibit more diffuse reflection (less sharp but larger in scale) and a more uniform distribution of reflection amplitude.
[0052] Figure 6 This is a high-level flowchart of a specular surface mapping method according to some implementation schemes. As indicated at 600, the device's NIR camera can be used to detect light sources, including reflections from NIR sources on specular surfaces (e.g., glass windows or doors, mirrors, etc.). As indicated at 610, the detected light sources can be projected as virtual point sources onto the celestial sphere (e.g., projected into a SLAM (Simultaneous Localization and Mapping) model). As indicated at 620, false positives (if any) can be identified and removed. True positive observations of NIR light sources should be closely clustered on the celestial sphere. False positives should be randomly distributed and therefore can be filtered out.
[0053] As indicated at 630, specular surface information can then be determined, at least in part, from a cluster of virtual point sources on the celestial sphere. Projecting virtual point sources onto the celestial sphere allows for the aggregation of results (e.g., multiple observations). The cluster of virtual point sources on the celestial sphere can be identified and used to identify surfaces as specular surfaces (e.g., glass or a mirror). The cluster of virtual point sources on the celestial sphere can also be used to extract additional information about specular surfaces, including but not limited to the distance to the specular surface and the extent of the specular surface.
[0054] In some embodiments, the extent and distance of the specular reflective surface can be determined by observing the reflection from the NIR light source. When the normal to the specular reflective surface is within the field of view of the NIR camera, the reflection from the NIR light source is visible in a volume projected perpendicularly from the specular reflective surface into the environment (e.g., a room). Any observation of the reflection within this volume falls at the same location on the celestial sphere, but at a different location within the mapped volume. Correlating focal points on the celestial sphere with their locations within the mapped volume can be used to infer the extent of the reflecting plane (specular reflective surface). In some embodiments, the distance to the observed reflection can also be used to determine the distance to the specular reflective surface. In some embodiments, alternatively or additionally, the extent and distance of the specular reflective surface can be inferred from observations of a frame of the specular reflective surface.
[0055] Figure 7This is a high-level block diagram of a system for integrating specular surface information into a 3D mapping of an environment, according to some embodiments. The device may include one or more sensors 700 that collect information for generating a 3D mapping of an environment such as a room. Automatic and semi-automatic 3D mapping 702 of the environment is typically performed using a combination of information from near-infrared (NIR) light sources and depth and visible light cameras using computer vision algorithms to reconstruct the surrounding environment by segmenting objects, planes, and depth. 3D mapping can be used in a variety of applications, including but not limited to extended reality (XR) applications. However, detecting highly specular surfaces using conventional visible light and depth cameras 700 and 3D mapping 702 methods is challenging. Therefore, the device may include a specular surface sensor 710 (e.g., an NIR camera) that detects reflections from NIR light sources (e.g., an NIR LED array, also known as an NIR point projector) on the specular surface. The specular surface mapping method 712 described herein can then process the information collected by sensor 710 (e.g., eliminating false positives by projecting the observation onto a celestial sphere) to generate specular surface information (e.g., the location, depth, extent, and / or material of specular surfaces in the environment). The specular surface information can then be integrated with 3D mapping information 720 to generate a 3D mapping of the environment, which includes specular surface information, such as the location, extent, and distance of mirrors, glass doors, or windows in a room.
[0056] Figure 8A and Figure 8B This illustrates the feasibility of implementing certain schemes, such as... Figures 1 to 7 The diagram shows a block diagram of the apparatus for the specular surface mapping method and device. An exemplary application of the method and apparatus for specular surface mapping as described herein is in a handheld device 800 such as a smartphone, tablet computer, or tablet PC. Figure 8A A side view of an exemplary device 800 is shown, and Figure 8BAn exemplary top view of an exemplary device 800 is shown. Device 800 may include, but is not limited to: a display screen 810 located on the “front” of device 800, a controller 860 including one or more processors, a memory 870, an NIR light source 840, an NIR camera 850, a pose sensor, a motion sensor, and an orientation sensor (not shown), and one or more other cameras or sensing devices 880, such as a visible light camera and a depth sensor. Specular surface mapping components (NIR camera 850, NIR light source 840, etc.) may be attached to or integrated into device 800 (e.g., on the “back” side facing device 800), and device 800 may be moved by a user to identify, map, and classify specular surfaces 892 in an environment such as a room. This information may, for example, be integrated into 3D mapping information generated by other components of device 800.
[0057] It should be noted that, such as Figure 8A and Figure 8B The device 800 shown is given by way of example and is not intended to be limiting. In various embodiments, the shape, size and other features of the device 800 may differ, and the location, number, type and other features of the components of the device 800 may vary.
[0058] Figure 9A and Figure 9B This illustrates the feasibility of implementing certain schemes, such as... Figures 1 to 7 A block diagram of another device of the specular reflection surface mapping method and apparatus shown. Figure 9A A side view of an exemplary device 900 is shown, and Figure 9B An exemplary top view of an exemplary device 900 is shown. It should be noted that, as Figure 9A and Figure 9B The device 900 shown is given by way of example and is not intended to be limiting. In various embodiments, the shape, size and other features of the device 900 may differ, and the location, number, type and other features of the components of the device 900 may vary.
[0059] Device 900 may include a user-facing display 910. The user-facing display 910 may implement any of a variety of display technologies. For example, device 900 may include a display system 910 that displays left and right images on a screen viewed by a subject, such as DLP (Digital Light Processing), LCD (Liquid Crystal Display), and LCoS (Liquid Crystal on Silicon) technology display systems. As another example, display system 910 may be a direct retinal projector system that scans left and right images pixel-by-pixel to the subject's eyes. To scan the images, the projector generates light beams that are directed to reflective components that redirect these beams to the user's eyes. In some embodiments, device 900 may be worn on a user's head such that display 910 is positioned in front of the user's eyes. Thus, device 900 may be an HMD with an integrated display 910, or alternatively, a head-mounted system configured to receive an external opaque display (e.g., a smartphone).
[0060] Device 900 may include one or more world-oriented sensors 980 that collect information about the environment (video, depth information, lighting information, etc.), and may also include one or more user-oriented sensors (not shown) that collect information about the user (e.g., eye or gaze tracking sensors, video of various parts of the user's face). User-oriented sensors may include, but are not limited to: one or more eye-tracking cameras (e.g., infrared (IR) cameras) that capture views of the user's eyes, one or more cameras (e.g., RGB cameras) that capture views of various parts of the user's face, and / or sensors that capture depth information of the user's face. World-oriented sensors 980 may include, but are not limited to: one or more cameras (e.g., visible light RGB cameras) that capture images of the real-world environment in the field of view in front of device 900, and one or more ambient light sensors that capture lighting information of the environment. In some embodiments, world-oriented sensors 980 may also include sensors that capture depth information of objects and surfaces in the environment. Device 900 may also include pose sensors, motion sensors, and orientation sensors (not shown). Device 900 may also include specular surface mapping components (NIR camera 950, NIR light source 940, etc.) attached to or integrated into device 900.
[0061] The controller 960 may be implemented in the device 900, or alternatively, at least in part, by an external device (e.g., a computing system or handheld device such as a smartphone, tablet, or tablet computer) communicatively coupled to the device 900 via a wired or wireless interface. The controller 960 may include one or more of various types of processors, image signal processors (ISPs), graphics processing units (GPUs), encoders / decoders, system-on-a-chip (SoCs), CPUs, and other components for processing and rendering information captured by the world-facing sensor 980, the user-facing sensor, pose sensors, motion sensors, and orientation sensors, and the NIR camera 950. The controller 960 may, for example, be configured to generate a 3D map of the environment based on information captured by the sensors, render frames including virtual content based at least in part on input obtained from the sensors, and provide the rendered frames to a display 910.
[0062] The memory 970 may be implemented within the device 900, or alternatively, may be implemented at least in part by an external device (e.g., a computing system, smartphone, etc.) communicatively coupled to the device 900 via a wired or wireless interface. The memory 970 may be used, for example, to record information captured by sensors, store program instructions executable by the controller 960, and store data used by the controller, including but not limited to 3D mapping information. The memory 970 may include any type of memory, such as dynamic random access memory (DRAM), synchronous DRAM (SDRAM), dual data rate (DDR, DDR2, DDR3, etc.) SDRAM (including mobile versions of SDRAM, such as mDDR3, or low-power versions of SDRAM, such as LPDDR2), RAMBUS DRAM (RDRAM), static RAM (SRAM), etc. In some embodiments, one or more memory devices may be coupled onto a circuit board to form a memory module, such as a single in-line memory module (SIMM), a dual in-line memory module (DIMM), etc. Alternatively, these devices may be mounted with the integrated circuits implementing the system in a chip stack configuration, a package stack configuration, or a multi-chip module configuration.
[0063] like Figure 9A and Figure 9BAn embodiment of the illustrated device 900 can be used, for example, in XR applications to provide an augmented or mixed reality view to a user. Device 900 may include one or more sensors that collect information about the environment (video, depth information, lighting information, specular surface information, etc.); the sensors may provide the collected information to a controller 960 of device 900. Sensor 950 may include one or more visible light cameras (e.g., RGB cameras) that capture video of the environment, which can be used to provide a virtual view of the user's real environment. In some embodiments, the video stream of the real environment captured by the visible light cameras may be processed by the controller 960 of device 900 to render augmented or mixed reality frames including virtual content overlaid on a view of the real environment, at least in part, based on generated 3D mapping information including specular surface information, and the rendered frames may be provided to a display 910.
[0064] As another example, such as Figure 9A and Figure 9B The illustrated device 900 can be used in XR applications to provide a virtual reality view to a user. XR applications can allow users to experience and / or interact with immersive artificial environments, making them feel as if they are actually in that environment. In some embodiments, the controller 960 of device 900 can render virtual reality frames at least in part based on generated 3D mapping information including specular reflection surface information, and the rendered frames can be provided to display 210.
[0065] Device 900 may be, for example, a head-mounted display (HMD), such as an HMD used in extended reality (XR) systems. The HMD may include an opaque, user-facing display 910 on which XR content is displayed for the user to view. Alternatively, the head-mounted system may be configured to accept an external opaque display (e.g., a smartphone). During an XR session, the HMD may completely obstruct the user's normal line of sight, thus requiring the HMD to be aware of its surroundings and to warn the user when it is too close to obstacles. However, conventional 3D mapping systems struggle to identify highly specular surfaces 992, such as mirrors, glass doors, and window panes. Implementations of the specular surface mapping methods and apparatus described herein can be implemented on the HMD and used to identify and map the extent of these specular surfaces 992; this information can be integrated into a 3D mapping generated by other components of the HMD. By identifying and mapping the mirrored surface 992 in an environment such as a room, the implementation can provide improved security for the wearer of the HMD by informing them of the presence of glass doors, mirrors, or windows, which might be incorrectly identified as open spaces on a wall in a conventional HMD 3D mapping system.
[0066] In various implementations, the methods described herein can be implemented in software, hardware, or a combination thereof. Furthermore, the order of the blocks of the method can be changed, and various elements can be added, reordered, combined, omitted, modified, etc. Various modifications and changes will be apparent to those skilled in the art who benefit from this disclosure. The various implementations described herein are intended to be illustrative and not restrictive. Many variations, modifications, additions, and improvements are possible. Thus, multiple examples may be provided for a component described herein as a single example. The boundaries between various components, operations, and data repositories are somewhat arbitrary, and specific operations are shown in the context of a particular exemplary configuration. Other allocations of functionality are contemplated, which may fall within the scope of the appended claims. Finally, the structures and functions of discrete components presented in exemplary configurations can be implemented as combined structures or components. These and other variations, modifications, additions, and improvements may fall within the scope of the implementations as defined in the following claims.
Claims
1. An apparatus for image analysis, comprising: A light source configured to emit light into the environment; A camera configured to capture an image containing reflections from a surface in the environment from the light source, wherein the camera is positioned adjacent to the light source on the device; and The controller includes one or more processors, the one or more processors being configured to: Analyze the image captured by the camera to detect the reflection of the light source in the image; The detected reflections are projected onto the celestial sphere as virtual point sources; Detect the cluster of virtual point sources on the celestial sphere; as well as Based on the cluster of detected virtual point sources on the celestial sphere, the surface is identified as a specular reflective surface.
2. The device of claim 1, wherein the light source is an array of NIR light-emitting diodes (LEDs) that project a near-infrared (NIR) dot pattern into the environment.
3. The device of claim 2, wherein the camera is an NIR camera, and the controller is further configured to analyze the spatial and temporal distribution of the amplitude of the reflections from the dot pattern on the surface captured by the NIR camera to determine one or more properties of the surface.
4. The device according to claim 1, wherein the light source is a near-infrared (NIR) floodlight illuminator.
5. The device of claim 1, wherein the controller is further configured to filter out false positive light sources captured in the image, wherein true positive observations of the reflections of the light sources are closely clustered on the celestial sphere, while false positives are randomly distributed on the celestial sphere.
6. The device of claim 1, wherein when the normal of the specular reflective surface is within the field of view of the camera, the reflection of the light source is detectable by the camera in a volume perpendicularly projected from the specular reflective surface into the environment, and wherein the observation of the reflection within the volume falls at the same position on the celestial sphere.
7. The device of claim 5, wherein the controller is further configured to correlate the location of the virtual point sources in the cluster on the celestial sphere with the location of corresponding reflections of reflections detected in a 3D mapped volume of the environment to determine the extent of the specular reflective surface in the environment.
8. The device according to claim 1, wherein the celestial sphere is a SLAM (Simultaneous Localization and Mapping) technology model.
9. The device according to claim 1, wherein the device further comprises: One or more sensors, the one or more sensors being configured to capture information about the environment, wherein the controller is further configured to: Process the information captured by the one or more sensors to generate a 3D map of the environment; and The information identifying the specular reflective surface is integrated into the 3D mapping of the environment.
10. The device of claim 1, wherein the device is a smartphone or tablet computer.
11. The device of claim 1, wherein the device is a head-mounted device (HMD) of an extended reality (XR) system.
12. A method for image analysis, comprising: Light is emitted into the environment by a light source; Images are captured by a camera, the images containing reflections from the light source on surfaces in the environment; Executed by one or more processors: Analyze the image captured by the camera to detect the reflection of the light source in the image; The detected reflections are projected onto the celestial sphere as virtual point sources; Detect the cluster of virtual point sources on the celestial sphere; as well as Based on the cluster of detected virtual point sources on the celestial sphere, the surface is identified as a specular reflective surface.
13. The method of claim 12, wherein the light source is a near-infrared (NIR) dot pattern projected onto the environment by an array of NIR light-emitting diodes (LEDs), the camera is an NIR camera, and the method further comprises: Analyze the spatial and temporal distribution of the amplitude of the reflections from the point pattern on the surface captured by the NIR camera to determine one or more properties of the surface.
14. The method of claim 12, further comprising: False positive light sources captured in the image are identified and discarded, wherein true positive observations of the reflections of the light sources are closely clustered on the celestial sphere, while false positives are randomly distributed on the celestial sphere.
15. The method of claim 12, wherein when the normal of the specular reflective surface is within the field of view of the camera, the reflection of the light source is detectable by the camera in a volume perpendicularly projected from the specular reflective surface into the environment, and wherein the observation of the reflection within the volume falls at the same location on the celestial sphere, the method further comprising: The virtual point sources in the cluster on the celestial sphere are correlated with the positions of the corresponding reflections detected in the 3D mapping volume of the environment to determine the extent of the specular reflective surface in the environment.
16. The method of claim 12, further comprising: The information identifying the specular reflective surface is integrated into a 3D map of the environment.
17. The method of claim 12, wherein the light source, the camera, and the one or more processors are components of a handheld device or a head-mounted device (HMD).
18. One or more non-transitory computer-readable storage media storing program instructions that, when executed on or across one or more processors, cause the one or more processors to: Analyze images captured by a camera to detect reflections of light from surfaces in the environment within the images; The detected reflections are projected onto the celestial sphere as virtual point sources; Detect the cluster of virtual point sources on the celestial sphere; as well as Based on the cluster of detected virtual point sources on the celestial sphere, the surface is identified as a specular reflective surface.
19. One or more non-transitory computer-readable storage media of claim 18, wherein the light source is an array of NIR light-emitting diodes (LEDs) that projects a near-infrared (NIR) dot pattern into the environment, the camera is an NIR camera, and the one or more non-transitory computer-readable storage media further comprises program instructions that, when executed on or across one or more processors, cause the one or more processors to: analyze the spatial and temporal distribution of the amplitude of the reflections from the dot pattern captured by the NIR camera from the surface to determine one or more properties of the surface.
20. The one or more non-transitory computer-readable storage media of claim 18, further comprising program instructions that, when executed on or across one or more processors, cause the one or more processors to: integrate information identifying the specular reflective surface into a 3D mapping of the environment.
Citation Information
Patent Citations
Specularity determination from images
CN105900143A
Using Infrared Images of a Monitored Scene to Identify Windows
US20160366347A1
