Applied Sciences (Jul 2023)

Semi-Supervised Learning Matting Algorithm Based on Semantic Consistency of Trimaps

  • Yating Kong,
  • Jide Li,
  • Liangpeng Hu,
  • Xiaoqiang Li

DOI
https://doi.org/10.3390/app13158616
Journal volume & issue
Vol. 13, no. 15
p. 8616

Abstract

Read online

Image matting methods based on deep learning have made tremendous success. However, the success of previous image matting methods typically relies on a massive amount of pixel-level labeled data, which are time-consuming and costly to obtain. This paper first proposes a semi-supervised deep learning matting algorithm based on semantic consistency of trimaps (Tri-SSL), which uses trimaps to provide weakly supervised signals for the unlabeled data, to reduce the labeling cost. Tri-SSL is a single-stage semi-supervised algorithm that consists of a supervised branch and a weakly supervised branch that share the same network in one iteration during training. The supervised branch is consistent with standard supervised matting methods. In the weakly supervised branch, trimaps of different granularities are used as weakly supervised signals for unlabeled images, and the two trimaps are naturally perturbed samples. Orientation consistency constraints are imposed on the prediction results of trimaps of different granuliarty and the intermediate features of the network. Experimental results show that Tri-SSL improves model performance by effectively utilizing unlabeled data.

Keywords