# US 2022/0292722 A1 · Occupancy map block-to-patch information compression

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

- Number: US 2022/0292722 A1
- Document ID: US20220292722A1
- Status: Published application
- Kind: A1
- Application number: 17/804,477
- Filed: 2022-05-27
- Published: 2022-09-15
- Earliest claimed: 2018-10-02
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Khaled Mammou; Alexandros Tourapis; Yeping Su; Jungsun Kim; Fabrice A. Robinet; Valery G. Valentin
- Web page: https://patentgrep.com/patent/US20220292722A1

## CPC

- G06T 9/001: {Model-based coding, e.g. wire frame}
- H04N 19/597: specially adapted for multi-view video sequence encoding
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A system comprises an encoder configured to compress attribute information and/or spatial information for a point cloud and/or a decoder configured to decompress compressed attribute and/or spatial information for the point cloud. The encoder is configured to convert a point cloud into an image based representation. The encoder packs patch images into an image frame and fills empty spaces in the image frame with a padding. Various compression strategies may be used to encode an occupancy map and related block-to-patch information indicating which portions of the image frame correspond to which packed patches. Packed image frames comprising patches and padding, along with an encoded occupancy map and related block-to-patch information are sent to a decoder. The decoder is configured to generate a decompressed point cloud based on the packed image frames, compressed occupancy map, and related block-to-patch information.

## Claims

### Claim 1

A non-transitory computer-readable medium storing program instructions that, when executed by one or more processors, cause the one or more processors to:
determine, for a point cloud, a plurality of patches, wherein each patch comprises points of the point cloud projected on a patch plane;
pack patch images corresponding to the plurality of patches into corresponding image frames;
determine patch information indicating a bounding box size and position for each of the patch images packed into the corresponding image frames;
generate one or more occupancy maps comprising information indicating for respective ones of the image frames, whether portions of the respective ones of the image frames are occupied with one of the patch images or correspond to a padded portion that is not occupied with one of the patch images;
determine block-to-patch information indicating, for respective blocks of the image frames, a correspondence between the respective block and one or more patch images that have been packed into the image frames such that a portion of the one or more patch images occupies the respective block;
encode the image frames via a video-based encoder;
encode the occupancy map and the patch information via the video-based encoder or an arithmetic encoder; and
encode the block-to-patch information via the video-based encoder or via the arithmetic encoder, wherein the block-to-patch information is encoded via either the video-based encoder or the arithmetic encoder such that there is not a decoding dependency between the video-based encoder and the arithmetic encoder to decode the encoded block-to-patch information.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein to encode the block-to patch information, the program instructions cause the one or more processors to:
signal one or more blocks of a given image frame included in a bounding box for a given patch that do not include any pixels occupied by the given patch.

### Claim 3 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the block-to-patch information is encoded via the arithmetic encoder such that there is not a decoding dependency on the video-based encoder to decode the encoded block-to-patch information.

### Claim 4 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the block-to-patch information is encoded via the video-based encoder such that there is not a decoding dependency on the arithmetic encoder to decode the encoded block-to-patch information.

### Claim 5 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the occupancy map comprises binary values indicating whether the portions of the respective ones of the image frames are occupied or padded.

### Claim 6 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein to encode the block-to patch information, the program instructions cause the one or more processors to:
assign non-binary attribute values to respective pixels of the occupancy map, wherein the non-binary attribute values assigned to the respective pixels of the occupancy map are selected in accordance with a mapping that maps the non-binary attribute values to local patch image indexes for respective blocks of the image frames that correspond to the respective pixels of the occupancy map, wherein different ones of the attribute values correspond to different ones of the local patch image indexes.

### Claim 7 (depends on 6)

The non-transitory computer-readable medium of claim 6, wherein the patch information comprises:
the local patch image indexes and information indicating the mapping between the attribute values and the local patch image indexes.

### Claim 8 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein to encode the block-to patch information, the program instructions cause the one or more processors to:
assign non-binary attribute values to respective pixels of the occupancy map, wherein the non-binary attribute values assigned to the respective pixels of the occupancy map are selected in accordance with a mapping that maps the non-binary attribute values to corresponding patch images for respective blocks of the image frames that correspond to the respective pixels of the occupancy map, wherein different ones of the attribute values correspond to different ones of the patch images.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the patch information comprises:
a global mapping that maps each patch image associated with a given image frame to a corresponding attribute value assigned to a respective one of the pixels of the occupancy map.

