-
公开(公告)号:US20190295227A1
公开(公告)日:2019-09-26
申请号:US15935994
申请日:2018-03-26
Applicant: Adobe Inc.
Inventor: Oliver Wang , Michal Lukac , Elya Shechtman , Mahyar Najibikohnehshahri
Abstract: Techniques for using deep learning to facilitate patch-based image inpainting are described. In an example, a computer system hosts a neural network trained to generate, from an image, code vectors including features learned by the neural network and descriptive of patches. The image is received and contains a region of interest (e.g., a hole missing content). The computer system inputs it to the network and, in response, receives the code vectors. Each code vector is associated with a pixel in the image. Rather than comparing RGB values between patches, the computer system compares the code vector of a pixel inside the region to code vectors of pixels outside the region to find the best match based on a feature similarity measure (e.g., a cosine similarity). The pixel value of the pixel inside the region is set based on the pixel value of the matched pixel outside this region.
-
公开(公告)号:US10740881B2
公开(公告)日:2020-08-11
申请号:US15935994
申请日:2018-03-26
Applicant: Adobe Inc.
Inventor: Oliver Wang , Michal Lukac , Elya Shechtman , Mahyar Najibikohnehshahri
Abstract: Techniques for using deep learning to facilitate patch-based image inpainting are described. In an example, a computer system hosts a neural network trained to generate, from an image, code vectors including features learned by the neural network and descriptive of patches. The image is received and contains a region of interest (e.g., a hole missing content). The computer system inputs it to the network and, in response, receives the code vectors. Each code vector is associated with a pixel in the image. Rather than comparing RGB values between patches, the computer system compares the code vector of a pixel inside the region to code vectors of pixels outside the region to find the best match based on a feature similarity measure (e.g., a cosine similarity). The pixel value of the pixel inside the region is set based on the pixel value of the matched pixel outside this region.
-