Variable-Width Border Masks for Accurate Image Matting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional matting techniques using fixed-width border masks often result in errors, where background regions are incorrectly included in the foreground, leading to inaccurate object extraction in images.

Innovation Solution

A method for generating variable-width border masks that automatically adjusts border width based on image regions, using Gaussian Mixture color modeling and geodesic smoothing to create a more accurate alpha matte by distinguishing between fuzzy and solid boundaries.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If a fixed-width border mask is used, then the processing is simple and fast, but the accuracy of object extraction deteriorates

Engineering Contradiction:
Improveaccuracy of object extractionVSAvoidcomplexity of border mask generation
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The border mask width is made dynamic rather than fixed. The system calculates the actual width of each pixel based on the gradient magnitude at that pixel location, allowing the border mask to adapt its width according to the image content. This resolves the contradiction by enabling accurate extraction without requiring complex manual adjustment, as the system automatically adjusts border width based on local image characteristics.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of border mask width from a constant value to a variable value that depends on the gradient magnitude at each pixel. By making the width parameter data-driven rather than fixed, the system achieves higher accuracy while maintaining automated processing, thus resolving the contradiction between precision and complexity.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If a fixed-width border mask is used, then the generation process is simple, but the alpha matte quality deteriorates

Engineering Contradiction:
Improvequality of alpha matteVSAvoidease of border mask generation
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The system performs self-service by automatically calculating the optimal border mask width for each pixel based on the image gradient at that location. No manual intervention or complex post-processing is needed; the system self-adjusts the border mask parameters to achieve high-quality alpha mattes, thus resolving the contradiction between reliability and ease of manufacture.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary action by pre-calculating the gradient magnitude for each pixel and using it to determine the border mask width before the actual matting process. This preliminary calculation enables the system to generate high-quality alpha mattes automatically, eliminating the need for complex manual adjustment while ensuring high reliability.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If a fixed-width border mask is used, then the processing speed is maintained, but the accuracy of boundary coverage deteriorates

Engineering Contradiction:
Improveaccuracy of boundary coverageVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system segments the border mask into individual pixels, where each pixel can have its own width determined by its local gradient characteristics. This segmentation allows the system to maintain processing speed by applying simple gradient-based calculations to each pixel independently, while achieving high measurement precision through adaptive boundary coverage that matches the actual object boundaries.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8391594B1Method and apparatus for generating variable-width border masks
Publication Date: 2013.03.05 ADOBE INC
  • US8391594B1 patent drawing
  • US8391594B1 patent drawing
  • US8391594B1 patent drawing

AI summary

Methods and apparatus for generating variable-width border masks for objects in input images. Given an input image and an initial binary selection of an object in the image, a variable-width border mask method may be applied to automatically generate an accurate, variable-width border mask for the object. An initial border mask may be generated. An initial foreground probability map may be generated within the initial border mask using a Gaussian Mixture color modeling technique. A geodesic smoothing technique may be applied to the initial foreground probability map to reduce or remove noise. An optimization technique may be applied to optimize the foreground boundary, and a final variable-width border mask may be generated. The variable-width border mask may be used as input to image matting algorithms to generate an accurate alpha mask of the foreground object selected from the input image.