### Claim 10 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein to pack the patch images into the corresponding image frames, the program instructions cause the one or more processors to:
for a given image frame:
pack a limited number of patch images into a first region of the given image frame; and
for each of one or more other regions of the given image frame:
pack no more than the limited number of patches in respective ones of the other regions;
wherein to encode the block-to patch information, the program instructions cause the one or more processors to:
assign non-binary attribute values to respective pixels of the occupancy map, wherein the non-binary attribute values assigned to the respective pixels of the occupancy map are selected in accordance with a regional mapping that maps the non-binary attribute values to corresponding patch images included in a given region of the occupancy map to respective blocks of the image frames that correspond to the respective pixels of the occupancy map, wherein, within a given region different ones of the attribute values correspond to different ones of the patch images.

### Claim 11 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the patch information comprises:
the regional mappings that map each patch image associated with a given region to a corresponding attribute value assigned to a respective one of the pixels of the region of the occupancy map.

### Claim 12

A non-transitory computer-readable medium storing program instructions that, when executed by one or more processors, cause the one or more processors to:
determine, for a point cloud, a plurality of patches, wherein each patch comprises points of the point cloud projected on a patch plane;
pack patch images corresponding to the plurality of patches into corresponding image frames;
determine patch information indicating a bounding box size and position for each of the patch images packed into the corresponding image frames;
generate one or more occupancy maps comprising information indicating for respective ones of the image frames, whether portions of the respective ones of the image frames are occupied with one of the patch images or correspond to a padded portion of the image frames that is not occupied with one of the patch images;
encode the image frames and the occupancy map via a video-based encoder; and
encode the patch information via the video-based encoder or an arithmetic encoder.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein to pack the patch images into the corresponding image frames, the program instructions cause the one or more processors to:
pack the patch images into the corresponding image frames such that the respective bounding boxes of the respective patch images do not overlap.

### Claim 14 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein to pack the patch images into the corresponding image frames, the program instructions cause the one or more processors to:
pack the patch images into the corresponding image frames such that the respective bounding boxes of the respective patch, if overlapping one another, do not overlap such that an occupancy map pixel is covered by more than one patch image.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein to pack the patch images into the corresponding image frames, the program instructions further cause the one or more processors to:
align resolutions of the respective bounding boxes of the respective patch images to a resolution of the occupancy map, prior to selecting locations in the images frames to pack the respective patch images.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein for a given image frame, its corresponding occupancy map has a lower resolution than the given image frame, such that a pixel of the occupancy map corresponds to a block of pixels in the given image frame.

### Claim 17

A non-transitory computer-readable medium storing program instructions that, when executed by one or more processors, cause the one or more processors to:
receive, at a decoder, an encoded bitstream comprising:
image frames comprising geometry patch images of a point cloud and attribute patch images of the point cloud;
patch information indicating a bounding box size and position for each of the geometry or attribute patch images packed into the image frames; and
one or more occupancy maps comprising information indicating for respective ones of the image frames, whether portions of the respective ones of the image frames are occupied with one of the geometry or attribute patch images or correspond to a padded portion of the image frames that is not occupied with one of the geometry or attribute patch images;
decode the encoded bitstream;
determine block-to-patch information indicating, for respective blocks of the image frames, a correspondence between the respective blocks and one or more patch images that have been packed into the image frames such that a portion of a bounding box of the one or more patch images occupies the given block,
wherein the block-to patch information is determined based on an order in which the patch images were packed into the image frames, wherein the patch information for the patches included in the bitstream is ordered in a same order in which the patches were packed into the image frames.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein for a given image frame, the patches are packed into the given image frame in an order from largest bounding box patch to smallest bounding box patch.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein for a given image frame, the patches are packed into the given image frame in an order from smallest bounding box patch to largest bounding box patch.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the bitstream comprises data indicating whether the patches were packed into the image frames in an ascending size order or a descending size order.
