Image matting method and system based on depth information

A depth information and depth image technology, applied in image enhancement, image analysis, image data processing and other directions, can solve the problems of labor-intensive, high-demand, time-consuming, etc., and achieve the effect of high speed and high precision

CN112241960APending Publication Date: 2021-01-19SHENZHEN ORBBEC CO LTD
5 Cites 6 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2021-01-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses an image matting method and system based on depth information. The method comprises the following steps: S1, collecting a depth image and a color image containing a target; s2,aligning the depth image with the color image to obtain an aligned depth image; s3, performing threshold binarization processing and corrosion expansion processing on the aligned depth images to obtain a ternary graph; s4, processing the ternary image and the color image through an image matting algorithm to obtain an Alpha image; and S5, separating a target by using the Alpha image and the colorimage to obtain a target image. According to the invention, a user can achieve a matting function of a real-time video without replacing a 2D camera and using a curtain, and a depth camera is utilized to replace manual interaction, so that Trimap acquisition is automatically realized, and the precision and the speed are high.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of digital image processing, in particular to a method and system for matting images based on depth information. Background technique

[0002] To extract the moving foreground from the static background, in theory, it only needs to determine a background image, and then remove the background image in the new image to obtain the foreground image. However, in most cases, there is no such background image.

[0003] Among the existing foreground image extraction techniques, there are methods based on background modeling, foreground extraction methods based on green screen, methods based on pedestrian segmentation, and methods of creating masks based on ternary maps (Trimap). Among them, the method based on background modeling, which extracts the moving foreground from the static background, only needs to use the threshold value to subtract the background in the new image to filter out the foreground, but this m...

Examples

Embodiment Construction

[0037] In order to make the technical problems, technical solutions and beneficial effects to be solved by the embodiments of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0038] It should be noted that when an element is referred to as being “fixed” or “disposed on” another element, it may be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element. In addition, the connection can be used for both fixing and circuit communication.

[0039] It is to be understood that the terms "length", "width", "top", "bottom", "front", "rear", "left", ...