Surface modeling system and method
By generating a surface model of the physical environment, simplifying surface representation and optimizing polygon mesh processing, the problems of convergence-accommodation conflicts and insufficient fiducial marks in VR/AR/MR systems are solved, achieving a more comfortable and efficient three-dimensional experience.
Patent Information
- Application Number
- CN202310251758.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2016-10-05
- Filing Date
- 2017-10-05
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2037-10-05
AI Technical Summary
Existing VR/AR/MR systems can easily cause convergence-accommodation conflicts in users when presenting three-dimensional vision, leading to eye fatigue and discomfort. Moreover, fiducial markers such as ArUco markers cannot provide surface range information, and polygon mesh processing requires high power and Processor cycles, affecting system portability and performance.
By generating a surface model of the physical environment, using an image processor to extract boundary polygons, generating convex hulls and minimum area oriented boundary polygons, combining gravity vectors to generate a planar polygon mesh, simplifying surface representation to reduce processing requirements, and utilizing the stepping cube algorithm and rotating caliper algorithms to optimize the generation of polygonal meshes.
It achieves a more comfortable three-dimensional experience without increasing the burden on the processor and battery, reduces the heat and size of the system, improves the accuracy and fidelity of surface interaction, and reduces discomfort to users.
Smart Images

Figure CN116310218B_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application “Surface modeling system and method” with application number 201780061454.1 (filing date October 5, 2017). Technical Field
[0002] The present disclosure relates to surface modeling using images captured by a mobile camera system. Background Art
[0003] Modern computing and display technologies have facilitated the development of systems for so-called "virtual reality" ("VR"), "augmented reality" ("AR"), and / or "mixed reality" ("MR") experiences. This can be accomplished by presenting computer-generated images to a user via a head-mounted display. This imagery creates a sensory experience that immerses the user in a simulated environment. VR systems typically involve presenting digital or virtual image information without being transparent to actual real-world visual input.
[0004] AR systems typically supplement the real-world environment with simulated elements. For example, an AR system can provide a user with a view of the surrounding real-world environment through a head-mounted display. Computer-generated images can also be presented on the head-mounted display to enhance the surrounding real-world environment. This computer-generated image can include elements that are contextually relevant to the surrounding real-world environment. These elements can include simulated text, images, objects, etc. MR systems also introduce simulated objects into the real-world environment, but these objects typically have a greater degree of interactivity than AR systems.
[0005] Various optical systems generate images at various depths for displaying VR / AR / MR scenes. Some such optical systems are described in U.S. utility patent application serial numbers 14 / 555,585 (attorney docket number ML.20011.00) and 14 / 738,877 (attorney docket number ML.20019.00), the contents of which have been previously incorporated herein by reference.
[0006] AR / MR scenes usually include virtual image elements that are presented in relation to real-world objects. Figure 1 , depicts an AR / MR scene 100 in which a user of AR / MR technology sees a real-world park-like setting 102 featuring people, trees, and buildings in the background, as well as a physical platform 104. In addition to these items, the user of the AR / MR technology also feels that they "see" a robotic statue 106 standing on the real-world platform 104, and a cartoon-like avatar character 108 that looks like an avatar of a flying bee, even though the robotic statue 106 and the cartoon-like avatar character 108 do not exist in the real-world environment. Figure 1The AR / MR scene is schematically depicted, but the quality of the AR / MR scene varies depending on the quality of the AR / MR system. Figure 1 An AR / MR scene of the related art is not depicted, but an AR / MR scene according to an embodiment is depicted.
[0007] The brain's visualization centers derive valuable perceptual information from the movement of the eyes and their components relative to each other. The vergence movement of the two eyes relative to each other (i.e., the rolling movement of the pupils toward or away from each other to converge the eyes' line of sight to an object) is closely related to the accommodation (or "focusing") of the eye lenses. Under normal circumstances, accommodating the eyes, or changing the focus of the eye lenses to focus on objects at different distances, will automatically cause a matching change in vergence to reach the same distance under a relationship known as the "accommodation-vergence reflex." Likewise, under normal circumstances, a change in vergence will trigger a matching change in accommodation. As with most traditional stereoscopic VR / AR / MR configurations, it is known that fighting this reflex will produce eyestrain, headaches, or other forms of discomfort in the user.
[0008] Stereoscopic wearable glasses typically have two displays - one for the left eye and one for the right eye - that are configured to display images with slightly different element presentations so that the human visual system perceives a three-dimensional perspective. Such a configuration has been found to be uncomfortable for many users because there is a mismatch between vergence and accommodation ("vergence-accommodation conflict") that must be overcome to perceive the image in three dimensions. In fact, some users cannot tolerate a stereoscopic configuration. These limitations apply to VR, AR, and MR systems. As a result, most conventional VR / AR / MR systems are not best suited for presenting a rich binocular three-dimensional experience in a manner that is comfortable and maximally useful to users, in part because existing systems fail to address some fundamental aspects of the human perceptual system, including vergence-accommodation conflict.
[0009] VR / AR / MR systems such as those described in U.S. Utility Patent Application Serial No. 14 / 555,585 (Attorney Docket No. ML.20011.00) address vergence-accommodation conflicts by using one or more light-guide optical elements to project light at the user's eyes so that the light and images rendered by the light appear to originate from multiple depth planes. The light-guide optical elements are designed to internally couple virtual light corresponding to a digital or virtual object, propagate via total internal reflection ("TIR"), and then externally couple the virtual light to display the virtual object to the user's eyes. In an AR / MR system, the light-guide optical elements are also designed to be transparent to light from (e.g., reflected off of) actual real-world objects. Thus, portions of the light-guide optical elements are designed to reflect virtual light for propagation via TIR while being transparent to real-world light from real-world objects in the AR / MR system.
[0010] To implement multiple light guide optical element systems, light from one or more light sources must be controllably distributed to each light guide optical element system. The light is encoded with virtual image data rendered at a relatively high rate (e.g., 360 Hz or 1 KHz) to provide a realistic 3D experience. Current graphics processing units ("GPUs") operating at such speeds and high resolutions (e.g., rendering virtual content) consume a large amount of power (relative to the capacity of a portable battery) and generate heat that may be uncomfortable for a user wearing the AR / MR system.
[0011] AR / MR scenarios typically include interactions between virtual objects and the real-world physical environment (e.g., standing Figure 1 Similarly, some VR scenes include interactions between fully virtual objects and other virtual objects.
[0012] Depicting surfaces in the physical environment facilitates interaction with virtual objects by defining the boundaries and bounds of those interactions (e.g., by defining the extent of a particular surface in the physical environment). For example, if an AR / MR scene includes a virtual object (e.g., a tentacle or fist) that extends from a particular surface in the physical environment, defining the extent of the surface allows the AR / MR system to present a more realistic AR / MR scene. In one embodiment, if the extent of the surface is not defined or inaccurately defined, the virtual object may appear to extend partially or completely from the air adjacent to the surface rather than from the surface. In another embodiment, if the AR / MR scene includes a virtual character walking on a particular horizontal surface in the physical environment, inaccurately defining the extent of the surface may cause the virtual character to appear to walk away from the surface without falling, but instead floating in mid-air.
[0013] To facilitate the interaction between virtual objects and the real-world physical environment, various AR / MR systems utilize fiducial markers (see Figure 2 The ArUco marker 200 is a device that provides position and orientation (i.e., pose) information for a real-world physical surface on which a fiducial marker is placed. However, the ArUco marker 200 does not provide any information about the extent of the physical surface. Furthermore, there are few applications or situations where it is appropriate to place an ArUco 200 marker on one or more surfaces in a real-world physical environment. For example, an ArUco marker 200 may change the aesthetics of a surface by requiring a visible marker to be placed on that surface.
[0014] Although some VR / AR / MR systems can generate polygonal meshes to depict and / or represent surfaces in a physical environment, such polygonal meshes can provide too much information to facilitate the interaction between virtual objects and real-world physical environments. For example, VR / AR / MR systems will need to further process polygonal meshes for various applications / functions / processes such as simulating physical collisions, simulating static contacts, and various lighting effects (e.g., shadows and reflections). Further processing of polygonal meshes for these various applications / functions / processes at sufficient speed and resolution to achieve a realistic, credible, and / or passable VR / AR / MR experience may require many processor cycles. Processor-related requirements can in turn impose performance (e.g., processor cycles for other functions such as rendering), power (e.g., battery life), heat (e.g., considering proximity to the user's body), and size (e.g., portability)-related limitations on VR / AR / MR systems. A more abstract and easily digestible representation of the environment is needed to represent key aspects of the environment, such as representing the location of large flat areas with minimal processing. Polygonal meshes need to be further processed to abstract useful information. The systems and methods described herein are configured to address these and other challenges. Summary of the invention
[0015] In one embodiment, a method for generating a surface model of a physical environment includes obtaining an image of the physical environment. The method also includes extracting a boundary polygon based on at least the image. In addition, the method includes generating a convex hull of the boundary polygon. In addition, the method includes generating a minimum area oriented boundary polygon based on the convex hull.
[0016] In one or more embodiments, the method further includes generating a planar polygonal mesh based at least on the image. Extracting boundary polygons based at least on the image may include extracting boundary polygons based on the planar polygonal mesh. Obtaining an image of the physical environment may include obtaining a 3-D point cloud corresponding to the physical environment using an imaging device, and obtaining posture information of the imaging device. The method may also include calculating a truncated signed distance function of the 3-D point cloud using the posture information. Generating the planar polygonal mesh may include subdividing the truncated signed distance function. The method may also include combining two smaller planar polygonal meshes into a larger planar polygonal mesh.
[0017] In one or more embodiments, the method further comprises obtaining a gravity vector, wherein the generated planar polygonal mesh is at least one of substantially parallel and orthogonal to the gravity vector. Generating the convex hull may include using a Graham-Scan algorithm. Generating the minimum area oriented boundary polygon may include using a rotating caliper algorithm. The minimum area oriented boundary polygon may be outside the boundary polygon of the planar polygonal mesh.
[0018] In one or more embodiments, the method further includes generating a maximum area oriented interior polygon within a boundary polygon of the planar polygonal mesh. Generating the maximum area oriented interior polygon may include performing a search in a search area defined by the boundary polygon. Generating the maximum area oriented interior polygon may include forming a grid in the search area. The method may also include adjusting the resolution of the grid based on the size of the search area.
[0019] In one or more embodiments, the method further includes receiving a selection of a point within a boundary polygon of the planar polygonal mesh. Generating a maximum area oriented interior polygon may include performing a search in a search area defined using the selected point. Generating a maximum area oriented interior polygon may include forming a grid in the search area. The method may also include adjusting the resolution of the grid based on the size of the search area.
[0020] In one or more embodiments, the minimum area oriented boundary polygon and the maximum area oriented interior polygon may have the same shape. The planar polygon mesh may be generated based on a marching cube algorithm. The minimum area oriented boundary polygon may be at least one of a rectangle, a triangle, and a circle. The method may also include determining a fit between the minimum area oriented boundary polygon and the boundary polygon. Determining the fit may include calculating a difference between a first area of the minimum area oriented boundary polygon and a second area of the boundary polygon.
[0021] In one or more embodiments, the method further includes storing data representing a minimum area oriented bounding polygon, wherein the minimum area oriented bounding polygon is a rectangle. The data may include four sets of coordinates corresponding to the rectangle. The data may also include a length of the rectangle, a width of the rectangle, and a center of the rectangle. Each of the four sets of coordinates may be a pair of coordinates. Generating the planar polygon mesh may include capturing a static portion of a series of images of the physical environment.
[0022] In another embodiment, a system for generating a surface model of a physical environment includes an imaging device and an image processor operably coupled to a camera. The image processor is configured to obtain an image of the physical environment at least in part from the imaging device. The image processor is further configured to extract a boundary polygon based on at least the image. In addition, the image processor is configured to generate a convex hull of the boundary polygon. In addition, the image processor is configured to generate a minimum area oriented boundary polygon based on the convex hull.
[0023] In one or more embodiments, the system further comprises a posture sensor operably coupled to the imaging device and the image processor. The image processor may also be configured to calculate a truncated signed distance function of the 3-D point cloud using the posture information. The image processor may also be configured to generate a planar polygonal mesh at least based on the image by subdividing the truncated signed distance function. Extracting boundary polygons at least based on the image may include extracting boundary polygons of the planar polygonal mesh. Obtaining an image of the physical environment may include obtaining a 3-D point cloud corresponding to the physical environment using the imaging device, and obtaining posture information of the imaging device using the posture sensor.
[0024] In one or more embodiments, the image processor is further configured to generate a planar polygon mesh based on at least the image, and generate a maximum area oriented internal polygon within a boundary polygon of the planar polygon mesh. Generating the maximum area oriented internal polygon may include performing a search in a search area defined by the boundary polygon, forming a grid in the search area, and adjusting a resolution of the grid based on a size of the search area.
[0025] In one or more embodiments, the image processor is further configured to receive a selection of a point within a boundary polygon of the planar polygonal mesh. Generating a maximum area oriented internal polygon may also include performing a search in a search area defined using the selected point, and forming a grid in the search area. The image processor may also be configured to adjust the resolution of the grid based on the size of the search area. The minimum area oriented boundary polygon may be at least one of a rectangle, a triangle, and a circle.
[0026] In one or more embodiments, the image processor is further configured to store data representing a minimum area oriented boundary polygon, wherein the minimum area oriented boundary polygon is a rectangle. The data may include four sets of coordinates corresponding to the rectangle. The data may also include the length of the rectangle, the width of the rectangle, and the center of the rectangle. Each of the four sets of coordinates may be a pair of coordinates. The image processor may also be configured to generate a planar polygon mesh at least from the image by capturing at least a static portion of a series of images of the physical environment.
[0027] In one or more embodiments, a planar polygon mesh is generated using a marching cube algorithm. The method may also include determining a center point in a minimum-area-oriented boundary polygon. The method may also include determining an orientation of the minimum-area-oriented boundary polygon. The method may also include determining a normal of the minimum-area-oriented boundary polygon. The method may also include determining a coordinate system that includes the minimum-area-oriented boundary polygon. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings illustrate the design and practicality of various embodiments of the present disclosure. It should be noted that the drawings are not drawn to scale and that elements of similar structure or function are represented by the same reference numerals in all drawings. In order to better understand how to obtain the above and other advantages and purposes of the various embodiments of the present disclosure, a more detailed description of the present disclosure briefly described above will be presented by reference to its specific embodiments shown in the accompanying drawings. It should be understood that these drawings depict only typical embodiments of the present disclosure and therefore should not be considered as limiting its scope, and the present disclosure will be described and explained with additional specificity and detail through the use of the accompanying drawings.
[0029] Figure 1 is a schematic diagram of augmented or mixed reality through a wearable AR / MR user device according to one embodiment.
[0030] Figure 2 Four ArUco fiducial markers are depicted according to one embodiment.
[0031] Figure 3 is a block diagram depicting an AR / MR system according to one embodiment.
[0032] Figure 4 is a flow chart illustrating a method of generating a surface model of a real-world physical environment using an AR / MR system according to one embodiment.
[0033] Figure 5 is a flow chart illustrating a method of generating a surface model of a real-world physical environment using an AR / MR system according to another embodiment.
[0034] Figure 6Depicted is a planar polygonal mesh representing a surface of a real-world physical environment, according to one embodiment.
[0035] Figure 7 Depicted are boundary polygons extracted from a planar polygonal mesh, according to one embodiment.
[0036] Figure 8 Depicted is a user interface for interacting with a surface model of a real-world physical environment, according to one embodiment.
[0037] 9A to 9C Depicted are three examples of a user interface for interacting with a surface model of a real-world physical environment according to another embodiment.
[0038] Fig.10 Depicted is a 3D surface model representing one or more surfaces in a room, according to one embodiment.
[0039] Fig.11 is a flow chart illustrating a method of generating a surface model of a real-world physical environment using an AR / MR system according to yet another embodiment.
[0040] Fig.12 is a block diagram illustrating a computing system suitable for implementing a method for generating a surface model of a real-world physical environment using an AR / MR system according to yet another embodiment. DETAILED DESCRIPTION
[0041] Various embodiments of the present disclosure are directed to systems, methods and articles of manufacture for a surface modeling system in a single embodiment or in multiple embodiments.Other objects, features and advantages of the present disclosure are described in the detailed description, drawings and claims.
[0042] Various embodiments will now be described in detail with reference to the accompanying drawings, and various embodiments are provided as illustrative examples of the present disclosure so that those skilled in the art can practice the present disclosure. It is noteworthy that the following drawings and examples are not meant to limit the scope of the present disclosure. In the case where the specific elements of the present disclosure can be partially or completely realized using known components (or methods or processes), only those parts of these known components (or methods or processes) necessary for understanding the present disclosure will be described, and the detailed description of other parts of these known components (or methods or processes) will be omitted, so as not to obscure the present disclosure. In addition, various embodiments include the current and future known equivalents of the components mentioned here by way of illustration.
[0043] The surface modeling system may be implemented independently of the AR / MR system, but for illustration purposes only, many of the embodiments below are described with respect to an AR / MR system.
[0044] Summary of Problems and Solutions
[0045] In order to achieve realistic interaction between virtual objects and the real-world physical environment, the position, orientation, and extent of various surfaces in the physical environment must be determined and transmitted to a processor (e.g., a GPU) that renders virtual objects. Information about surfaces in the physical environment allows the processor to render virtual objects so that they appear to obey the laws of physics (e.g., gravity) relative to the surface. Information about surfaces also allows the processor to render virtual objects so that they are consistent with the surface. An example is displaying virtual media (e.g., a comic book or movie) on the surface of a wall or table without the virtual media extending beyond the wall or table.
[0046] Some augmented reality (AR) / mixed reality (MR) systems utilize fiducial markers (e.g., ArUco markers) to provide the position and orientation of surfaces in the real-world physical environment. However, these markers can be intrusive and may not provide information about the extent (size, shape, etc.) of the surface. Other AR / MR systems generate polygonal meshes to model surfaces in the physical environment. However, many applications cannot utilize polygonal meshes without increasing computational costs due to further processing. Processor cycles spent on further processing of polygonal meshes cannot be used for other AR / MR system functions, such as rendering high-definition images. In addition, the additional processing requires power, shortening battery life. In addition, the additional processing generates heat, which may cause discomfort to the user wearing the AR / MR system. In addition, adding a processor and / or battery to perform additional processing increases the minimum size of the AR / MR system.
[0047] The AR / MR systems and methods described herein address these issues by extracting user-friendly larger polygons (e.g., rectangles) from smaller polygon meshes, and then using the extracted larger polygons to model the surface of the physical environment. The systems and methods can extract the most useful polygons (e.g., horizontal and vertical planes). The extracted larger polygons are then stored in a simple and convenient data format and sent to an application / function / process associated with the AR / MR system. Because the surface of the physical environment is modeled using the extracted larger polygons, and because the larger polygons are stored in a simple and convenient data format, they can be used with minimal further processing to generate a realistic, high-definition AR / MR experience with minimal latency and processing requirements.
[0048] Augmented reality / mixed reality systems
[0049] Figure 3An AR / MR system 300 (hereinafter referred to as "system 300") according to one embodiment is shown. System 300 uses one or more stacked light-guiding optical elements ("LOE") 390 to guide light into the user's eyes at corresponding one or more depth planes. The LOE can be a volume phase hologram or a surface relief hologram that is encoded / programmed / embedded with depth plane information to generate an image that appears to originate from the corresponding depth plane. In other words, a diffraction pattern or diffractive optical element ("DOE") can be embedded within the LOE or imprinted on the LOE so that collimated light (a light beam with a substantially planar wavefront) is substantially totally internally reflected along the LOE, which intersects the diffraction pattern at multiple locations and exits toward the user's eyes. The DOE is configured so that light exiting the LOE through it is verged so that they appear to originate from a particular depth plane.
[0050] The system 300 includes an image processor 310, a light source 320, a controller 330, a spatial light modulator ("SLM") 340, a pair of forward field of view (FOV) cameras 350, a pair of gesture sensors 360 corresponding to the forward FOV cameras 350, and at least one set of stacked LOEs 390 used as a multi-plane focusing system. The system 300 may also include an eye tracking subsystem 370. It should be understood that other embodiments may have multiple sets of stacked LOEs 390.
[0051] The image processor 310 is configured to generate virtual content to be displayed to the user. The image processor 310 can convert images or videos associated with the virtual content into a format that can be projected to the user in 3D. For example, when generating 3D content, it may be necessary to format the virtual content so that parts of a particular image are displayed at a particular depth plane, while other parts are displayed at other depth planes. In one embodiment, all images can be generated at a single depth plane. In another embodiment, the image processor 310 can be programmed to provide slightly different images to the right eye and the left eye so that when viewed together, the virtual content looks coherent and comfortable to the user's eyes.
[0052] The image processor 310 is also configured to generate a surface model of the real world physical environment (e.g., based on images and / or video captured by the forward FOV camera 350). In one embodiment, the image processor 310 is configured to generate the surface model without the use of fiducial markers. The surface model includes relatively large polygons that approximate the entire surface in the physical environment. In another embodiment, the surface model has no mesh.
[0053] The image processor 310 may also include a memory 312, a GPU 314, a CPU 316, and other circuits for image generation and processing and surface modeling. The image processor 310 may be programmed with the desired virtual content to be presented to the user of the AR / MR system 300. The image processor 310 may also be programmed with one or more algorithms for generating a surface model based on captured images and / or videos. In some embodiments, the image processor 310 may be housed in a wearable display unit of the system 300. In other embodiments, the image processor 310 and other circuits may be housed in a belt bag coupled to the wearable display unit. The image processor 310 is operably coupled to a light source 320 and one or more spatial light modulators that project light associated with the desired virtual content. The image processor 310 is also operably coupled to a forward FOV camera 350 and a posture sensor 360.
[0054] The light source 320 is compact and has high resolution. The light source 320 is operably coupled to the controller 330. The light source 320 may include LEDs and lasers of specific colors arranged in various geometric configurations. Alternatively, the light source 320 may include LEDs or lasers of the same color, each linked to a specific area of the field of view of the display. In another embodiment, the light source 320 may include a wide area emitter, such as an incandescent or fluorescent lamp, with a mask covering for segmenting the emission area and location. Although in Figure 3 The light source 320 is directly connected to the AR / MR system 300, but the light source 320 may be connected to the system 300 via an optical fiber (not shown). The system 300 may also include a condenser (not shown) configured to collimate the light from the light source 320.
[0055] In various embodiments, the SLM 340 can be reflective (e.g., LCOS, FLCOS, DLP DMD, or MEMS mirror system), transmissive (e.g., LCD), or emissive (e.g., FSD or OLED). The type of SLM 340 (e.g., speed, size, etc.) can be selected to improve the creation of 3D perception. While a DLP DMD operating at a higher refresh rate can be easily incorporated into a stationary system 300, and a wearable system 300 can use a smaller size and power DLP. The power of the DLP changes how a 3D depth plane / focal plane is created. The image processor 310 is operably coupled to the SLM 340, which encodes light from the light source 320 with the desired virtual content. The light from the light source 320 can be encoded with image information when it is reflected off, emitted from, or travels through the SLM 340.
[0056] Light from the SLM 340 is directed to the LOE 390 so that a light beam encoded with image data by the SLM 340 effectively propagates along a single LOE 390 for delivery to the user's eye. Each LOE 390 is configured to project an image or sub-image that appears to originate from a desired depth plane or FOV angular position onto the user's retina. Thus, the light source 320 and LOE 390 can selectively project images that appear to originate from various depth planes or positions in space (synchronously encoded by the SLM 340 under the control of the controller 330). By using each of the light sources 320 and LOE 390 to sequentially project images at a sufficiently high frame rate (e.g., 360 Hz for six depth planes in monochrome at an effective full volume frame rate of 60 Hz, or 1080 Hz for six depth planes in RGB full color at 60 Hz), the system 300 can generate 3D images of virtual objects at various depth planes that appear to exist simultaneously in the 3D image.
[0057] Controller 330 is communicatively and operably coupled to image processor 310 , light source 320 , and SLM 340 to coordinate the synchronous display of images by instructing SLM 340 to encode the light beam from light source 320 with the appropriate image information from image processor 310 .
[0058] The forward FOV camera 350 is configured to capture images and / or video of the user's FOV. The forward FOV camera 350 may be sensitive to visible light and / or invisible light such as infrared. The forward FOV camera 350 may be operably coupled to the image processor 310.
[0059] The pose sensor 360 is configured to record information related to the orientation (e.g., roll, pitch, and yaw) of each forward FOV camera 350. In one embodiment, the pose sensor 360 is an inertial measurement unit ("IMU"), which may include one or more accelerometers, gyroscopes, magnetometers, etc. The pose sensor 360 can measure forces, angular changes, and / or magnetic field changes in N (e.g., six) degrees of freedom. The proximity of the pose sensor 360 to the corresponding forward FOV camera 350 increases the accuracy of the pose information of the forward FOV camera 350. In some embodiments, the pose sensor 360 is (permanently or removably) coupled to the forward FOV camera 350.
[0060] The system 300 also includes an optional eye tracking subsystem 370 that is configured to track the user's eyes and determine the user's focus. In one embodiment, the system 300 is configured to illuminate a subset of the LOEs 390 based on input from the eye tracking subsystem 370 so that an image is generated at a desired depth plane consistent with the user's focus / accommodation. For example, if the user's eyes are parallel to each other, the system 300 can illuminate the LOEs 390 that are configured to deliver collimated light to the user's eyes so that the image appears to originate from optical infinity. In another example, if the eye tracking subsystem 370 determines that the user's focus is 1 meter away, the LOEs 390 that are configured to focus approximately within that range can be illuminated instead.
[0061] Surface modeling
[0062] The system 300 configured to model the surface of a real-world physical environment according to one embodiment is described above. The following describes a method of modeling the surface of a real-world physical environment using such a system.
[0063] Figure 4 4 is a flow chart illustrating a method 400 according to one embodiment, which generates a surface model of a real-world physical environment using a system 300 (including a forward field of view (FOV) camera 350, a gesture sensor 360, and an image processor 310). At step 402, the system 300 (e.g., the image processor 310) receives one or more images or videos of a physical environment in which the system 300 is disposed. The images / videos may be received from the forward FOV camera 350. The system 300 may be configured to capture images using the forward FOV camera 350 such that only static portions of a series of images of the physical environment are captured, while dynamic portions are ignored.
[0064] Alternatively, images / videos may be received from cameras of other systems 300 (e.g., other users) in the physical environment. When images / videos are received from one or more cameras, points in those images / videos are registered to a single reference frame having a common coordinate system. The images / videos may be received in real time relative to their capture, or they may have been previously captured and stored (e.g., in a memory of a server to which the system 300 is communicatively coupled). Receiving images / videos of the same physical environment from one or more locations and orientations / angles increases the accuracy of surface modeling by reducing the amount of surfaces in the physical environment for which there is no optical information.
[0065] The pose information may be received from a pose sensor 360 of the system 300, which is placed near the corresponding forward FOV camera 350. The image processor 310 uses the pose information to generate a 3-D point cloud corresponding to the physical environment based on the image / video of the physical environment. In a single image embodiment, the 3-D point cloud represents each sample point and its position in a three-dimensional coordinate system (e.g., X, Y, Z), as determined from the image and the pose information associated with the forward FOV camera 350 that captured the image. Such information may be obtained using time-of-flight information analysis. In a multi-image embodiment, the 3-D point cloud represents the average of each sample point in each image and the average position in the three-dimensional coordinate system, as determined from the image and the corresponding pose information in some cases. Such information may be obtained using time-of-flight analysis and / or triangulation.
[0066] Depth sensing systems can also be used to generate 3-D point clouds. Depth sensing is the determination of the distance between a known point in three 3-D space (e.g., a depth sensor or a forward FOV camera 350) and a point of interest ("POI") on the surface of a real-world physical object. Depth sensing is useful for many computer vision systems, including AR / MR systems. One depth sensing method includes measuring the corresponding angles between the optical axes of two images (separated by known distances in known directions) for a single POI on a surface and multiple POIs on corresponding images. The depth of the surface is determined by triangulating the measured angles and the known distances between the image capture locations. A time-of-flight camera can be considered a depth sensor.
[0067] At step 404, the system 300 (eg, the image processor 310 thereof) generates a planar polygonal mesh based on the received image / video. Figure 6 , which shows a planar polygonal / triangular mesh 602 according to one embodiment. One or more planar polygonal meshes (e.g., Figure 6 In one embodiment, a planar polygonal / triangular mesh 602 as shown in FIG. 6 is used to depict and / or represent a surface in a physical environment. In one embodiment, a marching cube algorithm is used to generate a non-planar mesh based on the received image / video, and a planar polygonal mesh 602 is derived based on the non-planar mesh.
[0068] In another embodiment, at step 404, the system 300 generates a planar polygonal mesh 602 based on the 3-D point cloud by calculating a truncated signed distance function ("TSDF") of the 3-D point cloud. For example, the TSDF of the 3-D point cloud is used to generate a non-planar mesh, for example, using a marching cube algorithm, and the planar polygonal mesh 602 is derived from the non-planar mesh. The TSDF includes a numerical value for each point in the 3-D point cloud. The value is zero when the point is in a particular plane, positive when the point is above the particular plane (using a particular scoring system), and negative when the point is below the particular plane. The calculated TSDF is then used to define a 3-D volume grid of bricks or boxes aligned in, above, and below the particular plane. Finally, the 3-D volume grid is tessellated using marching cubes to generate a non-planar mesh, and the non-planar mesh is analyzed and converted to a planar polygonal mesh 602 representing a particular surface. The tessellation process can be controlled to include or exclude rounded or sharp edges. Additionally, the non-planar mesh may be simplified by collapsing nearby / adjacent polygons having the same orientation into larger polygons. In some examples, the generated planar polygon mesh 602 may also be simplified by collapsing nearby / adjacent polygons having the same orientation into larger polygons.
[0069] Various embodiments may also enforce planarity orthogonal to the gravity vector detected by the gesture sensor 360 (e.g., an IMU). In other words, if the physical environment includes a conference table with various objects on it (e.g., phones, laptops, coffee cups, etc.), these embodiments may remove those objects from the planar polygon mesh so that the mesh only depicts / represents the horizontal surface of the conference table. Similarly, the system 300 may also be configured to enforce planarity of vertical surfaces such as walls and whiteboards. Other embodiments may enforce planarity and any predetermined angle by replacing the gravity vector with any direction vector.
[0070] At step 406, the system 300 (eg, the image processor 310 thereof) extracts the boundary polygons of the planar polygon mesh. Figure 7 , which shows a method according to an embodiment Figure 6 Extracting the boundary polygons 704 from the planar polygon mesh 602 may include removing portions of the planar polygon mesh 602 that do not face the outer surface of the planar polygon mesh 602. Figure 7As shown, generating boundary polygons 704 simplifies the model of the surface by removing many smaller polygons in the planar polygon mesh 602. In general, processing a larger number (e.g., 100,000s) of smaller polygons requires more processor (e.g., CPU / GPU) cycles and battery power, and generates more heat. In some embodiments, "landlocked" holes (i.e., spaces within a structure that are surrounded by structures) in the polygon mesh 602 can be ignored when generating boundary polygons 704, while "bays" (i.e., spaces within a structure that are mostly surrounded by structures, similar to bays in a geographic map) in the planar polygon mesh 602 can be included in generating boundary polygons 704.
[0071] At step 408, the system 300 (eg, the image processor 310 thereof) generates a convex hull based on the extracted boundary polygons. Figure 8 , which shows a convex hull 806 generated from an extracted boundary polygon 804 according to one embodiment. The convex hull 806 around the boundary polygon 804 is a mathematical function similar to wrapping the boundary polygon 804 with a tight rubber band or tight plastic wrap. The result is that the lines on the convex hull 806 do not pass through the boundary polygon 804 to reach the interior of the boundary polygon 804. In one embodiment, the convex hull 806 is generated from the boundary polygon 804 using a Graham-Scan algorithm. Generating the convex hull 806 from the boundary polygon 804 can include drawing lines to connect the "high points" of the boundary polygon 804 (e.g., the points of the boundary polygon 804 that are farthest from its center).
[0072] Both the bounding polygon 804 and the convex hull 806 represent the vertical surface of the real-world physical whiteboard 802 .
[0073] At step 410, the system 300 (eg, the image processor 310 thereof) generates a minimum area oriented bounding polygon ("MAOBP") from the convex hull. Referring briefly to Figure 8 , which shows a MAOBP 808 generated from the convex hull 806 according to one embodiment. The MAOBP 808 is the smallest polygon of a predetermined shape that can contain the convex hull 806 (and therefore the boundary polygon 804). Figure 8 In the illustrated embodiment, MAOBP 808 is a rectangle oriented along the gravity vector and orthogonal to the floor. In one embodiment, MAOBP 808 is generated from convex hull 806 using a rotating caliper algorithm. Generating MAOBP 808 from convex hull 806 requires relatively less computation than other modes of representing surfaces in the physical environment.
[0074] MAOBP 808 is particularly useful for certain applications because it contains the entire convex hull 806 and therefore contains the boundary polygon 804. One application for which MAOBP 808 is suitable is the display of virtual media (e.g., a comic book or movie) on the surface of a physical environment. For some virtual display applications, it is not particularly distracting to have a small portion of the virtual media extend beyond the actual physical surface and into the space. In addition, in some embodiments, MAOBP 808 can capture the entire underlying surface more accurately than other methods, resulting in very few instances where a small portion of MAOBP 808 extends into empty space.
[0075] 9A to 9C Also shown are two MAOBPs 908, 908' formed around the corresponding boundary polygons 904, 904'. Both the MAOBPs 908, 908' and the corresponding boundary polygons 904, 904' represent the surfaces of the corresponding real-world objects (whiteboard 902, desktop 902'). 9A to 9C As shown, the MAOBP 908 representing the whiteboard 902 fits better (ie, more accurately correlates) to the corresponding bounding polygons 904 and the whiteboard 902 (ie, has less extra empty space) than the MAOBP 908 ′ representing the desktop 902 ′. 9A to 9C Three examples of user interfaces 900 , 900 ′, 900 ″ for interacting with a surface model of a real-world physical environment (eg, displayed to a user of the system 300 ) are depicted.
[0076] 9A to 9C It is shown that MAOBP 908, 908' may not be suitable for other applications. For example, in an application where a virtual character walks on a table 902', using MAOBP 908' may cause the character to walk out of the table and hang in mid-air. To solve this problem, other polygons can be generated to depict / represent the surface in the physical environment.
[0077] For example, Figure 5 5 is a flow chart illustrating a method 500 for generating a surface model of a real-world physical environment using system 300 (including forward FOV camera 350, gesture sensor 360, and image processor 310) according to another embodiment. Steps 502 to 510 are respectively Figure 4 The corresponding steps 402 to 410 in are the same. Figure 4 As stated, about Figure 8 The result of steps 502 to 510 is a boundary polygon 804 , a convex hull 806 , and a MAOBP 808 .
[0078] At step 512, the system 300 (eg, the image processor 310 thereof) generates a maximum area oriented interior polygon ("MAOIP") for the boundary polygon. Referring briefly to Figure 8 , which shows a MAOIP 810 according to one embodiment. MAOIP 810 is a rectangle oriented along the gravity vector and orthogonal to the floor. In one embodiment, MAOIP 810 is generated by performing a search in a search area (e.g., defined by MAOBP 808). A grid is overlaid on top of the search area, and each point in the grid is sequentially extended in the plane of the boundary polygon 804 to form an interior polygon, which is then sequentially tested to determine whether it is completely contained in the boundary polygon 804. The interior polygons that include portions outside the boundary polygon 804 are discarded from the analysis. Finally, the area of each interior polygon contained in the boundary polygon 804 is compared to identify the interior polygon with the largest area.
[0079] Compared to other patterns that represent surfaces in real-world physical environments (e.g., MAOBP), generating MAOIP 810 using the above-described grid and search algorithm is computationally expensive. Using MAOBP 808 as the search area requires the system 300 to traverse a maximum number of grid points. To address this issue, the method can use Figure 8 800 to facilitate user input to limit the size of the search area. The user interface 800 includes a cursor 812 defined by a line 814 projected from a head mounted display of the system 300. The user can move the cursor 812 by moving their head or totem relative to the whiteboard 802. The cursor 812 defines the search area by extending in the X (816) and Y (818) directions in the plane of the bounding polygon 804.
[0080] Although Figure 8 The search area in is only slightly smaller than MAOBP 808, but in other embodiments, the search area can be significantly smaller than MAOBP 808. Fig. 9C One such embodiment is shown in user interface 900" in FIG. 1 , where boundary polygon 904' has a different shape than desktop 902'. The search area can be oriented orthogonal to the gravity vector or rotated relative to the gravity vector.
[0081] Another method for solving the computational load of searching MAOIP 810 is to adjust the resolution of the grid that forms the search area. Reducing the resolution of the grid reduces the computational load. In one embodiment, the resolution of the grid is adjusted based on the size of the search area. For large search areas, the resolution is reduced. On the contrary, for smaller search areas, the resolution can be increased.
[0082] MAOIP 810 is particularly useful for certain applications because it only includes points within the bounding polygon 804. One application that MAOIP 810 is suitable for is an application or game in which a virtual character walks on a desktop 902'. For this application, limiting the surface to include only points within the bounding polygon 904' prevents anomalies such as the virtual character walking out of the desktop 902' and hanging in mid-air.
[0083] Data structures stored and used
[0084] Fig.10 A 3-D surface model 1000 (hereinafter "model 1000") representing a plurality of major surfaces in a room (including furniture therein) is depicted. Model 1000 is generated as described above, and the surfaces have been selected to be parallel or orthogonal to the gravity vector. Model 1000 includes extracted boundary polygons 1004, convex hull 1006, MAOBP 1008, and MAOIP 1010. Model 1000 is particularly useful for applications that interact with vertical surfaces (e.g., display media) and horizontal surfaces (e.g., placement of virtual objects having simulated interactions with gravity surfaces). Applications such as Fig.10 A 3-D model of the model 1000 depicted in FIG. 1 can be stored in and transmitted to an application / AR / MR system using minimal storage and bandwidth. In addition, such a 3-D model can be used by the application / AR / MR system to simulate physical collisions, simulate static contacts, and display various lighting effects (e.g., shadows and reflections) with additional minimal processing.
[0085] Similar to Fig.10 The 3-D surface model of model 1000 depicted in FIG. 1 provides position and orientation information of surfaces in a physical environment without using fiducial markers (e.g., ArUco markers). In addition, the 3-D surface model provides estimated surface extent information that cannot be provided by fiducial markers. MAOBP overestimates the extent of the surface, and MAOIP underestimates the extent of the surface.
[0086] Fig.10 The extracted boundary polygons, convex hulls, MAOBPs, and MAOIPs can be stored in a memory (e.g., the memory 312 of the system 300) and communicated to various applications using a minimal amount of storage and bandwidth compared to using planar mesh polygons to represent surfaces in a physical environment. In one embodiment, the data representing a rectangle (e.g., a MAOBP or MAOIP) can be the X, Y, and Z coordinates (e.g., the four corners of a rectangle) in a predefined 3-D coordinate system. In another embodiment, the data representing a rectangle can be the coordinates (e.g., X, Y coordinates) representing the center of the rectangle and a quaternion (4 numbers) representing the length and width of the rectangle.
[0087] This data format reduces both memory and bandwidth requirements and is configured for simple, low-computation operations to achieve other surface features that are frequently used by mixed reality applications. For example, by subtracting the coordinates of the four corners of a rectangle, the length and width of the rectangle can be easily calculated. Similarly, by averaging the coordinates of the four corners of the rectangle, the center of the rectangle can be easily calculated. In addition, vectors in the length and width directions of the rectangle can be used to calculate (e.g., using a cross product) the normal of the rectangle. In addition, a coordinate system can be defined based on a length vector, a width vector, and a normal vector.
[0088] Although the data representing the rectangle (e.g., MAOBP or MAOIP) may be coordinates in a predefined coordinate system (e.g., the four corners of the rectangle), in other embodiments, the data representing the rectangle may also include some of these calculated features (e.g., length, width, center, normal, and coordinate system. In these embodiments, the slight increase in memory and bandwidth may be offset by the reduced computational requirements of the application receiving and processing the surface model.
[0089] Although the MAOBP and MAOIP in the above-described embodiments are rectangular, the system 300 can be configured to generate the MAOBP and MAOIP in any predefined shape (e.g., a circle, a triangle, a pentagon, etc.). The MAOBP and MAOIP in a single embodiment can be two different polygons (e.g., a triangle and a rectangle). In other embodiments, such as those described herein, the MAOBP and MAOIP in a single embodiment can be the same shape, but have different proportions. The fit between the extracted boundary polygon and the MAOBP can be calculated by subtracting the area of the extracted boundary polygon from the area of the MAOBP. In this embodiment, the smaller the area difference, the better the fit.
[0090] like 9A to 9C As shown, MAOBP 908 representing whiteboard 902 better fits the corresponding boundary polygon 904 and whiteboard 902 (i.e., has less extra empty space) than MAOBP 908' representing desktop 902'. System 300 can be configured to loop through a predetermined series of known shapes to increase the fit of the MAOBP by comparing the calculated area differences. This also provides a good estimate of the shape of any particular surface in the physical environment by calculating a correlation / fit value and determining whether the value is above a certain predetermined threshold (e.g., 0.9).
[0091] Although the above system 300 includes a single image processor 310 for rendering virtual images and modeling surfaces of a real-world physical environment, other embodiments include separate processors for rendering and modeling. In practice, a separate processor for surface modeling may reside in a server computer. The separate processors may be communicatively and operably coupled to each other.
[0092] While the above-described system 300 includes pairs of forward-facing FOV cameras 350 and pose sensors 360, other embodiments include only a single forward-facing FOV camera 350 and a single pose sensor 360. In other embodiments, a pair of forward-facing FOV cameras 350 is included, and there is no pose sensor 360. In these embodiments, the 3-D cloud is generated using classical triangulation techniques.
[0093] Although the above-described methods 400, 500 of generating a surface model of a real-world physical environment using an AR / MR system include generating a planar polygonal mesh based on an image / video of the physical environment, in other embodiments, the polygonal mesh is generated based on an image / video of the physical environment. In other embodiments, there is no polygonal mesh. Instead, these methods directly extract boundary polygons based on the image / video of the physical environment (e.g., using machine vision techniques).
[0094] For example, Fig.11 A method 1100 for generating a surface model of a real-world physical environment using the system 300 is depicted according to yet another embodiment. Steps 1102, 1108, and 1110 are similar to Figure 4 The corresponding steps 402, 408 and 410 in are the same. Figure 4 and Fig.11 The difference between methods 400, 1100, respectively, depicted in FIG. 11 is that, at step 1106 in method 1100, system 300 (e.g., image processor 310 thereof) extracts boundary polygons from received images / videos of the physical environment (e.g., using machine vision and received pose information). When implemented in a system configured for effective machine vision, method 1100 can generate a surface model of the physical environment using less computing power (e.g., processor cycles) than methods 400, 500 that include the step of generating a planar polygonal mesh.
[0095] System Architecture
[0096] Fig.121 is a block diagram of an illustrative computing system 1200 suitable for implementing embodiments of the present disclosure. The computer system 1200 includes a bus 1206 or other communication mechanism for communicating information that interconnects subsystems and devices such as a processor 1207, system (main) memory 1208 (e.g., RAM), static storage device 1209 (e.g., ROM), disk (storage) drive 1210 (e.g., magnetic or optical), communication interface 1214, display 1211, input device 1212, data interface 1233, and cursor control.
[0097] According to one embodiment, the computing system 1200 implements specific operations through a processor 1207, which executes one or more sequences of one or more instructions contained in a system memory 1208. These instructions can be read into the system memory 1208 from another computer-readable / usable medium, such as a static storage device 1209 or a disk drive 1210. In alternative embodiments, hard-wired circuits can be used instead of software instructions or in combination with software instructions to implement the present disclosure. Therefore, the embodiments of the present disclosure are not limited to any specific combination of hardware circuits and / or software. In one embodiment, the term "logic" can represent any combination of software or hardware used to implement all or part of the present disclosure.
[0098] As used herein, the term "computer readable medium" or "computer usable medium" refers to any medium that participates in providing instructions to processor 1207 for execution. Such media may take many forms, including, but not limited to, non-volatile media and volatile media. Non-volatile media include, for example, optical or magnetic disks, such as disk drive 1210. Volatile media include dynamic memory, such as system memory 1208. "Computer readable media" may be non-transitory computer readable storage media.
[0099] Common forms of computer readable media include, for example, floppy disks, diskettes, hard disks, magnetic tapes, any other magnetic media, CD-ROMs, any other optical media, punch cards, paper tapes, any other physical media with patterns of holes, RAM, PROMs, EPROMs, FLASH-EPROMs, any other memory chip or cassette, or any other medium from which a computer can read.
[0100] In one embodiment, the execution of the instruction sequences for practicing the present disclosure is performed by a single computer system 1200. According to other embodiments, two or more computer systems 1200 coupled via a communication link 1215 (e.g., a LAN, PTSN, or wireless network) can coordinate with each other to execute the instruction sequences required for practicing the present disclosure.
[0101] Computer system 1200 can send and receive messages, data, and instructions of programs including, for example, application code, via communication link 1215 and communication interface 1214. Received program code can be executed by processor 1207 as it is received, and / or stored in disk drive 1210 or other non-volatile memory for later execution. Computer system 1200 can send and receive data from database 1232 communicatively coupled to database server 1231 via data interface 1233.
[0102] Although the system 300 is described here with forward FOV cameras 350, those cameras may function as depth sensors or components thereof. Such depth sensors are described in U.S. Provisional Patent Application Serial No. 62 / 301,847, the contents of which have been previously incorporated herein by reference.
[0103] Various embodiments of the present disclosure are described herein. Reference is made to these examples in a non-limiting sense. Examples are provided to illustrate the more widely applicable aspects of the present disclosure. Various changes may be made to the described disclosure and equivalents may be substituted without departing from the true spirit and scope of the present disclosure. In addition, many modifications may be made to adapt to specific circumstances, materials, compositions of matter, processes, process actions or steps for the purposes, spirit or scope of the present disclosure. Further, as known to those skilled in the art, each individual variation described and illustrated herein has independent components and features, which may be easily separated or combined with the features of any of the other several embodiments, without departing from the scope and spirit of the present disclosure. All of these modifications are intended to be within the scope of the claims associated with the present disclosure.
[0104] The present disclosure includes methods that can be performed using subject devices. The methods can include an action of providing such suitable devices. Such providing can be performed by an end user. In other words, the "providing" action only requires the end user to obtain, access, process, locate, set up, activate, power on or other action to provide the necessary devices in the method. The methods described herein can be performed in any order of the events described that is logically possible and in the order of events described.
[0105] Aspects of the present disclosure and details about material selection and manufacturing have been described above. For other details of the present disclosure, it can be understood in conjunction with the patents and publications referenced above and what is generally known or understood by those skilled in the art. This is also true for aspects of additional actions as commonly or logically adopted, and for aspects based on methods of the present invention.
[0106] In addition, although the present disclosure has been described with reference to several examples that optionally include various features, the present disclosure is not limited to being described or represented as expected for each variation of the present disclosure. Various changes may be made to the described disclosure without departing from the actual spirit and scope of the present disclosure, and may be replaced with equivalents (whether stated herein or not included for the purpose of brevity). In addition, if a range of values is provided, it should be understood that each intermediate value between the upper and lower limits of the range and or any other intermediate value in the range of the description is included in the present disclosure.
[0107] In addition, it is contemplated that any optional features of the disclosed variations described may be stated and claimed independently or in combination with any one or more of the features described herein. Reference to a singular term includes the possibility that there may be a plurality of the same term. More specifically, as used herein and in the related claims, the singular forms "one," "said," and "the" include plural objects unless otherwise specified. In other words, in the above description and in the claims related to the present disclosure, the use of articles allows for "at least one" target item. It is also important to note that such claims may be drafted to exclude any optional elements. Therefore, this statement is intended to be used as a priori basis for the use of such exclusive terms as "alone," "only," etc., in conjunction with the expression of claim elements, or for the use of "negative" limitations.
[0108] Without using such exclusive terms, the term "comprising" in the claims related to the present disclosure should allow the inclusion of any other elements, regardless of whether a given number of elements are listed in such claims, or the addition of features can be regarded as changing the nature of the elements described in the claims. Except as specifically defined herein, all technical terms used herein should be given the most commonly understood meaning while maintaining the validity of the claims.
[0109] The present disclosure is not limited to the examples provided and / or this description, but is limited only by the scope of the claim language associated with the present disclosure.
[0110] In the foregoing description, the present disclosure has been described with reference to specific embodiments thereof. However, it will be apparent that various modifications and changes may be made thereto without departing from the broader spirit and scope of the present disclosure. For example, the above process is described with reference to a particular order of process actions. However, the order of many of the described process actions may be changed without affecting the scope or operation of the present invention. Therefore, the description and drawings should be regarded as illustrative rather than restrictive.
Claims
1. A computer-implemented method for generating a surface model of a physical environment, the method comprising: A computer processor generates a planar polygonal mesh based on at least the image of the physical environment; The computer processor extracts boundary polygons from the planar polygonal mesh; The computer processor generates a convex hull of the boundary polygon; as well as The computer processor generates a minimum area oriented boundary polygon MAOBP based on the convex hull, the minimum area oriented boundary polygon MAOBP comprising a polygon containing the convex hull and the boundary polygon.
2. The method according to claim 1, further comprising: The computer processor obtains the image of the physical environment by: The computer processor uses an imaging device to obtain a 3-D point cloud corresponding to the physical environment, and The computer processor obtains posture information of the imaging device; as well as The computer processor calculates a truncated signed distance function of the 3-D point cloud using the pose information, wherein generating the planar polygonal mesh includes subdividing the truncated signed distance function.
3. The method according to claim 2, further comprising: The computer processor combines the two smaller planar polygonal meshes into a larger planar polygonal mesh.
4. The method according to claim 1, further comprising: The computer processor obtains a gravity vector, wherein the generated planar polygonal mesh is one of substantially parallel and orthogonal to the gravity vector.
5. The method according to claim 1, wherein: Generating the convex hull includes the computer processor using a Graham scan algorithm.
6. The method according to claim 1, wherein: Generating the minimum area oriented boundary polygon MAOBP includes: the computer processor uses a rotating caliper algorithm.
7. The method according to claim 1, further comprising: The computer processor generates a maximum area oriented interior polygon MAOIP that is completely contained within the boundary polygon.
8. The method according to claim 7, wherein: Generating the maximum area oriented interior polygon MAOIP includes: the computer processor performing a search in a search area defined by the boundary polygon, and Wherein, generating the maximum area oriented internal polygon comprises: forming a grid in the search area, The method also includes adjusting a resolution of the grid based on a size of the search area.
9. The method according to claim 7, further comprising: The computer processor receives a selection of a point within the boundary polygon of the planar polygonal mesh, wherein generating the maximum area oriented interior polygon MAOIP comprises: performing a search in a search area defined using the selected point, and forming a grid in the search area; The computer processor adjusts the resolution of the grid based on the size of the search area, The step of generating the maximum area oriented interior polygon MAOIP comprises: the computer processor forming a grid in the search area.
10. The method according to claim 7, wherein: The minimum-area-oriented boundary polygon MAOBP and the maximum-area-oriented interior polygon MAOIP have the same shape.
11. The method according to claim 1, wherein: The planar polygonal mesh is generated by the computer processor based on a marching cubes algorithm.
12. The method according to claim 1, wherein: The minimum area oriented boundary polygon MAOBP is at least one of a rectangle, a triangle and a circle.
13. The method according to claim 1, further comprising: The computer processor determines a fit between the minimum area oriented bounding polygon MAOBP and the bounding polygon, Wherein, determining the fit includes: the computer processor calculating a difference between a first area of the minimum area oriented boundary polygon MAOBP and a second area of the boundary polygon.
14. The method according to claim 1, further comprising: The computer processor stores data representing the minimum area oriented bounding polygon MAOBP, wherein the minimum area oriented boundary polygon MAOBP is a rectangle, The data includes four sets of coordinates corresponding to the rectangle, and Each of the four groups of coordinates is a pair of coordinates.
15. The method according to claim 14, wherein: The data also includes: the length of the rectangle, the width of the rectangle, and the center of the rectangle.
16. The method according to claim 1, wherein: Generating the planar polygonal mesh includes the computer processor capturing static portions of a series of images of the physical environment.
17. The method according to claim 1, wherein: The minimum area oriented boundary polygon MAOBP comprises a minimum polygon containing the convex hull and the boundary polygon, and The minimum area oriented boundary polygon MAOBP includes a minimum rectangle including the convex hull and the boundary polygon.
18. The method according to claim 17, further comprising: The computer processor generates a maximum area oriented interior polygon MAOIP contained within the boundary polygon.
19. The method according to claim 18, wherein: The minimum area oriented boundary polygons MAOBP overestimate the extent of the surface being modeled, and the maximum area oriented interior polygons MAOIP underestimate the extent of the surface being modeled.
20. A method of generating a simulation of a physical object in an image of a physical environment, the method comprising: an imaging device that obtains an image of a physical environment having physical objects; An image processor that performs the image generation process, including: generating a planar polygonal mesh from the physical object based on the image of the physical environment; extracting boundary polygons from the planar polygonal mesh; generating a convex hull of the boundary polygon; and Generating a minimum area oriented boundary polygon MAOBP according to the convex hull, wherein the minimum area oriented boundary polygon MAOBP includes a polygon including the convex hull and the boundary polygon; generating a 3-D surface model of the physical object using the MAOBP; and A simulation involving interaction with the 3-D surface model of the physical object is generated using the 3-D surface model.
