Unlock instant, AI-driven research and patent intelligence for your innovation.

Image processing method and device, storage medium and program product

An image and model processing technology, applied in the computer field, can solve problems such as inability to meet aesthetic requirements and low accuracy of foreground portraits, and achieve the effect of meeting aesthetic requirements and improving accuracy

Active Publication Date: 2021-11-23
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the accuracy of the foreground portrait obtained by the portrait matting algorithm in the prior art is low, and it usually cannot meet people's aesthetic requirements.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image processing method and device, storage medium and program product
  • Image processing method and device, storage medium and program product
  • Image processing method and device, storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments It is a part of the embodiments of the present disclosure, but not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.

[0033] The current mainstream matting algorithm is to use semantic segmentation or other matting algorithms, input an RGB image, the image attribute shape is (3, H, W), and output a transparency map, the shape is (1, H, W). However, the accuracy of the foreground portrait obtained by the portrait matting algorithm in the prior art is low, an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides an image processing method and device, a storage medium and a program product. The method comprises the steps of obtaining a to-be-processed image containing a target object; the inputting to-be-processed image into a mask processing model, wherein the mask processing model comprises a coding network, a decoding network and an output network, extracting coding features of the to-be-processed image through the coding network, and reconstructing a foreground feature map and a background feature map through the decoding network according to the coding features, determining a foreground mask corresponding to the to-be-processed image through an output network according to the foreground feature map and the background feature map; and performing background replacement on the to-be-processed image according to the foreground mask. According to the embodiment of the invention, the coding features to be processed are accurately extracted through the mask processing model, then the foreground features and the background features are effectively reconstructed, and the accuracy of the foreground mask can be effectively improved, so that after background replacement is carried out on the image to be processed according to the foreground mask, a high-quality image can be obtained, and the aesthetic needs of users are met.

Description

technical field [0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular, to an image processing method, device, storage medium, and program product. Background technique [0002] In some scenarios, it is necessary to replace the background in the image. For example, in a live broadcast scene, to replace the portrait background in the live broadcast screen with a specific background image, it is usually necessary to use a portrait matting algorithm to separate the foreground portrait from the background, and then combine it with the preset The background image is fused together to achieve background replacement. [0003] The current mainstream matting algorithm is to use semantic segmentation or other matting algorithms, input an RGB image, the image attribute shape is (3, H, W), and output a transparency map, the shape is (1, H, W). However, the accuracy of the foreground portrait obtained by the portrait matting algorithm ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/50G06T7/194G06K9/62G06N3/04
CPCG06T7/194G06T5/50G06N3/045G06F18/214
Inventor 杜绪晗张启军刘鑫程京吴泽寰焦少慧
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD