# US 2022/0292684 A1 · Generating refined segmentations masks via meticulous object segmentation

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

- Number: US 2022/0292684 A1
- Document ID: US20220292684A1
- Status: Published application
- Kind: A1
- Application number: 17/200,525
- Filed: 2021-03-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Yilin Wang; Chenglin Yang; Jianming Zhang; He Zhang; Zhe Lin
- Web page: https://patentgrep.com/patent/US20220292684A1

## CPC

- G06T 7/11: Region-based segmentation
- G06V 10/82: using neural networks
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06T 3/4046: using neural networks
- 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/75: Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
- G06T 2207/20016: Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure relates to systems, methods, and non-transitory computer-readable media that utilizes a neural network having a hierarchy of hierarchical point-wise refining blocks to generate refined segmentation masks for high-resolution digital visual media items. For example, in one or more embodiments, the disclosed systems utilize a segmentation refinement neural network having an encoder and a recursive decoder to generate the refined segmentation masks. The recursive decoder includes a deconvolution branch for generating feature maps and a refinement branch for generating and refining segmentation masks. In particular, in some cases, the refinement branch includes a hierarchy of hierarchical point-wise refining blocks that recursively refine a segmentation mask generated for a digital visual media item. In some cases, the disclosed systems utilize a segmentation refinement neural network that includes a low-resolution network and a high-resolution network, each including an encoder and a recursive decoder, to generate the refined segmentation masks.

## Claims

### Claim 1

In a digital medium environment for editing digital visual media, a computer-implemented method for generating segmentation masks comprising:
generating, utilizing a segmentation refinement neural network, a refined segmentation mask for a digital visual media item depicting one or more objects by:
extracting, utilizing an encoder, encoded feature maps from the digital visual media item;
generating, utilizing a deconvolution branch of a recursive decoder, decoded feature maps based on the encoded feature maps; and
generating, utilizing a hierarchy of hierarchical point-wise refining blocks corresponding to a refinement branch of the recursive decoder, the refined segmentation mask by recursively refining an initial segmentation mask corresponding to the digital visual media item based on the encoded feature maps and the decoded feature maps.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein generating, utilizing the hierarchy of hierarchical point-wise refining blocks, the refined segmentation mask comprises:
generating, utilizing a first hierarchical point-wise refining block, an uncertainty map based on a decoded feature map from the decoded feature maps; and
generating, utilizing the first hierarchical point-wise refining block, the initial segmentation mask for the digital visual media item based on the uncertainty map and an encoded feature map from the encoded feature maps.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
generating, utilizing a second hierarchical point-wise refining block, an additional segmentation mask based on an additional decoded feature map from the decoded feature maps and an additional encoded feature map from the encoded feature maps; and
determining, utilizing a mask encoding layer of the refinement branch, encodings of coarse-to-fine variations based on the initial segmentation mask and the additional segmentation mask.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising generating, utilizing the hierarchy of hierarchical point-wise refining blocks, the refined segmentation mask by recursively up-sampling the initial segmentation mask while recursively refining the initial segmentation mask so that a size of the refined segmentation mask is greater than a size of the initial segmentation mask.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4,
further comprising generating the initial segmentation mask using a first hierarchical point-wise refining block,
wherein recursively up-sampling the initial segmentation mask while recursively refining the initial segmentation mask comprises:
generating, utilizing a first up-sampling cycle comprising a first set of hierarchical point-wise refining blocks, a first up-sampled segmentation mask comprising a first set of refinements to the initial segmentation mask;
generating, utilizing a second up-sampling cycle comprising a second set of hierarchical point-wise refining blocks, a second up-sampled segmentation mask comprising a second set of refinements based on the first up-sampled segmentation mask; and
generating, utilizing a third up-sampling cycle comprising a third set of hierarchical point-wise refining blocks, a third up-sampled segmentation mask comprising a third set of refinements based on the second up-sampled segmentation mask, the refined segmentation mask comprising the third up-sampled segmentation mask.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1,
further comprising providing feature values generated by a first hierarchical point-wise refining block of the hierarchy of hierarchical point-wise refining blocks to a plurality of additional hierarchical point-wise refining blocks of the hierarchy of hierarchical point-wise refining blocks via one or more skip connections,
wherein generating, utilizing the hierarchy of hierarchical point-wise refining blocks, the refined segmentation mask comprises generating, utilizing the hierarchy of hierarchical point-wise refining blocks, the refined segmentation mask based on the encoded feature maps, the decoded feature maps, and the feature values generated by the first hierarchical point-wise refining block.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1,
further comprising generating a low-resolution copy of the digital visual media item, the low-resolution copy comprising a resolution that is lower than an original resolution of the digital visual media item,
wherein, generating, utilizing the segmentation refinement neural network, the refined segmentation mask for the digital visual media item comprises generating, utilizing a low-resolution network of the segmentation refinement neural network and based on the low-resolution copy of the digital visual media item, a low-resolution segmentation mask comprising the resolution that is lower than the original resolution of the digital visual media item.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, further comprising:
resizing the low-resolution segmentation mask to include the original resolution of the digital visual media item; and
generating, utilizing a high-resolution network of the segmentation refinement neural network, a high-resolution segmentation mask based on the resized low-resolution segmentation mask, the high-resolution segmentation mask comprising the original resolution of the digital visual media item.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein generating, utilizing the high-resolution network of the segmentation refinement neural network, the high-resolution segmentation mask based on the resized low-resolution segmentation mask comprises:
determining one or more patches corresponding to the digital visual media item; and
generating the high-resolution segmentation mask based on the resized low-resolution segmentation mask and the one or more patches corresponding to the digital visual media item.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising modifying the digital visual media item based on the refined segmentation mask.

