Image restoration method based on Criminisi
An image and picture technology, applied in the field of image restoration based on Criminisi, which can solve the problems of algorithm stop, texture extension overflow, image texture information repair error, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Such as figure 1 As shown, I is the image to be repaired, Ω is the area to be repaired, is the edge of the area to be repaired, that is, the critical area between the area to be repaired and the known area, φ is the source area, that is, the known area of the image to be repaired, φ=I-Ω. P is the target pixel, Ψp is the block to be repaired centered on p, n p is the normal direction of p, that is, the unit vector perpendicular to the edge of the area to be repaired at point P, is the direction of the isolux line of p, ▽I p is the tangent direction of the iso-illuminance line of p, and is also the direction of the gradient.
[0050] The Criminisi algorithm can be divided into three steps: calculating the priority, finding the best matching block, and updating the confidence.
[0051] First calculate the priority, the formula for calculating the priority is:
[0052] P(p)=α·C(p)+β·D(p) (1)
[0053] Among them, α and β are weighting coefficients, and the least squ...
example 1
[0094] Example 1: Applied to the roof restoration comparison chart
[0095] image 3 The experiment selected a roof image, which reflects the algorithm's processing of simple texture images with a single color, from figure 2 It can be seen from (b) that the Criminisi algorithm can handle the structure of the upper and lower parts of the house better, but there is a big gap in the processing of the middle texture part. The improved algorithm such as figure 2 As shown in (c), not only can the roof structure be completely processed, but also the details of the texture are well restored.
[0096] The mathematical parameter confidence α and data item β in the algorithm are calculated by the least squares method through the pixels of the sound image and the coding image of the experimental image in the embodiment. When the one-dimensional array (x1, y1), (x2, y2), ..., (xn, yn) is (0.53, 1.2506), (0.751, 1.4804), ..., (1.327, 2.044), enter the formula (11 ) and (12) get
[00...
example 2
[0101] Example 2: Applied to building restoration comparison chart
[0102] Figure 4 The experiment selects a building map, which reflects the treatment of structural integrity and extensibility by the Criminisi algorithm, from image 3 It can be seen from (c) that the structure of the picture is severely missing, the upper half of the beam is only half repaired, and the shape of the drop-shaped structure in the lower half is also deformed. An improved algorithm such as image 3 As shown in (c), the beam in the upper half has been completely repaired, and the drop-shaped structure in the lower half has been basically restored.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com