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

Image restoration method based on contour matching

A repair method and contour matching technology, applied in the field of image repair based on contour matching, to achieve the effect of easy implementation, improved repair effect, and improved repair accuracy

Active Publication Date: 2014-04-30
ZHEJIANG UNIV
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a fast image repair algorithm based on contour matching, which fundamentally solves the problem of adapting the repair area to the source image, greatly improves the repair effect, and is easy to implement

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 based on contour matching
  • Image restoration method based on contour matching
  • Image restoration method based on contour matching

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] An image restoration method based on contour matching, comprising the following steps:

[0059] (1) Specify the area to be repaired in the image to be repaired with a mark (the mark is located on the r channel);

[0060] (2) Determine the minimum rectangular coverage box of the area to be repaired and define the block to be repaired and the bounding box to be repaired. The size of the block to be repaired is 7×7 pixels, that is, both horizontally and vertically include 7 pixels, and the bounding box to be repaired is the smallest rectangular coverage The rectangle obtained by extending the box horizontally and vertically by 6 pixels, so that the block to be repaired coincides with a corner and two sides of the bounding box to be repaired, even if the intersection area of ​​the smallest rectangle covering the box only contains one pixel to be repaired;

[0061] (3) Obtain the contour information of the image to be repaired and the reference image through the sobel operat...

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 an image restoration method based on contour matching. The image restoration method based on the contour matching comprises the steps that a determined area to be restored is marked by marks, a block to be restored is defined in the imaged to be restored, a corresponding optimal matching block in a reference image is defined through the contour matching, pre-restoration is carried out on pixels to be restored in the block to be restored through the optimal matching block, the block to be restored is moved, the contour matching is carried out every time the block to be restored is moved to obtain optimal matching blocks, the pre-restoration is carried out on all the pixels to be restored in sequence, lastly, the pre-restoration is carried out on any pixel, weighted processing is carried out on pixel values of corresponding pixels in all the optimal matching blocks, and final restoration is carried out on the pixels by using the weighted processing results. According to the image restoration method based on the contour matching, matching restoration is carried out on the image to be restored through the contour matching, and the restoration is completed with the pixels as units step by step. Furthermore, the restoration comprises the pre-restoration and the final restoration, restoration precision is high through two-time restoration, needed manual intervention is less, and the image restoration method based on the contour matching is suitable for self-adaptation restoration.

Description

technical field [0001] The invention relates to the field of computer image processing, in particular to an image restoration method based on contour matching. Background technique [0002] Image inpainting algorithm has always been one of the difficult and hot issues in the image field. Previously common inpainting algorithms were processed in one dimension by linear interpolation. Image inpainting has a wide range of application requirements. However, most image restoration algorithms do not perform well or take too much time, and cannot achieve a satisfactory balance between quality and efficiency, especially when the image is relatively large, the excessive time consumption is almost all A common problem with algorithms. [0003] Based on the method of bilinear interpolation, this method has better results for scratches and some line-shaped blurred areas in the image. However, the actual image repair problem is often a block that needs to be repaired. When processing...

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/00
Inventor 张大龙李盼张丹董建锋赵磊鲁东明
Owner ZHEJIANG UNIV
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