# US 2021/0287385 A1 · Determining traversable space from single images

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0287385 A1
- Document ID: US20210287385A1
- Status: Published application
- Kind: A1
- Application number: 17/193,878
- Filed: 2021-03-05
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: Niantic, Inc.
- Applicants: Niantic, Inc.
- Inventors: James Watson; Michael David Firman; Aron Monszpart; Gabriel J. Brostow
- Web page: https://patentgrep.com/patent/US20210287385A1

## CPC

- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G05D 1/0212: {with means for defining a desired trajectory (involving a plurality of land vehicles G05D1/0287)}
- G05D 1/0274: {using mapping information stored in a memory device (navigation using map-matching G01C21/30)}
- G06N 20/00: Machine learning
- G06T 7/10: Segmentation; Edge detection (motion-based segmentation G06T7/215)
- G06T 7/11: Region-based segmentation
- G06T 7/50: Depth or shape recovery
- G06T 17/00: Three-dimensional [3D] modelling for computer graphics
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06V 10/26: Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 20/10: Terrestrial scenes (scenes under surveillance with static cameras G06V20/52; scenes perceived from the exterior of a vehicle G06V20/56; scenes perceived from the interior of a vehicle G06V20/59)
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06T 2207/20081: Training; Learning
- G06T 2219/2004: Aligning objects, relative positioning of parts
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A model predicts the geometry of both visible and occluded traversable surfaces from input images. The model may be trained from stereo video sequences, using camera poses, per-frame depth, and semantic segmentation to form training data, which is used to supervise an image to image network. In various embodiments, the model is applied to a single RGB image depicting a scene to produce information describing traversable space of the scene that includes occluded traversable. The information describing traversable space can include a segmentation mask of traversable space (both visible and occluded) and non-traversable space and a depth map indicating an estimated depth to traversable surfaces corresponding to each pixel determined to correspond to traversable space.

## Claims

### Claim 1

A non-transitory computer-readable storage medium storing instructions that, when executed by a computing device, cause the computing device to perform operations comprising:
receiving an image of a scene including an object in the scene;
inputting the image into a trained model that outputs a segmentation mask and a depth map, the segmentation mask indicating whether pixels of the image correspond to traversable space or non-traversable space, and the depth map indicating an estimated depth to one or more traversable surfaces for the pixels corresponding to traversable space, wherein the non-traversable space includes a footprint of the object and the traversable space includes traversable space occluded by the object in the image; and
applying the segmentation mask and the depth map to determine a position in the occluded traversable space.

### Claim 2 (depends on 1)

The computer-readable storage medium of claim 1, wherein the segmentation map or the depth map are represented from a view of the image of the scene.

### Claim 3 (depends on 1)

The computer-readable storage medium of claim 1, wherein the operations further comprise:
determining a traversable path through the scene for an agent including the position in the occluded traversable space.

### Claim 4 (depends on 1)

The computer-readable storage medium of claim 1, wherein the trained model further outputs an additional segmentation mask and an additional depth map, the additional segmentation mask indicating whether the pixels correspond to visible traversable space or visible non-traversable space, and the depth map indicating an estimated depth to one or more visible surfaces represented by the pixels.

### Claim 5 (depends on 1)

The computer-readable storage medium of claim 1, wherein the model was trained by a process comprising:
acquiring training image data including a target stereo image pair and a source stereo image pair of a training scene, the target stereo image pair including a target image from a target view of an additional object in the training scene occluding a traversable surface in the training scene, the source stereo image pair including a source image from a source view in which the occluded traversable surface is visible;
generating, using the source stereo image pair, a visible traversable space depth map for the source image of the stereo image pair, the visible traversable space depth map indicating a pixel in the source image representing the occluded traversable surface corresponds to traversable space;
generating a warped depth map for the source image of the stereo image pair by projecting the visible traversable space depth map onto the target view;
generating, using the warped depth map, a target segmentation mask for the target image, the target segmentation mask indicating a pixel in the target image representing a portion of the additional object occluding the traversable surface corresponds to traversable space;
generating, using the warped depth map, a target traversable depth map for the target image, the target depth map indicating a depth to the occluded traversable surface; and
training the model using the target image, the target segmentation mask, and the target depth map.

