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

An image matting method and device

A technology for matting and inputting images, which is applied in the field of matting methods and devices, and can solve the problems of relying on user expertise, difficult for users to accurately specify a closed matting algorithm ternary map, and time-consuming.

Active Publication Date: 2018-08-28
HUAWEI TECH CO LTD
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Since it is difficult for the user to accurately specify the ternary image required by the closed matting algorithm, if an accurate matting result is to be obtained, the user needs to constantly recalibrate the ternary image required for the next matting according to the current matting result , the process is time-consuming and heavily relies on the user's expertise

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
  • An image matting method and device
  • An image matting method and device
  • An image matting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0047] Please refer to figure 2 , which shows a flowchart of a map matting method provided by an embodiment of the present invention. This embodiment is described by taking the map-cutting method applied to a terminal device capable of image processing as an example. The cutout method includes the following steps:

[0048] Step 201, input the input image into the preset full convolutional network, and obtain the prediction score F of each pixel in the input image belonging to the foreground area s , the prediction score B belonging to the background area s and the prediction score U belonging to the unknown region s .

[0049] The input image is a frame of digital image. Typically, the input image is an ...

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 an image matting method and device, and belongs to the field of digit image matting. The method includes: inputting an input picture to a preset full-convolution network to obtain a prediction value Fs belonging to a foreground area, a prediction value Bs belonging to a background area and a prediction value Us belonging to an unknown area of each pixel in the input image,calculating a foreground probability matrix F and a background probability matrix B corresponding to the input image according to the Fs, Bs and Us of each pixel in the input image, inputting a presetimage matting realization function into the foreground probability matrix F and background probability matrix B to perform the image matting to obtain a transparency value matrix of the input image.The image matting realization function is obtained after utilizing a first sample image which employs a preset backward propagation algorithm to perform a training, the more accuracy image matting result is obtained without performing a three-value diagram calibration to the input image for multiple times, and the automatic digital image matting is realized.

Description

technical field [0001] Embodiments of the present invention relate to the field of digital image matting, in particular to a method and device for matting images. Background technique [0002] Digital matting technology is a technology that decomposes a digital image I into a foreground image F and a background image B. The decomposition process of digital matting technology can be expressed as: [0003] I=αF+(1-α)B; [0004] Among them, α is a number between 0 and 1, which is called the transparency value or α mask (alphamatte) of the digital image. The α matrix of the digital image I is used to represent the matting result of the digital image I. When the α value is When 1 means that the pixel belongs to the foreground, when the value of α is 0, it means that the pixel belongs to the background, when the value of α is between 0 and 1, it means that the pixel belongs to the foreground and background mixed area. Since α, F, and B must be estimated simultaneously for each ...

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/11G06T7/143G06T7/194
CPCG06T2207/10004G06T2207/10024G06T2207/20076G06T2207/20081G06T2207/20084G06T7/00
Inventor 沈小勇贾佳亚鲁亚东
Owner HUAWEI 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