Image restoration method and computer-readable storage medium

A repair method and image technology, applied in the field of image processing, can solve the problems of high training cost and high computing cost, and achieve the effect of reducing the amount of calculation, reducing the amount of calculation, and high accuracy

Active Publication Date: 2022-07-08
SHENZHEN HUAHAN WEIYE TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the training cost and calculation cost of image restoration based on deep learning are relatively large.

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
  • Image restoration method and computer-readable storage medium
  • Image restoration method and computer-readable storage medium
  • Image restoration method and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Please refer to figure 1 , figure 1 A schematic flowchart of an image restoration method provided in this embodiment of the present application. The method provided by this embodiment is executed by an electronic device, and the electronic device may be a server, a computer, a smart phone, or a tablet device, etc., which is not described in this application. limited. The image restoration method provided in this embodiment includes the following steps 11-19:

[0046] Step 11: Acquire adaptive downscaling parameters and adaptive filtering parameters.

[0047] The adaptive reduction parameter is used for reducing the image to be repaired, and the adaptive reduction parameter refers to a reduction parameter obtained according to the size of an invalid region formed by invalid pixels in the image to be repaired. The adaptive downscaling parameter may be a downscaling ratio.

[0048] The adaptive filtering parameters are used for filtering the image to be repaired, and t...

Embodiment 2

[0181] The image restoration method provided in this embodiment can process the image to be restored through the rough processing process in the image restoration provided by Embodiment 1. The following describes in detail with specific embodiments.

[0182] See figure 2 , figure 2 A schematic flowchart of another image restoration method provided in the embodiment of the present application, figure 2 The illustrated embodiment is based on the first embodiment, and further, the method provided in this embodiment includes the following steps 11, 12, 13, 14, 21, 18, and 19:

[0183] Since steps 11 , 12 , 13 , 14 , 18 , and 19 , their implementation principles and the technical solutions composed of their subordinate concepts are similar to those in the above-mentioned first embodiment, and will not be repeated here.

[0184] Step 21: Use the rough processed value of the pixel to be filled as the target value of the pixel to be filled.

[0185] In this embodiment, adaptive...

Embodiment 3

[0191] The image restoration method provided in this embodiment can process the image to be restored through the refined processing process in the image restoration provided by Embodiment 1. The following describes in detail with specific embodiments.

[0192] See image 3 , image 3 A schematic flowchart of still another image restoration method provided in the embodiment of the present application, image 3 The illustrated embodiment is based on the first embodiment, and further, the method provided in this embodiment includes the following steps 11, 12, 13, 16, 17, 18 and 19:

[0193] Since steps 11 , 12 , 13 , 16 , 17 , 18 , and 19 and their subordinate concepts constitute a technical solution, the implementation principles thereof are similar to those in the first embodiment, and will not be repeated here.

[0194] In this embodiment, adaptive reduction parameters and adaptive filtering parameters are obtained by adaptive acquisition, so that corresponding reduction pa...

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

An image repairing method and a computer-readable storage medium, wherein an image to be repaired is reduced and filtered according to adaptive reduction parameters and filtering parameters, a filtered image to be repaired is obtained, and pixel points to be filled in the filtered image to be repaired are obtained , and obtain a better initial value of the pixel to be filled, based on the constraints that minimize the sum of the divergences of the gradient values ​​of all the pixels to be filled and the initial value of the pixel to be filled, the value of the pixel to be filled is calculated. In the first iterative process, the coarse processing value of the pixel to be filled is obtained, and the coarse processing value of the pixel to be filled is re-used as the initial value of the pixel to be filled. According to the energy equation and the initial value of the pixel to be filled, the pixel to be filled is The second iterative process is performed on the value of the pixel to be filled to obtain the fine-processing value of the pixel to be filled, the fine-processing value of the pixel to be filled is taken as the target value of the pixel to be filled, and the restored image is obtained by up-sampling, which improves the efficiency of image processing. .

Description

technical field [0001] The present application relates to the technical field of image processing, and in particular, to an image restoration method and a computer-readable storage medium. Background technique [0002] In daily life and industrial production, some images need to be repaired. The repair process can be: remove the date and watermark on the image; remove the unwanted content in the image, and fill the removed vacant area with reasonable content; Repair and fill cracks, scratches, blemishes, etc. in old photos; repair black and white photos to facilitate converting them to color images, and more. [0003] At present, the main method of image inpainting is image inpainting based on deep learning, and the part of the generated image (the area to be filled) uses the texture information of the known part of the image. Deep learning methods are mainly based on encoder-decoder (Encoder+Decoder) or generative adversarial network (Generative Adversarial Network, referr...

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 Patents(China)
IPC IPC(8): G06T5/00
CPCG06T5/005G06T2207/20004
Inventor 魏宇明杨洋黄涛黄淦
Owner SHENZHEN HUAHAN WEIYE TECH
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