### Claim 11

A system comprising:
at least one memory device comprising a segmentation refinement neural network comprising:
an encoder that extracts encoded feature maps from a digital visual media item; and
a recursive decoder that generates a refined segmentation mask for the digital visual media item based on the encoded feature maps, the recursive decoder comprising:
a deconvolution branch that generates decoded feature maps based on the encoded feature maps; and
a refinement branch comprising a hierarchy of hierarchical point-wise refining blocks that generate, based on the encoded feature maps and the decoded feature maps, the refined segmentation mask by recursively refining an initial segmentation mask corresponding to the digital visual media item; and
at least one computing device configured to cause the system to:
receive, at the segmentation refinement neural network, at least one digital visual media item; and
generate, utilizing the segmentation refinement neural network, at least one refined segmentation mask for the at least one digital visual media item.

### Claim 12 (depends on 11)

The system of claim 11, wherein the segmentation refinement neural network comprises:
a low-resolution network comprising the encoder and the recursive decoder; and
a high-resolution network comprising:
an additional encoder that extracts additional encoded feature maps from the refined segmentation mask; and
an additional recursive decoder that generates an additional refined segmentation mask for the digital visual media item based on the additional encoded feature maps.

### Claim 13 (depends on 12)

The system of claim 12, wherein the additional recursive decoder comprises:
an additional deconvolution branch that generates additional decoded feature maps based on the additional encoded feature maps; and
an additional refinement branch comprising an additional hierarchy of hierarchical point-wise refining blocks that generate, based on the additional encoded feature maps and the additional decoded feature maps.

### Claim 14 (depends on 11)

The system of claim 11, wherein the refinement branch of the recursive decoder comprises a mask encoding layer that generates coarse-to-fine variations based on segmentation masks generated by the hierarchy of hierarchical point-wise refining blocks and provides the coarse-to-fine variations to the deconvolution branch.

### Claim 15 (depends on 11)

The system of claim 11, wherein the segmentation refinement neural network comprises a first set of skip connections that connect deconvolutional layers of the deconvolution branch to at least one layer of the encoder and a first hierarchical point-wise refining block of the hierarchy of hierarchical point-wise refining blocks.

### Claim 16 (depends on 15)

The system of claim 15, wherein the segmentation refinement neural network comprises a second set of skip connections that connect other hierarchical point-wise refining blocks of the hierarchy of hierarchical point-wise refining blocks to the first hierarchical point-wise refining block.

### Claim 17

A non-transitory computer-readable medium storing instructions thereon that, when executed by at least one processor, cause a computing device to:
determine a digital visual media item depicting one or more objects;
extract, utilizing an encoder of a segmentation refinement neural network, encoded feature maps from the digital visual media item; and
generate, utilizing a recursive decoder of the segmentation refinement neural network, an initial segmentation mask for the digital visual media item by:
determining, utilizing one or more deconvolution layers, a first decoded feature map based on a first encoded feature map from the encoded feature maps;
generating, utilizing a hierarchical point-wise refining block, an uncertainty map based on the first decoded feature map, the uncertainty map indicating pixels having an associated uncertainty that the pixels correspond to the one or more objects or do not correspond to the one or more objects; and
determining, utilizing the hierarchical point-wise refining block, the initial segmentation mask for the digital visual media item based on the uncertainty map, the first decoded feature map, and a second encoded feature map from the encoded feature maps.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, further comprising instructions that, when executed by the at least one processor, cause the computing device to generate, utilizing the recursive decoder of the segmentation refinement neural network, a refined segmentation mask for the digital visual media item by recursively refining the initial segmentation mask utilizing a hierarchy of additional hierarchical point-wise refining blocks.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein recursively refining the initial segmentation mask utilizing the hierarchy of additional hierarchical point-wise refining blocks comprises generating, utilizing an additional hierarchical point-wise refining block, an additional segmentation mask by reclassifying one or more pixels of the initial segmentation mask.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, further comprising instructions that, when executed by the at least one processor, cause the computing device to:
generate, utilizing a mask encoding layer of the recursive decoder, encodings of coarse-to-fine variations based on the initial segmentation mask and the additional segmentation mask; and
determine, utilizing the one or more deconvolution layers, a second decoded feature map based on at least one encoded feature map and the encodings of the coarse-to-fine variations.
