Pure-color background image matting synthesis method based on real-time inhibition of background color overflow

A synthesis method and background technology, applied in the field of solid color background keying synthesis, can solve the problems of unnatural color edge transition, loss of edge details, large differences, etc. realistic effect

Pending Publication Date: 2020-04-07
CHENGDU SOBEY DIGITAL TECH CO LTD
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 1. For the chromaticity offset method, there are two methods to determine the offset amount. One is the parameter adjustment method. People adjust the offset amount according to the visual effect. This kind of method is highly subjective and often relies on human experience , time-consuming and labor-intensive; the other is the adaptive offset calculation method, which analyzes and predicts the color value before being dyed according to the image histogram, color and other information. This type of method requires a lot of calculations, and real-time performance cannot be guaranteed. Manual fine-tuning is still required on this basis;
[0010

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Pure-color background image matting synthesis method based on real-time inhibition of background color overflow

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0050] Example 1

[0051] Such as figure 1 As shown, this embodiment provides a solid-color background keying synthesis method based on real-time suppression of background overflow, including the following steps:

[0052] S1: Use the keying algorithm to extract the input video image Input img The keying algorithm used in this embodiment is the commonly used keying algorithm such as chroma key keying, color difference analysis, background subtraction or graphcut graph cut algorithm. Normally, the alpha channel graph alpha The value range of is 0-1, where 0 represents the background part, 1 represents the foreground part, and the range between 0-1 represents the semi-transparent area;

[0053] S2: According to the alpha channel map alpha and the input video image Input img Calculate the foreground image foreground img , The calculation formula is:

[0054] foreground img =Input img *alpha;

[0055] S3: Identify foreground map foreground img For foreground pixels that are overflowed by ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a pure-color background image matting synthesis method based on real-time inhibition of background color overflow, and relates to the technical field of video image processing,and the method comprises the steps: extracting an alpha channel graph alpha of an input video image Input through employing an image matting algorithm; according to the alpha channel graph alpha andan input video image Inputimg, calculating and obtaining a foregroundimg; identifying a foreground pixel subjected to background color overflow in the foregroundimage, changing a background color channel value of the foreground pixel subjected to background color overflow by utilizing a three-primary color forming principle, and recovering a pixel value of the foreground pixel to obtain a recovered foreground image foreimg; combining a classical synthesis algorithm with the recovery foreground image foreimg, the to-be-synthesized background image backgroundimg and the alpha channel image alphato complete preliminary synthesis, thereby obtaining a preliminary synthesis image Cinit; carrying out foreground and background edge processing on the restored foreground image foreimg to obtain a synthesized edge image edgeimg; and combining the synthesized edge image edgeimg and the preliminary synthesized image Cinit by using a restoration formula to obtain a final synthesized image Cfinal. The method has the advantages that background color overflow can be better removed, and meanwhile, the transition of the front background edge is more natural during synthesis.

Description

technical field [0001] The present invention relates to the technical field of video image processing, and more specifically relates to a solid-color background matting synthesis method based on real-time suppression of background overflow. Background technique [0002] The keying synthesis of solid color background is one of the commonly used technologies in the field of radio, film and television production. Generally speaking, in the production process of film and television, by shooting people or other content in front of the blue screen or green screen in the studio, and then using Keying technology removes the solid-color background, extracts the channel of the foreground person or content and superimposes it with other rich backgrounds to create a more exciting picture effect. [0003] At present, blue or green is generally used as the background for keying, so it is also called blue screen keying or green screen keying. A tricky problem is often encountered in the p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T5/50G06T7/13G06T7/181G06T7/194G06T7/90
CPCG06T7/181G06T7/194G06T7/13G06T7/90G06T5/50G06T2207/20221
Inventor 罗天袁霞吴健
Owner CHENGDU SOBEY DIGITAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products