Rapid image repairing method based on sample

A repair method and image technology, applied in the field of image processing, can solve problems such as reducing repair time, repair lag in low-texture areas, etc., and achieve the effect of solving repair lag

A repair method and image technology, applied in the field of image processing, can solve problems such as reducing repair time, repair lag in low-texture areas, etc., and achieve the effect of solving repair lag

CN104376535AActive Publication Date: 2015-02-25XUZHOU UNIV OF TECH

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rapid image repairing method based on sample
  • Rapid image repairing method based on sample
  • Rapid image repairing method based on sample

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The present invention will be further described below in conjunction with accompanying drawing.

[0054] like figure 1 As shown, image I is provided, the target area to be filled (area to be repaired) is Ω, the contour line is δΩ, the source area (known area) is Φ (Φ=I-Ω), and the area along the contour line in the target area Square template Ψp. The center point p is on the contour line δΩ, and the template Ψp should contain a part of the synthesized pixels. Each pixel in the template has a color value and a confidence value (indicating the filling status of the point, 1 means it has been filled, and 0 means it has not been filled). Each template on the outline establishes a temporal priority, which determines the priority order in which each template is filled. The order of template filling is gradually filled from the outside to the inside, which can make full use of the existing information. The target area to be filled will gradually shrink until the filling is...

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 a rapid image repairing method based on a sample. The rapid image repairing method includes the steps that a to-be-repaired area is determined through marks; a contour line of a boundary of the to-be-repaired area and a known area is selected; a data value and a confidence coefficient value of a template are calculated; adjusting parameters are introduced to determine a to-be-repaired module with the highest priority; in the known area adjacent to the to-be-repaired module, conducting searching from the near to the distant to obtain an optimal matching block according to the distance between the optimal matching block and a center point of the to-be-repaired module; filling the corresponding position of the to-be-repaired module with a pixel point corresponding to the optimal matching block, and meanwhile updating the confidence value of the newly-updated pixel point; repeatedly executing the steps on the to-be-repaired area until the to-be-repaired area is filled completely. The rapid image repairing method is optimized from priority operation, data valve calculation, matching area and optimal matching block searching and confidence value updating, and the repairing effect is more natural; meanwhile, matching only needs to be carried out on a local part during repairing, so that the repairing time is greatly shortened.

Description

technical field [0001] The invention relates to an image restoration method, in particular to a sample-based rapid image restoration method, and belongs to the technical field of image processing. Background technique [0002] As an important application of image processing, the main purpose of image restoration is to restore damaged images to a degree acceptable to the human eye. Its application fields include art restoration, computer animation, film and television special effects, virtual reality, etc. . [0003] The current image repair algorithms mainly focus on two categories: one is the method of image retouching (inpainting), which was first introduced into digital images by Bertalmio et al., using a repair model based on partial differential equations (PDE). There are also the total variational (TV) model proposed by Chan and the curvature-driven diffusion (CDD) model. These methods have a good repair effect on damaged images with flaws, but the effect of repairin...

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
25 Feb 2015
Publication
CN104376535A
IPC
G06T5/00
Inventors
戴磊; 姜代红