US 11,983,850 B2
Image processing method and apparatus, device, and storage medium
Yi Wang, Shenzhen (CN); Xin Tao, Shenzhen (CN); Jiaya Jia, Shenzhen (CN); Yuwing Tai, Shenzhen (CN); and Xiaoyong Shen, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Jul. 9, 2021, as Appl. No. 17/372,311.
Application 17/372,311 is a continuation of application No. PCT/CN2020/074990, filed on Feb. 13, 2020.
Claims priority of application No. 201910168409.7 (CN), filed on Mar. 6, 2019.
Prior Publication US 2021/0334942 A1, Oct. 28, 2021
Int. Cl. G06T 5/00 (2006.01); G06N 3/08 (2023.01); G06T 5/50 (2006.01); G06T 11/60 (2006.01)
CPC G06T 5/005 (2013.01) [G06N 3/08 (2013.01); G06T 5/50 (2013.01); G06T 11/60 (2013.01); G06T 2207/20081 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An image processing method, performed by a computing device, the method comprising:
receiving an input image;
determining a context feature of the input image;
determining a first feature set and a second feature set according to the context feature and based on a size of a target image and a location of the input image in the target image;
adjusting the second feature set according to a first feature statistic of the first feature set, to obtain an adjusted second feature set; and
generating the target image based on the adjusted second feature set and the first feature set;
wherein:
the image processing method is implemented by using a deep neural network, the deep neural network being trained using the following operations:
determining a sample image from a training sample set, and randomly determining a partial image in the sample image as an input of the deep neural network;
processing the partial image by using the deep neural network, and outputting a target image based on the partial image; and
adjusting a value of the deep neural network, to minimize a loss between the target image and the sample image, the loss being determined by a pixel difference between the sample image and the target image based on a matrix of a real sample image, an output of the deep neural network, the input image, a size of an edge, a parameter of the deep neural network, and a weight matrix.