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

Method and device for constructing image editing model

An image editing and image technology, applied in the Internet field, can solve problems such as high system resource consumption, cumbersome steps, and models that cannot be filled

Pending Publication Date: 2020-10-30
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the first scheme, since the foreground and background of the image are not distinguished, the constructed model cannot fill in the missing background in the generated image due to the reduction of the foreground of the input image; for the second scheme, due to the need to use multiple Models are used to model the foreground and background of the image respectively, resulting in cumbersome model building steps and high system resource consumption.

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
  • Method and device for constructing image editing model
  • Method and device for constructing image editing model
  • Method and device for constructing image editing model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0013] figure 1 is a schematic diagram according to the first embodiment of the present application. Such as figure 1 As shown in , the method for constructing an image editing model in this embodiment may specifically include the following steps:

[0014] S101. Obtain a training sample, where the training sample includes a first image and a corresponding second i...

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 method and device for constructing an image editing model, electronic equipment and a computer readable storage medium, and relates to the technical field of image processingand deep learning. The implementation scheme adopted when the image editing model is constructed comprises the steps that a training sample is acquired, wherein the training sample comprises a firstimage and a second image corresponding to the first image; constructing a generative adversarial network comprising a generator and a discriminator, wherein the generator comprises a background imagegeneration branch, a mask image generation branch and a foreground image generation branch; and training the generative adversarial network according to the first image and the second image corresponding to the first image, and taking a generator in the trained generative adversarial network as an image editing model. According to the image editing model constructed by the invention, the missing background of the generated image can be filled, so that the editing performance of the constructed image editing model is improved.

Description

technical field [0001] The present application relates to the technical field of the Internet, and in particular to a method, device, electronic device and computer-readable storage medium for constructing an image editing model in the technical fields of image processing and deep learning. Background technique [0002] There are usually two existing schemes for building image editing models: one is to model the image as a whole without distinguishing between the foreground and background of the image to generate a new image; the other is to use different models to separately image The foreground and background are modeled, and the generated foreground and background are fused to generate a new image. For the first scheme, since the foreground and background of the image are not distinguished, the constructed model cannot fill in the missing background in the generated image due to the reduction of the foreground of the input image; for the second scheme, due to the need to ...

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): G06T5/50G06T7/11G06T7/194G06N3/04G06N3/08
CPCG06T5/50G06T7/11G06T7/194G06N3/08G06T2207/20221G06N3/045G06T11/60G06T2207/20081G06T2207/20084G06T7/174G06T11/40
Inventor 何声一刘家铭胡天舒洪智滨
Owner BEIJING BAIDU NETCOM SCI & 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