Figures
Abstract
The method of partial differential equations for image inpainting achieves better repair results and is economically feasible with fast repair time. Addresses the inability of Curvature-Driven Diffusion (CDD) models to repair complex textures or edges when the input image is affected by severe noise or distortion, resulting in discontinuous repair features, blurred detail textures, and an inability to deal with the consistency of global image content, In this paper, we have the CDD model of P-Laplace operator term to image inpainting. In this method, the P-Laplace operator is firstly introduced into the diffusion term of CDD model to regulate the diffusion speed; then the improved CDD model is discretized, and the known information around the broken region is divided into two weighted average iterations to get the inpainting image; finally, the final inpainting image is obtained by weighted averaging the two image inpainting images according to the distancing. Experiments show that the model restoration results in this paper are more rational in terms of texture structure and outperform other models in terms of visualization and objective data. Comparing the inpainting images with 150, 1000 and 100 iterations respectively, Total Variation(TV) model and the CDD model inpainting algorithm always has inpainting traces in details, and TV model can’t meet the visual connectivity, but the algorithm in this paper can remove the inpainting traces well, TV model and the CDD model inpainting algorithm always have inpainting traces in details, and TV model can’t meet the visual connectivity, but the algorithm in this paper can remove the inpainting traces well. Of the images used for testing, the highest PSNR reached 38.7982, SSIM reached 0.9407, and FSIM reached 0.9781, the algorithm not only inpainting the effect and, but also has fewer iterations.
Citation: Xiao L, Wu J (2024) Image inpainting algorithm based on double curvature-driven diffusion model with P-Laplace operator. PLoS ONE 19(7): e0305470. https://doi.org/10.1371/journal.pone.0305470
Editor: Khan Bahadar Khan, Islamia University of Bahawalpur: The Islamia University of Bahawalpur Pakistan, PAKISTAN
Received: May 8, 2023; Accepted: May 25, 2024; Published: July 16, 2024
Copyright: © 2024 Xiao, Wu. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The data underlying the results presented in the study are available from uRL.
Funding: This research is based upon work supported in part by Hubei Provincial Education Department project(B2021083). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: All of authors have declared that no competing interests exist.
Introduction
Digital image inpainting is an important part of digital image processing. The final presentation result of digital image inpainting technology must meet the connectivity principle of the human and the fluency of the overall image. On the basis of guaranteeing inpainting of cracks or removal of contaminants, the person or landscape in the inpainting image looks as natural as before.
Image inpainting is the process of restoring missing pixels in digital images in a plausible way. The challenge is that the recovery processes themselves introduce noticeable artifacts within and around the restored image regions. The curvature-driven diffusion model repairs the lost region by diffusing the data near the lost region during image transmission, and uses the edge information of the region to be repaired to diffuse the information outside the region to be repaired into the region to be repaired along the vertical direction of the gradient. The curvature-driven diffusion model introduces a curvature term to make its partial differential equation of higher order, and applies the fast marching method to the boundary of the region to be repaired to gradually advance it from outside to inside, and while advancing it uses the correlation between the pixel to be repaired and its neighboring pixels around it to repair the various discrete pixel points on the boundary. On this basis, the P-Laplace operator is introduced to fill the damaged region by using the performance of the nonlinear anisotropic diffusion of the P-Laplace operator, combining the P-Laplace operator with the diffusion term of the curvature-driven diffusion model to discretize the improved curvature-driven diffusion model model, and dividing the known information around the broken region into two weighted average iterations to obtain the final repair image.
Current restoration methods:
Deep learning-based image restoration methods
With the gradual improvement and development of deep learning algorithms, researchers have started to apply deep learning algorithms to the field of image restoration. Researchers have successively proposed Convolutional Neural Networks such as AlexNet, VGG-NET, and ResNet [1–4], which are used to train data to restore images and predict the structure of images efficiently [5–7]. Goodfellow proposed generative adversarial networks [8] in 2014, which consist of a generator and a discriminator, where the generator synthesizes data from a given noise data, and the discriminator discriminates the similarity between the synthesized data and the real data, and if the computationally generated sample image is similar enough to the image of the area to be restored, image restoration can be achieved. With the work of deep learning in the field of image restoration, recurrent neural networks have been applied in the automatic generation of unmarked images, and further research results have been achieved by combining them with convolutional neural networks for image restoration. However, there are the following shortcomings: CNN is widely researched, but there is a shortage for texture restoration; GAN can be applied to image restoration with a large amount of missing data, but the instability problem in the training phase of GAN needs more in-depth research to solve; RNN has excellent performance in processing sequential data, but it is not so good for processing large sample data. Since then, many excellent networks have been proposed. The literature [9] proposed a novel two-stream network for image restoration is proposed, which models structure-constrained texture synthesis and texture-guided structure reconstruction in a coupled manner so that they can better utilize each other for more rational generation. In addition, to enhance global consistency, a bidirectional gated feature fusion (Bi-GFF) module is designed to exchange and combine structural and texture information, and a contextual feature aggregation (CFA) module is developed to refine the generated content affinity learning and multi-scale feature aggregation by region.
In 2023, the literature [10] proposed a U-Net-based latent diffusion model that performs diffusion in a low-resolution latent space while retaining high-resolution information from the original input for the decoding process. Compared to previous latent diffusion models that train VAE-GAN to compress images, the proposed U-Net compression strategy is more stable and can recover highly accurate images without relying on adversarial optimization, aiming to improve the applicability of diffusion models in real-world image recovery. the literature [11] proposed a lightweight single-image super-resolution network that fuses multi-level features. The components are mainly two-level nested residual blocks. To better extract features and reduce the number of parameters, each residual block adopts an asymmetric structure. Moreover, the selection of the appropriate loss function of the neural network requires high hardware requirements, and the network training is time-consuming and other problems. Partial differential equation based image restoration algorithm can avoid these shortcomings.
Partial differential equation based image restoration algorithm
The image restoration method of repairing lost areas through known areas originated from the restoration techniques used by craftsmen for damaged artworks, i.e., diffusion restoration based on local information, which mainly revolved around anisotropic filtering until 2000. Malik [12] proposed various anisotropic diffusion equations. These methods can achieve good results in small scratches, small object removal, etc. However, for applications such as restoration of larger areas of broken images, removal of large objects from images, etc., it is difficult to achieve the desired restoration results in these applications.
And essentially, the first consideration in large region restoration is definitely the high-level semantic information of the restored object, and then the repair is based on the large amount of a prior information it has accumulated. For large region restoration, there are mainly two types of effective methods: one is based on texture synthesis techniques [13–17], which can achieve good results in texture detail restoration, but it is difficult to capture the global structure of the image, and the semantics of the image; the other is based on external database search methods [18], which assume that regions surrounded by similar contexts may have similar content, which is very effective when sample images with sufficient visual similarity to the image to be restored can be found, but when the restored image is not well represented in the sample database, false restoration occurs, making the final restoration unsatisfactory.
In 2000, researchers thus proposed early image restoration algorithms based on partial differential equations, which use the idea of diffusion, where the data near the lost region during image transmission arrives to repair the lost region by diffusion, and in 2000 Bertalmio, Sapiro, Caselles, and BallesterIl [19] first proposed a BSCB repair model, which uses the edge information of the region to be repaired to diffuse the information outside the region to be repaired into the region to be repaired along the gradient vertical direction. This process is an iso-illumination line extending along the tangent direction. The algorithm does not require the topology inside the repaired region and is well adapted, but defects such as too slow repair speed and easy blurring after repair hinder its application prospects. In 2001, Chan et al. improved a total variation model(TV) by applying it to image restoration and proposed a new repair model, namely Curvature-Driven Diffusion (CDD) [14], which can overcome the “deficiencies” of TV. It is an extension of the total variance model and the main improvement is the introduction of curvature information in the process of image information diffusion. In 2007, the literature [20] proposed a fast image restoration algorithm for the traditional classical restoration method, which has the disadvantages of slow restoration speed and does not maintain strong edges, by applying a fast marching method to the boundary of the region to be restored. The fast marching method gradually advances from the outside to the inside, and the advancement uses the correlation between the pixel to be repaired and its surrounding neighboring pixels to repair each discrete pixel point on the boundary until the end of the restoration. In the literature [21], the P-Laplace operator is applied to image repair to establish the P-Laplace model for image repair. The model uses the performance of nonlinear anisotropic diffusion of the P-Laplace operator to fill the damaged area, and controls the diffusion direction and time by taking a P value between 1 and 2 to achieve improved repair results and shorter repair time. In 2013, the paper [22] proposed a new tensor diffusion-based wavelet repair model(TDWI) to recover lost or damaged wavelet coefficients. A hybrid model was developed by combining structural adaptive anisotropy regularization with wavelet representation. The shape of the diffusion kernel adaptively changes according to the features of the image, including sharp edges, corner points, and homogeneous regions. Compared with existing wavelet restoration models, this model can more adaptively and accurately control the geometric regularity in the image and has better robustness to noise. In 2016, the literature [23] established a new class of image restoration models based on fractional-order nonlinear anisotropic diffusion equations that employ the P-Laplace norm of the fractional-order gradient of the image intensity function. This model can effectively enhance the texture details of the image and eliminate the step and speckle effect, in addition to effectively removing noise and non-linearly maintaining the high-frequency edges of the image. In 2017, the literature [24] proposed a new TV-Stokes model for image deblurring with a better geometric interpretation. In the image reconstruction, we first calculate the smoothed part of the image from the smoothed tangential field, and then use the anisotropic TV model to obtain the “textured” part of the deblurred image. Solvable properties of the two-step minimization problem are established, and a fast algorithm is given. The new deblurring model is able to capture image details hidden in blurred and noisy images, and the fast algorithm is efficient and robust. In 2018, the literature [25] proposed a wavelet repair model using fractional-order full-variance regularization method. The computational efficiency is improved and the convergence of the new algorithm is ensured. In 2023, the literature [26] proposed a fine inpainting method of incomplete image based on features fusion and two-steps inpainting (FFTI), Firstly, the dynamic memory networks (DMN+) are used to fuse the external features and internal features of the incomplete image to generate the incomplete image optimization map. Secondly, a generation countermeasure generative network with gradient penalty constraints is constructed to guide the generator to rough repair the optimized incomplete image and obtain the rough repair map of the target to be repaired. Finally, the coarse repair graph is further optimized by the idea of coherence of relevant features to obtain the final fine repair graph.
Image repair methods based on partial differential equations can repair small-scale broken images well and can also repair multiple broken fields simultaneously, but the repair results are not satisfactory for images with a large range of missing information, and with the application of image repair in new fields such as biomedicine and face image repair, the quality requirements of the repaired images are getting higher and higher, and the researchers proposed a dynamic weighted matching image restoration algorithm, which better utilizes the known information of the image, improves the image restoration quality, and uses the local average gray-scale entropy fast image restoration algorithm to speed up the computer to perform the restoration of structural information, connect the edges, and later repair the texture components, which can improve the consistency of the image structure, texture, etc.
Embodiment of the advantages of the algorithm in this paper: The algorithm in this paper mainly repairs old photos with scratches and images covered by text. Theoretical analysis and experimental results show that the model has shorter repair time than the CDD model and can obtain visually more natural repaired images.
CDD inpainting model
CDD inpainting model is built on TV model. As practiced in the variational methodology, it is very convenient to solve the TV inpainting problem. Fig 1 indicates that E (Extended Area), D (inpainting Area), etc. (1) Where plays the role of the Lagrange multiplier for the constrained variational problem. The Euler-Lagrange equation for the energy functional is (2) for all, adding Neumann boundary conditions. Here the extended Lagrange multiplier is given by The infinitesimal steepest equation for is therefore given by (3) Since takes two different values. (2) or (3) is a two-phase problem, and the interface is the boundary P of the inpainting domain. From the numerical point of view, in all of the above differential equations, we replace the curvature term.
Let D be an inpainting domain with piecewise smooth boundary, and E any fixed closed domain in the complement Dc, so that lies in the interior of E ∪ D. To satisfy the connectivity principle of human, Chan and Shen [15] proposed a new PDE model based on curvature driven diffusions(CDD). Which is closely inspired by the TV inpainting model. The CDD inpainting model is governed by the following PDE: (4) where k is the scalar curvature . The new ingredient of the CDD model, compared with the TV inpainting model. The choice of a coefficient value of 1 outside the inpainting domain indicates that the model carries out the regular TV denoising task outside D. Meanwhile, g(s) can be any appropriate function that penalizes large curvatures and stabilizes small curvatures inside the inpainting domain. In Chan and Shen [15], it is argued that g(s) must satisfy. Thus, for example, one can choose for some g(s) = sp for some p ≥ 1. Under this condition, the model stretchesout bent level lines inside the inpainting domain, outputs connected objects, and therefore realizes the connectivity principle. For better repair effect, we replace the diffusion function g(s) with Δpu where Δpu = div (|∇u|p−2∇u), 1 ≤ p < ∞. Using P-Laplace operator to fill the damaged domain can make the image edge transition more natural and improve the inpainting effect. Then, the CDD model with P-Laplace operator is (5) Using the variational method to solve the extremum question, the following equations are solved (6)
The inpainting algorithm of this paper
Various image inpainting algorithms based on CDD model only make use of the reference information of four neighborhood pixels. Therefore, they cannot keep shape edges and their inpainting precisions high enough. To conquer these difficulties, the image inpainting algorithm based on improved CDD was presented in which the reference information for damaged pixel was extended from 4 into 16 neighborhood pixels. The improved CDD algorithm can effectively improve the inpainting precision and keep shape edeges. Extending the method of repairing damaged points with information from known pixel points in the damaged point domain was inspired by the literature [27], where the CDD model was used to repair damaged points using information from 8 points on P = {N, S, W, E, NW, NE, SW, SE} only. In this paper, we first introduce the P-Laplace operator to modify the diffusion coefficient of the CDD, and then use the improved CDD model to repair the damaged points using the known information of a total of 16 points on p and p′ = {N, S, W, E, N1, S1, W1, E1}.
An improved CDD inpainting algorithm is proposed to inpaint the image twice. Experiments show that the algorithm proposed in this paper not only has good quality of image inpainting, but also the inpainting time takes less, so it is a better algorithm for fast image inpainting. Fig 2 let E, N, W, S denote four adjacent pixels of the pixel O, and e, n, w, s the corresponding four midway points. Write Usually, the noise is ignored in the missing or damaged areas. then Eq (3) can be modified as (7) Eq (7) can be simplified as , where , the curvature . We can also use the half-point center difference method to discretize formula (7), as shown in Fig 2.
Then the divergence is first discretized by central differencing: (8) where h denotes the grid size, which is always taken to be 1 in image processing. Next, we generate further approximations at the midway points, where image information is not directly available. Take the midpoint e, for example: (9) (10) (11) (12) (13) (14)
Similar discussion applies to the other three directions N, W, S and the other half-pixel points n, w, s. Therefore, at a pixel O, the Eq (2) is discretized to: (15) where the function represents the original defective image. For any arbitrary point , the function wd,ε be defined: (16) where the parameter ε > 0. When ε = 0, the function wd is simplified as: (17) Similar, the gradient norma |∇uw|, |∇un|, |∇us| of other half-pixel points can be calculated. We solve Eq (15) to obtain (18) The formula represents the diffusion coefficient corresponding to the four pixels e, n, w, s. The function up represents the gray value of the four points:E, N, W, S. Let (19) Using formula (19) to simplify formula (18), a new inpainting formula is obtained: (20) With Eq (20) is in the form of a low pass filter, which is of course a system of nonlinear equations since the filter coefficients all depend on u. Freezing the filter coefficients (to linearize the equations), and adopting the Causs-Jacobi iteration scheme for linear systems, at each step n, we update u(n−1) to u(n) by (21) Where hm−1 = h(um−1). Since h is a low pass filter, the iterative algorithm is stable and satisfies the maximum principle [16]. In particular, the gray value interval [0, 1] is always preserved during the iterating process.
Useful variations of the algorithm can be obtained by altering the definition wd in (17). Experiments show that such variations sometimes work better for inpainting sharp edges in the digital setting. In implementation, the weights wd are (22) For some small number ε, to avoid a zero divisor in smooth regions. Notice that choosing a large ε brings the TV model closer to the harmonic inpainting(especially computationally, since the spatial step size h is set to 1, and u takes values from the finite gray-scale interval [0.1]). In addition, as ε gets bigger, the convergence the iteration scheme speeds up.
Although the pixels in area E are known, the iterative operation is still performed. The new value of the point O is calculated from the old value and the adjacent pixels. The iterative operation is performed for each pixel in the area E, so that the known information is gradually advaced to the damaged area, which inpaints the image.
The above analysis shows that the restoration value of the point O is only related to eight pixels in its area on the surface, but in fact, every pixel in the area participates in the iterative operation, and the restoration value of the point O is related to the pixel value in the area. However, because each operation only considers eight pixels in the field of point O, the information obtained is limited.
In order to reduce the inpainting time, our algorithm uses a weighted average kernel with the diffusion coefficient to inpaint the highest bit layer of image.
At the highest level of the image, we use the new inpainting formula (20) to calculate the inpainting point O by eight pixels neighborhood of the point O, and use the information of the eight points to predict the point O. When |∇ud| = 0, the weighting coefficient tends to infinity, So the adjustment parameter ε is introduced. The following inpainting formula is obtained: (23) As can be seen from the above equation, the inpainting formula is closely related to the curvature term and gradient. When the gradient is large, the weighting coefficient is small, and when the gradient is small, the weighting coefficient is large, so the inpainting algorithm is also anisotropic. Due to the addition of gradient and curvature terms, the “connectivity criterion” can be satisfied.
The essence of the CDD model is to use the weighted average of four points in the field of points to be repaired as the change variable in the repair iterative process. This model can achieve both denoising and preserving image edge in the process of restoration. However, it only uses 8 points{N, S, W, E, NE, NW, SW, SE}in the field of points to be repaired. If four more points in the repair area are added to provide effective information for the points to be repaired, the accuracy of the repaired image will be greatly improved. Following this idea, on the basis of the CDD model, the solution information of the points to be repaired is extended to 12 points in the neighborhood, so that the accuracy of the repaired images can be improved under the condition of increasing the time complexity. Then 8 points in the repair area are selected again, and the repair points are repaired by using the CDD model, and a formula (24) was obtained, (24) where, Λ0 = {E1, N1, W1, S1}, .
Formula (24) is obtained by rotating the field points of Formula (18) in the following way: In the above process, the repair points have been repaired twice at the same time and the results obtained are respectively u0 and . Below, the weighted average of these two different results is carried out to obtain the final repair effect.
Since two different fields with different distances of the point O to be repaired are used respectively in function u0 and .
Therefore, the difference step size used to solve O is different, which results in different influence on O. Therefore, according to the distance ratio and weighted average, the final repair value of the points to be repaired is as follows: (25)
Specific details and methods:
- Firstly, based on the information of the eight points {N, E, S, W, NE, SE, WS, NW} of the inner solid square in Fig 2, the point O to be repaired is repaired using Formula (18) to obtain u0.
- Then, based on the information of the eight points {E1, N1, W1, S1, NE, SE, WS, NW} of the external solid square in Fig 2, the point O to be repaired is repaired using Formula (24) to obtain .
- Finally, the repair values u0 and are superimposed by taking the weights according to the degree of influence of the distance, as in Formula (25), to obtain the value of the point to be repaired O, u.
Reasons for empowerment:
- The closer it is to the point to be repaired, the greater its correlation with the point to be repaired, and the greater its influence on the point to be repaired;
- The image connectivity criterion is satisfied. For a certain pixel related to the repair point, when the distance of unit length is increased, the increased pixel value is equal. Guass-Jacobi iterative method is adopted: (26)
Algorithm implementation steps
Step1:Read the damaged image. Read the damaged image through the Imread function that comes from MATLAB. After reading, the bit image layering technology is used for layering. Take the highest bit layer of image after layering and enter the next step.
Step2: Determine the damaged area D of the image. The image after layering needs to be further processed, and the mask marking method is used to separate the damaged area from the known area. Mark the damaged area with a mask, and set the mask value of the pixel point in the damaged area to zero, it means that there is the damaged point and must be inpainted. Let the mask value within the known range [1, 255], it means that this pixel point is known and does not need to inpaint. The determined damaged area must be participated by humans, and human-computer interaction can confirm the entire damaged area.
Step3:Find the damaged area and inpaint it. The image inpainting process is the process of predicting unknown points from known points. Therefore, before inpainting, it is necessary to find the boundary of the known area, and start the iterative operation step by step from the boundary to the interior.
Step4:Take the image of the damaged area and use the improved CDD model to restore. After restoring, it is time to go to the second step and continue to use the improved CDD model to inpaint the image of the next damaged area.
Step5:Perform image reconstruction. Finally the restored image can be obtained, and the image is output.
Algorithm 1: The Curvature-Driven Diffusion model with the P-Laplace operator term.
1 Step1:
2 function newcdd(u);
Input: Image to be inpainting uo
Output: Image of completed inpainting u
3 ;
4 , , , ,;
5 , , , ;
6 ωe=Ke/sqrt(1+Ue)+1,ωw=Kw/sqrt(1+Uw)+1
ωs=Ks/sqrt(1+Us)+1,ωn=Kn/sqrt(1+Un)+1
7
8 Step2:
9 function newcdd(u′);
Input: Image to be inpainting uo
Output: Image of completed inpainting u′
10 ;
11 , , , ,;
12 , , , ;
13
Step3:
Input: Image to be inpainting u, u′
Output: Image of completed inpainting I
16
Experimental results
We have implemented the algorithm with MatlabR2016a on the PC with i5-1035G1, 1.00GHz, 16G memory. The size of the image used is 256 * 256. Take the parameters λ = 1, P = 1.6 and carry out experiments on large spots and scratches respectively.
In order to verify the experimental results, we use TV model, CDD model and the improved algorithm to carry out restoration experiments. The algorithm parameter ε = 1. The signal-to-noise ratio is calculated as follows: (27) Considering the importance of inpainting application, several metrics have been proposed in the literature [28] specially dedicated to the image inpainting quality assessment. Then, we apply Structure Similarity Index Measure(SSIM), Feature Similarity Index Mersure (FSIM) and Normalized Mean Square Error(NMSE)to evaluate the quality of the images: (28) (29) (30) where M = N = 255. The above images are all taken by ourselves. For Fig 3, for the original image, TV model and CDD model inpainting algorithm are basically consistent with the inpainting results of the algorithm in this paper. In Fig 3, the number of iterations is 150,1000,100 respectively, CDD model and TV model can clearly show up the inpainting traces in the inpainting results, but the inpainting traces are almost invisible with the algorithm in this paper. The algorithm in this paper is least iterations, and the restoration effect of the restoration algorithm in this paper is best.
The above three images of dogs, flowers and buildings have been studied by TV model, CDD model and the algorithm proposed in this paper. From Tables 1–3 and Fig 4, it can be seen that there are obvious traces of restoration in TV and CDD restored images, and the restoration effect of the restoration algorithm proposed in this paper is better. In the image inpainting experiments, compared with the TV model, the algorithm proposed in this paper consumes the least time and has the best effect, so the algorithm proposed in this paper is better than the TV model and CDD model. Fig 4 shows graphically that the iteration time growth rate of the proposed algorithm and TV model is much larger than that of the CDD model with the growth of time.
The image restoration model based on partial differential equations utilizes useful information around the area to be repaired to diffuse into the area. The advantage of this method is its simplicity of use. However, this method cannot repair large damaged areas, while neural network image repair methods can repair large damaged areas. In reference [29], the occlusion of facial images reached 25%, and the PSNR value after repairing using CE network reached 30.75. Although neural networks require high software and hardware conditions, the method of repairing images using neural networks has a better effect on repairing areas with large damage. In the future, neural network methods will be the mainstream method for image processing.
Conclusions
On the basis of studying TV model and CDD model inpainting algorithm proposed by Chan et al., the improved algorithm which uses an improved CDD model to perform on the highest level of image. The algorithm uses the structural information such as image gradient and curvature to inpaint, and achieves good results. In the case of fewer iterations, the improved algorithm is better than TV model, CDD model, and the image texture features can also be inpainted. It is worth improving that because the algorithm in this paper targets grayscale images, when there is a brighter area in the image, it will default to blank for repair, causing the area to become blurred and destroy the original connectivity. Moreover, when there are a large number of blank areas, the repair effect is not satisfactory. The above problems deserve more in-depth research.
Overall, the design of deep learning network and the selection of loss function during training are to be explored, and the selection of appropriate loss function will improve the image repair quality while also speeding up the training speed of deep learning. The improvement of image restoration quality can also be solved by reducing the depth of the noise model. Therefore, more in-depth research is needed on how to design a more perfect denoising model and how to design a restoration network with universal applicability to improve the accuracy of the restoration results.
References
- 1.
Xue H, Liu B, Yang H, Fu J, Li H, Luo J. Learning fine-grained motion embedding for landscape animation. In: Proceedings of the 29th ACM International Conference on Multimedia; 2021. p. 291–299.
- 2.
Zheng H, Yang H, Fu J, Zha ZJ, Luo J. Learning conditional knowledge distillation for degraded-reference image quality assessment. In: Proceedings of the IEEE/CVF International Conference on Computer Vision; 2021. p. 10242–10251.
- 3.
Yang F, Yang H, Fu J, Lu H, Guo B. Learning texture transformer network for image super-resolution. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition; 2020. p. 5791–5800.
- 4. Zeng Y, Yang H, Chao H, Wang J, Fu J. Improving visual quality of image synthesis by a token-based generator with transformers. Advances in Neural Information Processing Systems. 2021;34:21125–21137.
- 5.
Yeh RA, Chen C, Yian Lim T, Schwing AG, Hasegawa-Johnson M, Do MN. Semantic image inpainting with deep generative models. In: Proceedings of the IEEE conference on computer vision and pattern recognition; 2017. p. 5485–5493.
- 6. Iizuka S, Simo-Serra E, Ishikawa H. Globally and locally consistent image completion. ACM Transactions on Graphics (ToG). 2017;36(4):1–14.
- 7.
Yan Z, Li X, Li M, Zuo W, Shan S. Shift-net: Image inpainting via deep feature rearrangement. In: Proceedings of the European conference on computer vision (ECCV); 2018. p. 1–17.
- 8. Jieqing T, Zhongqing W. A novel image inpainting algorithm based on adjacent pixels. Journal of Hefei University of Technology:Natural Science. 2006; p. 1072–1076.
- 9.
Luo Z, Gustafsson FK, Zhao Z, Sjölund J, Schön TB. Refusion: Enabling large-size realistic image restoration with latent-space diffusion models. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition; 2023. p. 1680–1691.
- 10.
Guo X, Yang H, Huang D. Image inpainting via conditional texture and structure dual generation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision; 2021. p. 14134–14143.
- 11. Chen Y, Xia R, Yang K, Zou K. MFFN: image super-resolution via multi-level features fusion network. The Visual Computer. 2024;40(2):489–504.
- 12. Perona P, Malik J. Scale-space and edge detection using anisotropic diffusion. IEEE Transactions on pattern analysis and machine intelligence. 1990;12(7):629–639.
- 13. Shen J, Chan TF. Mathematical models for local nontexture inpaintings. SIAM Journal on Applied Mathematics. 2002;62(3):1019–1043.
- 14. Chan TF, Shen J. Nontexture inpainting by curvature-driven diffusions. Journal of visual communication and image representation. 2001;12(4):436–449.
- 15. Chan TF, Shen J. Morphologically invariant PDE inpaintings. 2001;.
- 16. Mumford DB, Shah J. Optimal approximations by piecewise smooth functions and associated variational problems. Communications on pure and applied mathematics. 1989;.
- 17. Tsai A, Yezzi A, Willsky AS. Curve evolution implementation of the Mumford-Shah functional for image segmentation, denoising, interpolation, and magnification. IEEE transactions on Image Processing. 2001;10(8):1169–1186. pmid:18255534
- 18.
Barcelos CAZ, Batista MA, Martins AM, Nogueira AC. Level lines continuation based digital inpainting. In: Proceedings. 17th Brazilian Symposium on Computer Graphics and Image Processing. IEEE; 2004. p. 50–57.
- 19.
Bertalmio M, Sapiro G, Caselles V, Ballester C. Image inpainting. In: Proceedings of the 27th annual conference on Computer graphics and interactive techniques; 2000. p. 417–424.
- 20. Yanwei Z, Xianglin L. A fast image restoration algorithm based on CDD model. Computer Simulation. 2008;25(10):223–227.
- 21. Hongying Z, Qizong P, Yadong W. Nonlinear anisotropic diffusion repair algorithm for digital broken images. Journal of Computer-Aided Design and Graphics. 2006;18(10):1541–1546.
- 22. Xiu-Hong Y, Bao-Long G, Xian-Xiang W. Wavelet inpainting based on tensor diffusion. Acta Automatica Sinica. 2013;39(7):1071–1079.
- 23. Yin X, Zhou S, Siddique MA. Fractional nonlinear anisotropic diffusion with p-Laplace variation method for image restoration. Multimedia Tools and Applications. 2016;75:4505–4526.
- 24. Jia ZG, Wei M. A new TV-Stokes model for image deblurring and denoising with fast algorithms. Journal of Scientific Computing. 2017;72:522–541.
- 25. Jiang L, Yin H. Wavelet inpainting by fractional order total variation. Multidimensional Systems and Signal Processing. 2018;29:299–320.
- 26. Chen Y, Xia R, Zou K, Yang K. FFTI: Image inpainting algorithm via features fusion and two-steps inpainting. Journal of Visual Communication and Image Representation. 2023;91:103776.
- 27. Qureshi MA, Deriche M, Beghdadi A, Amin A. A critical survey of state-of-the-art image inpainting quality assessment metrics. Journal of Visual Communication and Image Representation. 2017;49:177–191.
- 28. ZHAI D, YU J. Image inpainting algorithm based on double-cross curvature-driven diffusion model. Journal of Computer Applications. 2013;33(12):3536.
- 29.
Pathak D, Krahenbuhl P, Donahue J, Darrell T, Efros AA. Context encoders: Feature learning by inpainting. In: Proceedings of the IEEE conference on computer vision and pattern recognition; 2016. p. 2536–2544.