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

Improved Criminisi image restoration method with self-adaptive gradient block division and equilong transformation

A technology of equidistant transformation and repair method, which is applied in image enhancement, image data processing, instruments, etc., which can solve the problems of high matching calculation cost, affecting image repair quality, and inability to solve repair distortion, etc.

Active Publication Date: 2016-06-15
SHAANXI NORMAL UNIV
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] ①The priority model of the Criminisi method is designed as the product of the confidence item and the data item. With the continuous filling of the patch, the confidence item drops sharply and tends to zero value after multiple iterations, but the data item keeps changing smoothly, which leads to Data items are subject to a confidence term that tends to zero, making the priority calculation unreliable, thus leading to wrong filling order, which affects the quality of image restoration;
[0006] ②The Criminisi method does not analyze the information of the block to be repaired in detail, which may lead to unreliable calculation of the priority, and it is easy to mistake the texture part for the edge part, causing the image block originally belonging to the texture part to be repaired first, so that the texture extension affects the final image repair quality;
[0007] ③The Criminisi method looks for suitable matching blocks in all areas of known information in the entire image, while ignoring the local self-similarity of the natural image itself, which will bring high matching calculation costs;
[0008] ④The Criminisi method only uses the Euclidean distance between blocks, and there is a lack of direct matching, which will lead to inaccurate similarity measurement, and cause the directly matched target block to be not the best target block, thus affecting the quality of image restoration
[0010] For problem ②, the literature (Ren Shu, Tang Xianghong, Kang Jialun. Criminisi improved algorithm using texture and edge features [J]. Chinese Journal of Image and Graphics, 2012, 17(9): 1085-1091.) by treating the repair block has been Find the mean and variance of the known pixels, use their normal direction to segment the block to be repaired, and use the two factors of mean difference difference and variance difference to distinguish the texture edge of the image block to be repaired, and then introduce the difference factor to improve the priority The model overcomes the texture extension in the restoration process, but still cannot solve the restoration distortion caused by the absence of suitable matching blocks, and the unreasonable classification of the edge texture of the block to be repaired; in order to solve the restoration distortion caused by the existence of inappropriate matching blocks Problem, literature (Ren Shu, Tang Xianghong, Kang Jialun. Image inpainting algorithm combining texture and edge features [J]. Journal of Computer-Aided Design and Graphics, 2013, 25(11): 1682-1693.) on the process of inpainting The poor matching area is located, and the image repair method based on image decomposition is used for repair; but these two articles use the mean difference and variance difference to judge the image block to be repaired when judging the edge texture information of the image block to be repaired. The texture edge is distinguished, and all the information in the known area of ​​​​the image is not divided. When matching the best target block of the block to be repaired, the information of the block to be repaired is not classified and searched, so the matching calculation cannot be effectively reduced. cost
[0011] For problem ③, in order to reduce the calculation cost, literature (Ren Shu, Tang Xianghong, Kang Jialun. Improved Criminisi algorithm using texture and edge features [J]. Chinese Journal of Image and Graphics, 2012, 17(9): 1085-1091.) Adjust the search method of the matching block in the restoration process. On the basis of the global search, add a search condition to judge the distance between the center of the two image blocks between the block to be repaired and the target matching block. If the distance is too large, stop the repair. Change the repair target to a sub-priority repair block. If the same situation still occurs, continue to transfer the repair target, and the number of transfers is up to 3 times. After 3 times, ignore this condition and perform a matching search according to the original search method. In terms of efficiency It has been improved, but the global search is still used, and the time complexity is high; in order to change the global search to local search, literature (Dai Shimei, Zhang Hongying, Zeng Chao. A fast image restoration algorithm based on examples[J] .Microcomputer and Applications, 2010(22):34-36.) Improve the efficiency of the method by reducing and limiting the search space of matching blocks. Although the calculation cost is alleviated, the simple search space will lead to the loss of reasonable matching blocks, thus Reduce the visual repair quality of the image
However, when searching for the best matching block, the above repair method does not take into account the problem that the target block after equidistant transformation may have a higher similarity with the sample block

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
  • Improved Criminisi image restoration method with self-adaptive gradient block division and equilong transformation
  • Improved Criminisi image restoration method with self-adaptive gradient block division and equilong transformation
  • Improved Criminisi image restoration method with self-adaptive gradient block division and equilong transformation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] Taking JAVAjdk1.8.0_20 as the case implementation environment, the implementation of the present invention will be described in detail in conjunction with the accompanying drawings, but not limited to this implementation case, where figure 1 Is the image restoration flow chart.

[0085] Step 1: record G=(g i,j =-1) m×n For the image to be repaired A=(a i,j ) m×n Gradient map, denote Ω as the area to be repaired, and the marking matrix B=(b i,j ) m×n middle b i,j = 0 elements are marked, Φ is a known area, by marking matrix B=(b i,j ) m×n in the beginning b i,j =1 to mark, Φ' is the repaired area, initialize Φ'=Φ, is the boundary of the area to be repaired, and i.e. b i,j = element in 1, calculate image pixel a by formula (1) i,j The corresponding gradient value g i,j , namely g i,j =Grad(a i,j ,(i,j)):

[0086]

[0087] In formula (1), g x and g y is pixel a i,j The x-direction and y-direction gradients are calculated according to formula (2) and...

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 improved Criminisi image restoration method with self-adaptive gradient block division and equilong transformation. The method is characterized by, to begin with, marking known and restoration regions of an image to be restored, calculating a gradient histogram for all pixel points in the known region, and dividing the pixel points in the known region into smooth, texture and edge three types of pixels; then, enhancing discrimination capability for an edge texture portion through a block-classification improved priority function to solve the problem of texture extension caused by a conventional method; next, judging the block type of blocks to be restored by judging known gradient information in the block to be restored, and establishing a self-adaptive block size function to ensure that different types of blocks to be restored are restored by different sizes of blocks respectively, and carrying out matching only in the corresponding types to improve matching efficiency; and finally, introducing the equilong transformation to improve matching precision. Compared with the existing method, the method well overcomes the problems of texture extension and high time complexity and the like, and the restoration quality is improved.

Description

technical field [0001] The invention belongs to the field of image signal processing, and relates to a digital image restoration method, in particular to an improved Criminisi image restoration method combined with adaptive gradient block and equidistant transformation. Background technique [0002] Image inpainting is to fill in the missing information area of ​​the image, and its purpose is to make the filled image approach or achieve a certain visual quality. Image restoration technology is currently a research hotspot in computational graphics and visual computing. It has great application and research value in cultural relics protection, damaged image repair and restoration, target obstacle removal and high-resolution image reproduction. [0003] Image inpainting techniques based on variational PDE and image inpainting techniques based on texture synthesis are two main image inpainting strategies. Among them, the main idea of ​​the variational PDE (Partial Differential...

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): G06T5/00G06T5/40
CPCG06T5/40G06T5/77
Inventor 邵利平张从飞师军
Owner SHAANXI NORMAL 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