High-Resolution Image Inpainting With Super-Resolution Refinement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image inpainting technologies using neural networks often result in blurry, discolored, or inconsistent inpainted regions that are not aesthetically pleasing and less suitable for image processing operations, such as edge detection or object detection, due to limitations in resolution and refinement.

Innovation Solution

A framework that involves a super-resolution network between a coarse inpainting network and a refinement network to upscale and refine inpainted regions, using contextual attention to ensure higher resolution and coherence with surrounding image features.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If a single neural network is used for image inpainting, then the processing speed is faster, but the inpainted regions are blurry and lack detail

Engineering Contradiction:
Improveinpainting qualityVSAvoidnetwork structure complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The inpainting process is segmented into three distinct stages performed by separate neural networks: coarse inpainting (first network), super-resolution upscaling (second network), and detail refinement (third network). This segmentation allows each network to specialize in a specific aspect of image reconstruction, with the coarse network handling overall structure, the super-resolution network enhancing resolution, and the refinement network adding fine details, thereby resolving the contradiction between processing speed and inpainting quality.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The neural networks are arranged in a nested pipeline structure where the output of the first network becomes the input to the second network, which in turn feeds into the third network. This nested arrangement allows the results to be progressively refined through multiple processing stages, with each network building upon and enhancing the previous network's output, achieving high-quality inpainting while maintaining systematic efficiency.

Inventive Principle:
Principle #7Nested doll (Nesting)

2Manufacturing precision

If multiple neural networks are used in sequence, then the inpainting quality is improved, but the processing time increases

Engineering Contradiction:
Improveinpainting qualityVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The first neural network performs preliminary coarse inpainting to establish the overall structure and fill masked regions before the subsequent networks process the image. This preliminary action ensures that the foundation is laid early, allowing later networks to focus on enhancing details rather than creating structure from scratch, thereby reducing the cumulative processing time while maintaining quality.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The super-resolution network rapidly upscales the coarse inpainted image to higher resolution without performing detailed refinement, effectively skipping the intermediate step of generating high-resolution coarse inpainting directly. This allows the system to quickly transition from low-resolution structure to high-resolution detail, reducing overall processing time while achieving superior quality.

Inventive Principle:
Principle #21Skipping (Rushing through)

3Manufacturing precision

If the inpainted image is upscaled to higher resolution, then the detail quality is improved, but the computational resources required increase

Engineering Contradiction:
Improveresolution qualityVSAvoidcomputational energy
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The super-resolution network focuses computational resources specifically on upsampling the inpainted regions and their surrounding areas, applying high-resolution processing only where needed rather than uniformly across the entire image. The refinement network similarly concentrates on enhancing local details in the upscaled regions, thereby achieving high resolution quality while minimizing unnecessary computational energy expenditure on already-sufficient areas.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12505519B2Systems and methods for inpainting images at increased resolution
Publication Date: 2025.12.23 GOOGLE LLC
  • US12505519B2 patent drawing
  • US12505519B2 patent drawing
  • US12505519B2 patent drawing

AI summary

A method includes receiving an input image. The input image corresponds to one or more masked regions to be inpainted. The method includes providing the input image to a first neural network. The first neural network outputs a first inpainted image at a first resolution, and the one or more masked regions are inpainted in the first inpainted image. The method includes creating a second inpainted image by increasing a resolution of the first inpainted image from the first resolution to a second resolution. The second resolution is greater than the first resolution such that the one or more inpainted masked regions have an increased resolution. The method includes providing the second inpainted image to a second neural network. The second neural network outputs a first refined inpainted image at the second resolution, and the first refined inpainted image is a refined version of the second inpainted image.