Semantic Code Vector Inpainting for Artifact Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Convolutional neural networks often produce poor results when removing unwanted content from digital images due to their inability to selectively utilize correct semantic classes, leading to ambiguity artifacts and suboptimal editing outcomes.

Innovation Solution

The system generates semantic code vectors for different portions of an image, using a semantic encoder and decoder to precisely apply contextual information, avoiding convolution operations and reducing artifacts by selectively using relevant semantic classes for inpainting.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If convolutional neural networks are used to fill replacement content into regions, then the editing function can be performed, but visible artifacts are generated and results are poor

Engineering Contradiction:
Improveunwanted content removal capabilityVSAvoidinpainting accuracy
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The patent segments the image into multiple portions and generates semantic codes for each portion separately. This segmentation allows the system to process and replace content in specific regions independently, improving inpainting accuracy by avoiding the artifact generation problem of convolutional neural networks while maintaining the ease of unwanted content removal function.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by generating semantic codes specifically for different portions of the image based on semantic information. Each portion receives tailored semantic codes relevant to its content, enabling precise replacement without generating artifacts, thus resolving the contradiction between operational ease and inpainting accuracy.

Inventive Principle:
Principle #3Local quality

2Productivity

If convolutional neural networks are used for inpainting, then replacement content can be generated, but ambiguity artifacts are produced

Engineering Contradiction:
Improvecontent replacement speedVSAvoidambiguity artifacts
Core Design Contradiction:
ProductivityVSObject-generated harmful factors

Solution Approach 1:

The patent extracts semantic information from the image and generates semantic codes that capture the essential characteristics of different portions. By taking out only the relevant semantic data and using it for inpainting, the system achieves fast content replacement without generating ambiguity artifacts, eliminating the harmful effect while maintaining productivity.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces semantic codes as an intermediary between the image and the replacement content. These semantic codes mediate the inpainting process by providing precise semantic guidance, enabling fast content replacement without the ambiguity artifacts that would otherwise be generated by direct convolutional approaches.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Manufacturing precision

If semantic codes are generated for different portions of the image, then inpainting precision is improved, but processing complexity increases

Engineering Contradiction:
Improveinpainting accuracyVSAvoidprocessing steps
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent performs preliminary action by pre-processing the image to generate semantic information and semantic codes for different portions before the actual inpainting process. This preliminary segmentation and coding step simplifies the subsequent inpainting operation, achieving high precision while managing processing complexity through structured preparation.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11526967B2System and method for precise image inpainting to remove unwanted content from digital images
Publication Date: 2022.12.13 SAMSUNG ELECTRONICS CO LTD
  • US11526967B2 patent drawing
  • US11526967B2 patent drawing
  • US11526967B2 patent drawing

AI summary

An inpainting method includes retrieving image information at an electronic device, where the image information identifies an area within an image. The method also includes retrieving, using the electronic device, semantic information including a plurality of semantic classes and a semantic class distribution for each semantic class of the plurality of semantic classes. The method further includes generating semantic codes associated with different portions of the image based on the image information and the semantic information. In addition, the method includes constructing the area within the image by generating image content based on the semantic information.