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

Interactive image editing method, system, readable storage medium and electronic equipment

An image editing and interactive technology, applied in the field of image editing, can solve the problems of global influence, long training time, insufficient image detail processing, etc., achieving fast speed, small user workload, and good effect.

Active Publication Date: 2021-10-08
联想新视界南昌人工智能工研院有限公司 +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, most interactive-based image editing is to generate a network model through training first, but the training takes a long time, and the details of the image are not processed well enough. Unlike traditional image editing, there may be unsuitable effects, such as modifying One point will affect the whole world

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
  • Interactive image editing method, system, readable storage medium and electronic equipment
  • Interactive image editing method, system, readable storage medium and electronic equipment
  • Interactive image editing method, system, readable storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] see figure 1 , shows the interactive image editing method in the first embodiment of the present invention, the method specifically includes steps S101 to S105:

[0060] S101. Obtain an edited image, where the edited image includes an original image and a feature image pasted on a target area of ​​the original image;

[0061] During specific implementation, the original image and the feature image are acquired, and the feature image is pasted on the target area of ​​the original image as the edited image.

[0062] It should be noted that the original image is any picture in the FFHQ face dataset, and the user can select it by himself, and the user can also select the target area of ​​the original image (such as eyes, hair), and the feature image can be selected by the user from any Select from a picture.

[0063] S102, inputting the edited image into a generator in the trained generative confrontation network structure;

[0064] In specific implementation, the Genera...

Embodiment 2

[0099] Another aspect of the present invention also proposes an interactive image editing system, please refer to image 3 , shows the interactive image editing system in the second embodiment of the present invention, the system includes:

[0100] An acquisition module 11, configured to obtain an edited image, which includes an original image and a feature image pasted on a target area of ​​the original image;

[0101] The input module 14 is used to input the edited image into the generator in the trained generative confrontation network structure;

[0102] It should be noted that, in this application, the trained generative confrontation network structure selects the StyleGAN2 network structure, and before the input module, the system also includes:

[0103] Division module 12, for dividing the generator in the StyleGAN2 into a first part and a second part;

[0104] An introduction module 13, configured to sequentially introduce adaptive spatial attention and adaptive chan...

Embodiment 3

[0132] The present invention also proposes an electronic device, please refer to Figure 4 , is shown as an electronic device in the third embodiment of the present invention, including a memory 10, a processor 20, and a program 30 stored in the memory 10 and operable on the processor 20, and the processor 20 executes the program 30 implement the above method.

[0133] During specific implementation, the processor 20 obtains an edited image, the edited image includes an original image and a feature image pasted on a target area of ​​the original image;

[0134] The processor 20 inputs the edited image into a generator in the trained generative confrontation network structure;

[0135] The processor 20 utilizes adaptive spatial attention in the generator to optimize the region of the feature image in the edited image to obtain an edited image with spatial attention features;

[0136] The processor 20 uses the adaptive channel attention in the generator to automatically assign...

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 provides an interactive image editing method, a system, a readable storage medium and electronic equipment. The method comprises the following steps: obtaining an edited image which comprises an original image and a feature image pasted on a target region of the original image; inputting the edited image into a generator in the trained generative adversarial network structure; optimizing the region of the feature image in the edited image by using the self-adaptive spatial attention in the generator to obtain an edited image with spatial attention features; automatically allocating a weight to the edited image with the spatial attention feature by using the self-adaptive channel attention in the generator to obtain an edited image with a channel attention feature; and training the edited image with the channel attention feature to obtain a new combined image.

Description

technical field [0001] The invention relates to the technical field of image editing, in particular to an interactive image editing method, system, readable storage medium and electronic equipment. Background technique [0002] Interactive image editing is an important area of ​​computer graphics and computer vision. Social media trends and high-quality image acquisition systems of modern smartphones have accelerated the rapid growth of image editing content on the web, increasing the demand for flexible, high-quality, and easy-to-use image editing applications. However, most applications target fairly specific image editing operations and lack more general image operations. On the other hand, there is a lack of tools for more complex editing operations for less experienced users, such as changing facial expressions in images. [0003] There are two main types of existing image editing technologies: (1) traditional interactive image editing, taking Poisson image editing as...

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 Applications(China)
IPC IPC(8): G06T3/00G06N3/04G06N3/08
CPCG06N3/08G06N3/045G06T3/04
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