### Claim 6 (depends on 5)

The computer-readable storage medium of claim 5, wherein generating the visible traversable space depth map comprises:
generating, using the source stereo image pair, a visible traversable space segmentation map, the visible traversable space segmentation map indicating whether pixels of the source image correspond to visible traversable space or visible non-traversable space;
generating, using the source stereo image pair, a visible space depth map for the source image, the visible space depth map indicating an estimated depth to one or more visible surfaces represented by the pixels of the source image; and
generating the visible traversable space depth map from the visible traversable space segmentation map and the visible space depth map for the source image.

### Claim 7 (depends on 5)

The computer-readable storage medium of claim 5, wherein the training image data further includes an additional source stereo image pair including an additional source image from an additional source view in which the occluded traversable surface is visible, and wherein training the model further comprises:
generating, using the additional source stereo image pair, an additional visible traversable space depth map for the additional source image of the additional stereo image pair, the additional visible traversable space depth map indicating an additional pixel in the additional source image representing the occluded traversable surface corresponds to traversable space; and
generating an additional warped depth map for the additional source image of the additional stereo image pair by projecting the additional visible traversable space depth map onto the target view;
generating the target segmentation mask and the target depth map for the target image by aggregating the warped depth map and the additional warped depth map.

### Claim 8 (depends on 5)

The computer-readable storage medium of claim 5, wherein training the model comprises:
inputting the target image into the model, the model outputting a predicted traversable space segmentation mask and a predicted traversable space depth map for the target image;
determining a first training loss value by comparing the predicted traversable space segmentation mask to the target segmentation mask;
determining a second training loss value by comparing the predicted traversable space depth map to the target depth map; and
updating parameters of the model using the first and second training loss values.

### Claim 9 (depends on 8)

The computer-readable storage medium of claim 8, further comprising:
generating an object footprint segmentation mask for the target image, the object footprint segmentation mask indicating the pixel in the target image representing the portion of the additional object corresponds to a footprint of the additional object; and
before determining the first training loss value, modifying the target segmentation mask using the object footprint segmentation mask, the modifying including indicating the pixel in the target image representing the portion of the additional object is non-traversable.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, wherein determining the first training loss value comprises:
responsive the traversable space segmentation mask indicating that pixels in the target image correspond to traversable space, determining a loss contribution to the first training loss value for the pixels in the target image that encourages the model to predict that the pixels in the target image are traversable; and
responsive to the object footprint segmentation mask indicating that pixels in the target image correspond to the footprint of the additional object, determining a loss contribution for the pixels in the target image to the first training loss value that encourages the model to predict that the pixels in the target image are non-traversable.

### Claim 11 (depends on 8)

The computer-readable storage medium of claim 8, wherein training the model further comprises:
generating a moving object segmentation mask for the target image, the moving object segmentation mask indicating whether pixels in the target image represent visible moving objects or visible static objects; and
responsive to the moving object segmentation mask indicating that pixels in the target image correspond to moving objects in the moving object segmentation mask, ignoring the pixels in the target image in determining the first and second loss values.

### Claim 12 (depends on 5)

The computer-readable storage medium of claim 5, wherein the training image data includes stereo video data, and the source stereo image pairs correspond to frames of the stereo video data that come before or after frames of the stereo video data corresponding to the target stereo image pair.

### Claim 13

A computer-implemented method comprising:
receiving an image of a scene including an object in the scene;
inputting the image into a trained model that outputs a segmentation mask and a depth map, the segmentation mask indicating whether pixels of the image correspond to traversable space or non-traversable space, and the depth map indicating an estimated depth to one or more traversable surfaces for the pixels corresponding to traversable space, wherein the non-traversable space includes a footprint of the object and the traversable space includes traversable space occluded by the object in the image; and
applying the segmentation mask and the depth map to determine a position in the occluded traversable space.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
determining a traversable path through the scene for an agent including the position in the occluded traversable space.

### Claim 15 (depends on 13)

