Automated Video Matting for Accurate Fine-Detail Pixel Separation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The process of isolating a subject within a video frame is labor-intensive and error-prone, particularly when dealing with fine details such as hair, using existing semi-automated tools.
Innovation Solution
An automated keying technique using unsupervised clustering and chromatic-spatial distance metrics to classify indeterminate pixels, with user feedback for refinement, and an iterative learning process to improve accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If manual pixel inspection is used to isolate subjects, then classification accuracy is improved, but labor intensity and time consumption increase significantly
Solution Approach 1:
The patent segments pixels into three categories: known subject pixels, known background pixels, and indeterminate pixels. This segmentation allows automated processing of the majority of pixels while focusing manual review only on indeterminate cases, thereby reducing time consumption while maintaining classification accuracy.
Solution Approach 2:
The patent introduces an intermediary classification system that uses color reduction and spatial-distance metrics to automatically classify pixels before manual inspection. This intermediary step filters out clearly classifiable pixels, leaving only ambiguous cases for manual review, thus resolving the contradiction between automation and accuracy.
2Productivity
If semi-automated tools are used for subject isolation, then productivity is improved, but reliability and handling of fine details deteriorate
Solution Approach 1:
The patent applies different processing qualities to different pixel regions. Known subject and background pixels receive automated classification, while indeterminate pixels (particularly those with fine details like hair) are flagged for enhanced manual inspection. This local differentiation maintains reliability for complex regions while preserving overall productivity.
Solution Approach 2:
The patent implements a feedback mechanism where manual inspection results of indeterminate pixels are used to refine and update the automated classification model. This continuous feedback loop improves the system's ability to handle fine details over time, enhancing reliability while maintaining automated productivity.
3Productivity
If automated keying techniques are applied to all pixels, then productivity is improved, but manufacturing precision and classification accuracy worsen
Solution Approach 1:
The patent applies automated keying techniques partially - only to known subject and background pixels, while excluding indeterminate pixels from automated classification. This partial application of automation maintains high precision for automated regions while avoiding precision loss in complex regions, thereby resolving the contradiction between productivity and precision.
Data Source
AI summary
The disclosed computer-implemented method may include receiving an instruction to distinguish a foreground subject within an image from a background of the image based at least in part on a trimap of the image; determining, for each of the indeterminate pixels, using a chromatic-spatial distance metric, a distance of the indeterminate pixel from one or more of the foreground pixels and a distance of the indeterminate pixel from one or more of the background pixels; and recategorizing a subset of the indeterminate pixels as background pixels based at least in part on the subset of indeterminate pixels being closer to the one or more background pixels than to the one or more foreground pixels according to the chromatic-spatial distance metric. Various other methods, systems, and computer-readable media are also disclosed.


