Picture matting method and device, electronic equipment, storage medium and program product
The invention provides an image matting method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of image processing. The method comprises the following steps: extracting a feature map of a to-be-processed image; the feature map is processed...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
03.02.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides an image matting method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of image processing. The method comprises the following steps: extracting a feature map of a to-be-processed image; the feature map is processed according to a preset activation function, an activation map is generated, and the preset activation function is achieved based on a trigonometric function and used for mapping feature values in the feature map into a preset threshold range; according to the activation graph, a target image area in the to-be-processed image is obtained, the target image area comprises a main body image, by applying the embodiment of the invention, the feature value in the feature graph can be mapped to a preset threshold value range based on the feature nonlinearity of a trigonometric function through the preset activation function, so that the feature value in the activation graph obtained through mapping can be accurately mapped |
---|---|
Bibliography: | Application Number: CN202110839224 |