Blue screen image-matting method

A blue screen and image technology, applied in the field of visual effects, can solve the problems of many parameters to be adjusted, large manual interaction, cutout quality and manual interaction can not achieve the desired effect at the same time, etc.

Inactive Publication Date: 2014-12-10
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF8 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Compared with the single-channel matting technology, the combined H, L, and S three-channel matting technology is more accurate. The disadvantage is that there are more parameters to be adjusted, and the manual interaction is relatively large.
Although 3D matting technology can achieve better results, the speed and human interact

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
  • Blue screen image-matting method
  • Blue screen image-matting method
  • Blue screen image-matting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0061] figure 1 It is a flow chart of the blue screen cutout method of the present invention.

[0062] In this embodiment, use OpenCV as the input and output interface of the video, such as figure 1 As shown, a blue screen cutout method of the present invention comprises the following steps:

[0063] S1, transfer video to GPU

[0064] Initialize the GPU; the CPU side applies to the GPU side for texture memory, constant memory and global memory through OpenCV;

[0065] After successfully applying for memory on the CPU side, pass the video frame to the texture memory through OpenCV again, pass the video parameter vector to the constant memory, and at the same time pass a selected background composite image to the global memory, where the parameter vector includes the video. Resolution, number of frames, frame rate, etc.;

[0066] S2, the parallel computing thread block of GPU processes the video

[0067] Read the video frame from the texture memory, read the video parameter...

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 blue screen image-matting method. The blue screen image-matting method comprises the following steps of: transferring a video into a GPU, and carrying out blue screen image-matting processing on a video frame in the GPU, thus increasing the image-matting speed. Specifically, the blue screen image-matting method comprises the following steps of: extracting a background colour from the video frame, carrying out non-transparency processing on a blue screen image by virtue of a chromatic aberration image-matting technology, then obtaining an initial non-transparency image through binarization processing, then optimizing the initial non-transparency by virtue of the gradient information of a colour image and an improved combined bilateral filter to obtain a final non-transparency image, and finally carrying out background colour overflow removal on the final non-transparency image and then returning the final non-transparency image to a CPU client, and displaying through a display device. In this way, human interaction and parameter adjustment are greatly reduced during the whole processing process.

Description

technical field [0001] The invention belongs to the field of visual special effects, and more specifically relates to a blue screen cutout method. Background technique [0002] Image matting refers to a technique for accurately extracting foreground objects from images or video sequences. As a key technology in the field of visual effects, matting technology is widely used in image editing and film production. However, due to the unconstrained nature of the matting problem, additional constraints need to be added when solving the problem. Therefore, in film and television production, blue screen or green screen is usually used as the shooting background to reduce the difficulty of solving the problem. This will The blue screen or green screen as the background cutout technology is usually called blue screen cutout technology. [0003] The development of blue screen cutout has produced many different techniques today. Common blue screen keying technologies mainly include: ...

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): G06T7/00G06T5/00
Inventor 胡绍湘詹肇楷陈奋
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
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