Image Matting Network Using Soft Segmentation Priors

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image matting methods, both trimap-based and trimap-free, face challenges such as high computational complexity, reliance on manual labeling, sensitivity to similar color features, and poor generalization, especially in scenarios with unknown objects or multiple foregrounds, leading to degraded performance.

Innovation Solution

A method for training an image matting network using a soft segmentation prior, involving a context combining module and a stem block with an attention mechanism, along with a predictor module, to achieve lightweight and precise foreground segmentation by fusing low-order and high-order features, and utilizing a hybrid loss function for improved accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If trimap-based methods are used to improve segmentation precision, then manufacturing precision is improved, but device complexity increases due to manual labeling requirements

Engineering Contradiction:
Improvesegmentation precisionVSAvoidmanual labeling complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by using depth images to generate soft segmentation masks before the main segmentation process. This pre-computed soft mask serves as a prior that guides the network, eliminating the need for manual trimap labeling while improving segmentation precision. The depth-based soft segmentation is computed in advance and integrated into the training process.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses depth images as a copy or alternative representation of spatial information that replaces the need for manual trimap labels. Instead of requiring manual creation of trimaps, the system copies spatial structure information from depth images to generate soft segmentation masks, which then guide the segmentation process automatically.

Inventive Principle:
Principle #26Copying

2Ease of operation

If trimap-free methods are used to simplify the process, then ease of operation is improved, but manufacturing precision deteriorates due to larger calculation amounts and sensitivity to similar color features

Engineering Contradiction:
Improveprocess simplicityVSAvoidsegmentation precision
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The patent introduces soft segmentation masks derived from depth images as an intermediary that mediates between the simple trimap-free approach and the precise trimap-based method. This intermediary soft mask provides structural guidance to the network, improving precision while maintaining the operational simplicity of not requiring manual trimap creation. The soft mask acts as a bridge that adds precision without the manual labeling burden.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Manufacturing precision

If deep networks are used to improve segmentation accuracy, then manufacturing precision is improved, but use of energy increases due to larger computation requirements

Engineering Contradiction:
Improvesegmentation accuracyVSAvoidcomputation energy
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by pre-computing soft segmentation masks from depth images before feeding them to the neural network. This pre-computation provides the network with structured spatial priors, allowing it to achieve high segmentation accuracy with a relatively lightweight network architecture. The preliminary soft mask guidance reduces the computational burden on the deep network while maintaining high precision.

Inventive Principle:
Principle #10Preliminary action

4Adaptability or versatility

If existing methods are used to process complex scenarios, then adaptability is improved, but reliability deteriorates when foreground and background have similar color features

Engineering Contradiction:
Improvescenario adaptabilityVSAvoidsegmentation reliability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent introduces soft segmentation masks as an intermediary that provides reliable spatial structure information independent of color features. This intermediary guides the network in complex scenarios including similar color foreground-background cases, ensuring reliable segmentation. The soft mask acts as a trustworthy guide that does not suffer from color similarity ambiguities.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12536669B2Matting network training method and matting method
Publication Date: 2026.01.27 SHENZHEN ORBBEC CO LTD
  • US12536669B2 patent drawing
  • US12536669B2 patent drawing
  • US12536669B2 patent drawing

AI summary

A method includes: obtaining a first image including a foreground, a second image including a background, and soft segmentation of the foreground; and inputting the first image, the second image, and the soft segmentation into an image matting network, and outputting a foreground segmentation of the first image. The image matting network includes at least one stage network that includes a context combining module, a stem block, and a predictor module. The first image, the second image, and the soft segmentation of the foreground are inputted into the context combining module, the context combining module is configured to output a low-order feature and a high-order feature after feature exchange, the stem block is configured to fuse the low-order feature and the high-order feature based on an attention mechanism to obtain a fused feature, and the predictor module is configured to output the foreground segmentation according to the fused feature.