hottub.patents
US 12,700,211 B2#3173443 Most CitedActiveUnited States (USPTO)Utility

Bystander and attached shadow removal

0Forward Citations (#3173443 Global)
0.0/yrCitation Velocity (#3173443 Global)
0.00Citation PageRank (#3173443 Global)
2Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A media application derives a bystander mask from an image by analyzing the image with a bystander segmentation model, wherein the image depicts a bystander and the bystander mask identifies a plurality of first pixels in the image that are associated with the bystander. The media derives a shadow mask for the bystander by analyzing the image with a shadow segmentation model, wherein the image and the bystander mask are provided as input to the shadow segmentation model, and wherein the shadow mask identifies a plurality of second pixels in the image that are associated with a shadow of the bystander. The media application modifies the image to update pixel values of the plurality of first pixels and the plurality of second pixels such that the bystander and the shadow are erased from the image.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A computer-implemented method comprising: deriving a bystander mask from an image by analyzing the image with a bystander segmentation model, wherein the image depicts a bystander and the bystander mask identifies a plurality of first pixels in the image that are associated with the bystander; providing the image and the bystander mask as input to a shadow segmentation model, wherein the shadow segmentation model is trained with a training dataset of a plurality of training images, a segmentation mask associated with a person in each training image of the plurality of training images, and a groundtruth shadow mask for each training image of the plurality of training images, and wherein the plurality of training images are generated by including a candidate image in the plurality of training images that is selected from a group of the candidate image including the person that is associated with a body bounding box that is less than a threshold overlap value with a vehicle bounding box,

  2. Claim 2Depends on #1

    The computer-implemented method of claim 1, further comprising determining a likelihood of existence of the shadow using a shadow classifier model based on the image and the bystander mask, wherein providing the image and the bystander mask as input to the shadow segmentation model, outputting the shadow mask for the bystander, and modifying the image are performed if the likelihood of existence of the shadow meets a threshold.

  3. Claim 3Depends on #1

    The computer-implemented method of claim 1, wherein modifying the image comprises applying an inpainting technique to update the pixel values of the plurality of first pixels and the plurality of second pixels.

  4. Claim 4Depends on #3

    The computer-implemented method of claim 3, wherein the inpainting technique is performed by an inpainter model.

  5. Claim 5Depends on #1

    The computer-implemented method of claim 1, further comprising, prior to the modifying, merging the bystander mask and the shadow mask.

  6. Claim 6Depends on #1

    The computer-implemented method of claim 1, wherein the shadow segmentation model includes a convolutional neural network (CNN) and training the shadow segmentation model comprises, for each training image of the plurality of training images: obtaining a predicted shadow mask based on the training image and the segmentation mask associated with the person in the training image; calculating a loss value based on a comparison of the predicted shadow mask and the groundtruth shadow mask for the training image; and updating a weight of one or more nodes of the CNN based on the loss value.

  7. Claim 7Depends on #1

    The computer-implemented method of claim 1, wherein one or more training images in the plurality of training images are associated with an empty groundtruth shadow mask.

  8. Claim 8Depends on #1

    The computer-implemented method of claim 1, wherein one or more training images in the plurality of training images are generated from a series of candidate images of a scene that includes the person captured at different times by: generating a clean-plate image that contains static elements of the scene; comparing each candidate image in the series of candidate images to the clean-plate image to identify dynamic parts of the scene; generating a plurality of segmentation masks for the person in the series of candidate images; and determining from the plurality of segmentation masks that pixels for the groundtruth shadow mask are adjacent to pixels corresponding to the segmentation mask of the plurality of segmentation masks.

Technical Overview & Description

BACKGROUND The appeal of visual media items, such as images (static images, images with selective motion, etc.) and videos can be improved by removing bystanders that distract from the focus of the media items. However, when a bystander is attached to a shadow, pixels associated with the bystander may be identified and modified to remove the bystander, while pixels associated with the shadow remain. Previous techniques have attempted to solve this issue by generating a shadow mask, but the shadow mask is difficult to generate accurately. For example, the process of identifying shadows may result in false positives in shadow mask candidates where an area larger than the shadow is removed. In addition, in situations where a person in the image does not cast a shadow, the process of identifying shadows may result in identifying shadows that belong to other objects. When object classification is used for image editing purposes (e.g., substituting the bystander with pixels that match background), the resultant image may be unsatisfactory due to the presence of pixels associated with the shadow that remain in the image even after the bystander has been erased. The background description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent it is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the present disclosure. SUMMARY A computer-implemented method includes deriving a bystander mask from an image by analyzing the image with a bystander segmentation model, where the image depicts a bystander and the bystander mask identifies a plurality of first pixels in the image that are associated with the bystander. The method further includes deriving a shadow mask for the bystander by analyzing the image with a shadow segmentation m

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (2)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Repopulating Street Scenes, Wang et al 2021 (Year: 2021).
  • EPO, International Search Report for International Patent Application No. PCT/US2023/081647, Mar. 18, 2024, 5 pages.
  • EPO, Written Opinion for International Patent Application No. PCT/US2023/081647, Mar. 18, 2024, 7 pages.
  • Lu, Erika et al.,
  • “
  • Omnimatte: Associating Objects and Their Effects in Videos
  • ”
  • , Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021, 9 pages.
  • Wang, Tianyu et al.,
  • “