Method for translating image and method for training image translation model

    公开(公告)号:US11526971B2

    公开(公告)日:2022-12-13

    申请号:US17107196

    申请日:2020-11-30

    Abstract: The present disclosure provides a computer-implemented method for translating an image and a computer-implemented method for training an image translation model. In the computer-implemented method for translating an image, an image translation request carrying an original image is obtained. The original image is processed to generate a pre-translated image, a mask image and a deformation parameter. The original image is deformed based on the deformation parameter to obtain a deformed image. The deformed image, the pre-translated image and the mask image are merged to generate a target translated image.

    Method for translating image, method for training image translation model

    公开(公告)号:US11508044B2

    公开(公告)日:2022-11-22

    申请号:US17115996

    申请日:2020-12-09

    Abstract: A method for translating an image, a method for training an image translation model, and related electronic devices are proposed. In the method for translating an image, an image translation request carrying an original image is obtained. A down-sampled image is generated by down sampling the original image. A pre-translated image, a mask image, and deformation parameters are generated based on the down-sampled image. A size of the pre-translated image and a size of the mask image are the same as a size of the original image. A deformed image is obtained by deforming original image based on the deformation parameters. The deformed image, the pre-translated image and the mask image are fused to generate a target translation image.

Patent Agency Ranking