The method of claim 13, wherein the model was trained by a process comprising:
acquiring training image data including a target stereo image pair and a source stereo image pair of a training scene, the target stereo image pair including a target image from a target view of an additional object in the training scene occluding a traversable surface in the training scene, the source stereo image pair including a source image from a source view in which the occluded traversable surface is visible;
generating, using the source stereo image pair, a visible traversable space depth map for the source image of the stereo image pair, the visible traversable space depth map indicating a pixel in the source image representing the occluded traversable surface corresponds to traversable space;
generating a warped depth map for the source image of the stereo image pair by projecting the visible traversable space depth map onto the target view;
generating, using the warped depth map, a target segmentation mask for the target image, the target segmentation mask indicating a pixel in the target image representing a portion of the additional object occluding the traversable surface corresponds to traversable space;
generating, using the warped depth map, a target traversable depth map for the target image, the target depth map indicating a depth to the occluded traversable surface; and
training the model using the target image, the target segmentation mask, and the target depth map.

### Claim 16 (depends on 15)

The method of claim 15, wherein generating the visible traversable space depth map comprises:
generating, using the source stereo image pair, a visible traversable space segmentation map, the visible traversable space segmentation map indicating whether pixels of the source image correspond to visible traversable space or visible non-traversable space;
generating, using the source stereo image pair, a visible space depth map for the source image, the visible space depth map indicating an estimated depth to one or more visible surfaces represented by the pixels of the source image; and
generating the visible traversable space depth map from the visible traversable space segmentation map and the visible space depth map for the source image.

### Claim 17 (depends on 15)

The method of claim 15, wherein the training image data further includes an additional source stereo image pair including an additional source image from an additional source view in which the occluded traversable surface is visible, and wherein training the model further comprises:
generating, using the additional source stereo image pair, an additional visible traversable space depth map for the additional source image of the additional stereo image pair, the additional visible traversable space depth map indicating an additional pixel in the additional source image representing the occluded traversable surface corresponds to traversable space; and
generating an additional warped depth map for the additional source image of the additional stereo image pair by projecting the additional visible traversable space depth map onto the target view;
generating the target segmentation mask and the target depth map for the target image by aggregating the warped depth map and the additional warped depth map.

### Claim 18 (depends on 15)

The method of claim 15, wherein training the model comprises:
inputting the target image into the model, the model outputting a predicted traversable space segmentation mask and a predicted traversable space depth map for the target image;
determining a first training loss value by comparing the predicted traversable space segmentation mask to the target segmentation mask;
determining a second training loss value by comparing the predicted traversable space depth map to the target depth map; and
updating parameters of the model using the first and second training loss values.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
generating an object footprint segmentation mask for the target image, the object footprint segmentation mask indicating the pixel in the target image representing the portion of the additional object corresponds to a footprint of the additional object; and
before determining the first training loss value, modifying the target segmentation mask using the object footprint segmentation mask, the modifying including indicating the pixel in the target image representing the portion of the additional object is non-traversable.

### Claim 20

A non-transitory computer-readable storage medium storing:
a traversable space estimation model manufactured by a process comprising:
acquiring training image data including a target stereo image pair and a source stereo image pair of a training scene, the target stereo image pair including a target image from a target view of an additional object in the training scene occluding a traversable surface in the training scene, the source stereo image pair including a source image from a source view in which the occluded traversable surface is visible;
generating, using the source stereo image pair, a visible traversable space depth map for the source image of the stereo image pair, the visible traversable space depth map indicating a pixel in the source image representing the occluded traversable surface corresponds to traversable space;
generating a warped depth map for the source image of the stereo image pair by projecting the visible traversable space depth map onto the target view;
generating, using the warped depth map, a target segmentation mask for the target image, the target segmentation mask indicating a pixel in the target image representing a portion of the additional object occluding the traversable surface corresponds to traversable space;
generating, using the warped depth map, a target traversable depth map for the target image, the target depth map indicating a depth to the occluded traversable surface; and
training the traversable space estimation model using the target image, the target segmentation mask, and the target depth map.
