Image processing method and electronic device
Abstract:
An image processing method and an electronic device are provided, the method extracts a first object mask of a texture image and a second object mask of a to-be-optimized image. An image recognition model is used to obtain a first content matrix, a first texture matrix, a second content matrix, a second texture matrix, a first mask matrix, and a second mask matrix. A total loss of the to-be-optimized image is determined, and the total loss is minimized by adjusting a value of each pixel of the to-be-optimized image, thereby an optimized image is obtained. By utilizing the image processing method, quality of final image is improved.
Public/Granted literature
Information query
Patent Agency Ranking
0/0