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

A kinect-based matting method

A keying and image technology, applied in the field of keying based on Kinect, which can solve the problems of covering the foreground part and the background part.

Active Publication Date: 2020-04-24
江苏火米互动科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, under normal circumstances, the foreground part and the background part of the image often have coverage problems, that is to say, there are transparent pixels in the foreground part, so how to accurately separate the foreground part and the background part is the main content of the keying technology research.

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
  • A kinect-based matting method
  • A kinect-based matting method
  • A kinect-based matting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, wherein the schematic embodiments and descriptions are only used to explain the present invention, but are not intended to limit the present invention.

[0031] In the description of the following specific embodiments, I q Represents the pixel value at position q in image I, F[I] represents the output result of image I after passing through the F filter, S represents the spatial distance domain, R represents the color distance domain, and ‖‖ represents the 2-norm.

[0032] See attached figure 1 , the specific steps of the Kinect-based matting method of the present invention are described as follows:

[0033] Step 1: Through the OpenNI and OpenCV function library, use Kinect to shoot the target image to obtain the color image and depth image, and adjust the color image and depth image to the same viewing angle through the viewing angle conversi...

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 relates to a Kinect-based image matting method. The method comprises steps: through OpenNI and OpenCV function libraries, the Kinect is used for photographing a target image, a color image and a deep image are obtained, and through a perspective conversion function in the OpenNI, the color image and the deep image are adjusted to be in the same perspective; with the help of the color image information, iterative image filtering is carried out on the deep image, and a foreground contour image is obtained; a ternary diagram is formed through a morphological corrosion expansion algorithm from the foreground contour image, and pixels in a given threshold range in the foreground contour image are defined as pixels in an unknown region; and a processing algorithm of removing slits and holes is carried out on the ternary diagram generated in the third step, and a final ternary diagram is generated. In comparison with the traditional image matting method, man-machine interaction in any form is saved, the Kinect is used for automatically generating the ternary diagram for image matting, and further in combination with the common sample point image matting algorithm, real-time image matting effects can be achieved.

Description

【Technical field】 [0001] The invention belongs to the field of image processing, in particular to a Kinect-based matting method. 【Background technique】 [0002] Keying technology is a very important image processing technology, which is used in the creation of film and television works, and also in medical treatment, agriculture and industry. However, under normal circumstances, the foreground part and the background part of the image often have coverage problems, that is to say, there are transparent pixels in the foreground part, so how to accurately separate the foreground part and the background part is the main content of the keying technology research. 【Content of invention】 [0003] In order to solve the above-mentioned problems in the prior art, based on the analysis of the traditional image filtering algorithm, the present invention proposes to use the depth image captured by the Kinect somatosensory device to key the color image captured by the Kinect. A new col...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/136G06T7/149G06T7/194G06T7/90G06T5/30
CPCG06T5/30G06T7/136G06T7/149G06T7/194G06T7/90G06T2207/10024
Inventor 杨振
Owner 江苏火米互动科技有限公司
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