CPC H04N 13/128 (2018.05) [G06T 7/571 (2017.01); G06T 7/593 (2017.01); G06T 19/006 (2013.01); H04L 67/131 (2022.05); H04N 13/111 (2018.05); H04N 13/239 (2018.05); G06T 2200/24 (2013.01); G06T 2207/30201 (2013.01); H04N 2013/0081 (2013.01)] | 20 Claims |
1. A method, comprising:
applying, to image data and depth data, a 3D effect based at least in part on an augmented reality content generator, the applying the 3D effect comprising:
generating a depth map using at least the depth data,
generating a segmentation mask based at least on the image data, and
performing background inpainting and blurring of the image data using at least the segmentation mask to generate background inpainted image data, the performing the background inpainting comprising performing a diffusion based inpainting technique that fills in a missing region by propagating image content from a boundary between the missing region and a background region to an interior of the missing region, wherein the background region comprises a particular region of the image data without a foreground subject and the missing region includes the foreground subject, generating the depth map comprises converting a single channel floating point texture into a raw depth map, and portions of the single channel floating point texture are sent into multiple lower precision channels; and
generating a 3D message based at least in part on the applied 3D effect.
|