Automatic image matting method

An automatic, three-part map technology, applied in the field of image processing, can solve the problems of laborious, easy to be deducted, etc., to achieve the effect of improving the efficiency of map cutting

Inactive Publication Date: 2019-04-26
HENGXIN SHAMBALA CULTURE CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the method requires human intervention, it is laborious
The other is to directly subtract the background color from the original image withou

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Embodiment 1 of the present application provides an automatic cutout method, such as figure 1 shown, including:

[0046] Step 11: Receive the original image, preprocess the original image, and generate a trimap;

[0047] see figure 2 , in this embodiment, the original image is preprocessed, specifically including the following sub-steps:

[0048] Step 21: converting the original image in RGB format into HSV color space;

[0049] The RGB color mode is a color standard in the industry. A variety of colors are obtained by changing the three color channels of red (R), green (G), and blue (B) and superimposing them with each other. RGB represents the color of the three channels of red, green and blue;

[0050] HSV (Hue, Saturation, Value) color space is a color space created according to the intuitive characteristics of color. The parameters of color are: hue (H), saturation (S) and lightness (V);

[0051] Wherein, adopt following formula (1) to convert RGB format into...

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 automatic image matting method, and relates to the technical field of image processing. According to the main technical scheme, the method comprises the steps of receiving an original image, and preprocessing the original image to generate a tripartite graph; Performing transparency processing on the tripartite graph to obtain a final foreground and a final transparent graph; And receiving a standby background specified by a user, fusing the final foreground and the standby background through the transparent image, and outputting a fused image. By the adoption of theautomatic image matting method, the problem of resource waste of manual PS image matting is solved, and the image matting efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular to an automatic image cutout method. Background technique [0002] In traditional photo studios, manual PS matting is required, especially in the processing of human body edges and hair, which requires a lot of work to ensure the quality of matting, and a lot of manpower is wasted. [0003] The traditional automatic image matting method is divided into two types, one is to manually mark trimap (trimap is a static image matting algorithm, which roughly divides a given image, that is, divides a given image into foreground, background, and unknown regions); Trimap is generated based on manual labeling of foreground and background or manual labeling, and then the transparency map is calculated based on trimap. Since this method requires manual participation, it is time-consuming and labor-intensive. The other is to directly subtract the background color from the ori...

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/194
CPCG06T7/194G06T2207/20221G06T2207/30196
Inventor 南建昌魏芳洁卞峰
Owner HENGXIN SHAMBALA CULTURE CO LTD
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