Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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] 2. For the brightness adjustment method, the part of the overflow color will be dark or even black spots as a whole, and the transition of the edge of the overflow color is unnatural, and it is prone to obvious sense of violation;
[0011] 3. For the channel replacement method, there is a large difference between the replaced foreground color and the original foreground color, and the transition of the foreground edge is hard, and even black edges are easy to appear. When some commonly used edge processing algorithms are used to correct the foreground edge Smoothing, such as expanding and eroding the edges, often results in the loss of edge details

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

Embodiment 1

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

[0052] S1: Use the keying algorithm to extract the input video image Input img The alpha channel map alpha, the matting algorithm used in this embodiment is commonly used matting algorithms such as chroma key matting method, color difference analysis method, background subtraction or graphcut graph cutting algorithm, usually, the alpha channel map alpha The value range is 0-1, where 0 represents the background part, 1 represents the foreground part, and 0-1 represents the translucent area;

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

[0054] foreground img =Input img *alpha;

[0055] S3: Identify the foreground map foreground img In the foreground pixel that is...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products