An edge knowledge transformation-based image foreground segmentation algorithm. The image foreground segmentation algorithm comprises the following steps: 1) constructing an image segmentation framework in combination of an edge self-supervision mechanism; 2) constructing an inner edge discriminator and an outer edge discriminator; 3) generating pseudo-segmentation triple data; and 4) performing double-edge confrontation foreground segmentation on the basis of the guidance of a very small number of label samples of a target category. In the edge knowledge transformation-based image foreground segmentation algorithm established by means of the steps, under the guidance of a very small number of target category label segmentation samples, inner and outer edge crimination networks transform edge knowledge of a large number of public non-target category label data into a foreground segmentation network of a target category image in a segmentation result confrontation manner, and foreground object segmentation of the target category image is achieved.
EDGE KNOWLEDGE TRANSFORMATION-BASED IMAGE FOREGROUND SEGMENTATION ALGORITHM