Object relighting using neural networks

    公开(公告)号:US11830129B2

    公开(公告)日:2023-11-28

    申请号:US17385462

    申请日:2021-07-26

    申请人: Snap Inc.

    摘要: A messaging system performs image processing to relight objects with neural networks for images provided by users of the messaging system. A method of relighting objects with neural networks includes receiving an input image with first lighting properties comprising an object with second lighting properties and processing the input image using a convolutional neural network to generate an output image with the first lighting properties and comprising the object with third lighting properties, where the convolutional neural network is trained to modify the second lighting properties to be consistent with lighting conditions indicated by the first lighting properties to generate the third lighting properties. The method further includes modifying the second lighting properties of the object to generate the object with modified second lighting properties and blending the third lighting properties with the modified second lighting properties to generate a modified output image comprising the object with fourth lighting properties.

    Image processing method
    63.
    发明授权

    公开(公告)号:US11823326B2

    公开(公告)日:2023-11-21

    申请号:US18317067

    申请日:2023-05-13

    摘要: An image processing method includes obtaining two-dimensional and three-dimensional images of an object, extracting luminance and depth information from the three-dimensional image to generate luminance and depth image for the object, graying the two-dimensional image to obtain a single-channel grayscale image, selecting at least three same-location points from each of the grayscale and luminance image, calculating a coordinate transformation matrix between the grayscale and luminance images based on coordinates of the at least three same-location points in each of the grayscale and luminance images, and aligning the two-dimensional image with the luminance and depth images based on the coordinate transformation matrix to obtain fused image data. The fused image data includes color information of the two-dimensional image and the luminance and depth information of the three-dimensional image.

    Spatial hashing for world-space spatiotemporal reservoir re-use for ray tracing

    公开(公告)号:US11816781B2

    公开(公告)日:2023-11-14

    申请号:US17354906

    申请日:2021-06-22

    IPC分类号: G06T15/06 G06T15/50

    CPC分类号: G06T15/06 G06T15/50

    摘要: A processor shares path tracing data across sampling locations to amortize computations across space and time. The processor maps a group of sampling locations of a frame that are adjacent to each other in world-space to a cell of a hash table. Each cell of the hash table stores a list of reservoirs that are each associated with a ray that intersects the group of sampling locations from world-space. The processor resamples the reservoirs at the hash table by combining and re-using reservoirs across neighboring sampling locations and corresponding sampling locations of the previous frame to select a set of samples mapped to the cell. The processor then performs resampling of the selected set of samples to obtain a representative light sample to determine a value for the cell and renders the frame based on the value of the cell.

    INSERTING THREE-DIMENSIONAL OBJECTS INTO DIGITAL IMAGES WITH CONSISTENT LIGHTING VIA GLOBAL AND LOCAL LIGHTING INFORMATION

    公开(公告)号:US20230360320A1

    公开(公告)日:2023-11-09

    申请号:US18354619

    申请日:2023-07-18

    申请人: Adobe Inc.

    摘要: This disclosure describes methods, non-transitory computer readable storage media, and systems that generate realistic shading for three-dimensional objects inserted into digital images. The disclosed system utilizes a light encoder neural network to generate a representation embedding of lighting in a digital image. Additionally, the disclosed system determines points of the three-dimensional object visible within a camera view. The disclosed system generates a self-occlusion map for the digital three-dimensional object by determining whether fixed sets of rays uniformly sampled from the points intersects with the digital three-dimensional object. The disclosed system utilizes a generator neural network to determine a shading map for the digital three-dimensional object based on the representation embedding of lighting in the digital image and the self-occlusion map. Additionally, the disclosed system generates a modified digital image with the three-dimensional object inserted into the digital image with consistent lighting of the three-dimensional object and the digital image.

    Method and apparatus for interactive volumetric visualization

    公开(公告)号:US11804011B2

    公开(公告)日:2023-10-31

    申请号:US17447804

    申请日:2021-09-15

    发明人: Charles Lavigne Li Jl

    摘要: Disclosed is a method and apparatus for enabling interactive visualization of three-dimensional volumetric models. The method involves maintaining three-dimensional volumetric models represented by explicit surfaces. In accordance with an embodiment of the disclosure, the method also involves, for a current point of view, generating and displaying images of the volumetric models in a manner that clarifies internal structures by accounting for light attenuation inside the volumetric models as a function of spatial positions of the explicit surfaces. The method also involves, upon receiving user input that adjusts a display variable, repeating the generating and the displaying of the images in accordance with the display variable that has been adjusted, thereby enabling interactive visualization of the volumetric models while simultaneously clarifying the internal structures by accounting for the light attenuation inside the volumetric models.