Next Article in Journal
Indirect Neural-Enhanced Integral Sliding Mode Control for Finite-Time Fault-Tolerant Attitude Tracking of Spacecraft
Next Article in Special Issue
Resource- and Time-Efficient Computation Offloading in Vehicular Edge Computing: A Max-Min Fairness Oriented Approach
Previous Article in Journal
Optimal Pension Fund Management with Foreign Investment in a Stochastic Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Primal–Dual Fixed-Point Algorithm for TVL1 Wavelet Inpainting Based on Moreau Envelope

1
School of Mathematics and Physics, Chongqing University of Science and Technology, Chongqing 401331, China
2
College of Mathematics and Statistics, Chongqing University, Chongqing 401331, China
*
Authors to whom correspondence should be addressed.
Mathematics 2022, 10(14), 2470; https://doi.org/10.3390/math10142470
Submission received: 26 June 2022 / Revised: 11 July 2022 / Accepted: 13 July 2022 / Published: 15 July 2022

Abstract

:
In this paper, we present a novel variational wavelet inpainting based on the total variation (TV) regularization and the l1-norm fitting term. The goal of this model is to recover incomplete wavelet coefficients in the presence of impulsive noise. By incorporating the Moreau envelope, the proposed model for wavelet inpainting can better handle the non-differentiability of the l1-norm fitting term. A modified primal dual fixed-point algorithm is developed based on the proximity operator to solve the proposed variational model. Moreover, we consider the existence of solution for the proposed model and the convergence analysis of the developed iterative scheme in this paper. Numerical experiments show the desirable performance of our method.

1. Introduction

As artificial intelligence technology developed, image inpainting became a key technique in image processing and computer vision [1,2]. The goal of image inpainting was to recover damaged or the missing information, either in the pixel domain or in the transformed domain or in both [3]. It has been extensively linked to other important tasks [4,5,6,7], like text and scratch removal, zooming and high-resolution image reconstruction, and impulsive noise removal, among many others. Up to now, a wide variety of image inpainting methods have been developed in the literature [8,9,10,11,12].
Generally, an image of size n × n is treated as a vector in R N (with N = n 2 ) by stacking up the columns of the image matrix. Let f ^ R N be the acquired transformed coefficients with the missing ones set to zero and η R N be additive noise introduced in storage or transmission of the coefficients. Denoting by Ω the complete index set of transformed coefficients and I Ω as the index set of available ones, the image inpainting problem can be described as
f = M W u + η
where W R N × N represents a transform matrix, M R N × N is a diagonal matrix with M i i = 1 if i I and M i i = 0 if i Ω \ I . The inpainting problem is to recover u from f . The pioneering work in this area was proposed by Bertalmio et al. [11]. They have proposed a novel image inpainting model based on the nonlinear partial differential equations (PDE) of third order in image domain. Since then, a wide variety of image inpainting methods have been developed in the literature.
The follow-up studies show that the regularization functional-based method is a class of efficient techniques. In [6], Chan and Shen proposed the total variation (TV) inpainting model. Many methods have considered the curvature information along the isophote to realize the Connectivity Principle, including the curvature driven diffusion (CDD) by Chan and Shen [12] and the Euler elastic energy functional based model by Chan et al. [13]. Fuchs presented a comprehensive review on a class of higher order variational models related to the application in image inpainting [10]. However, these methods were all based on local geometrical information of an image, which were limited to non-texture images. Recently, a class of non-local methods has been extensively applied in image processing fields [14]. Moreover, Arias et al. [15] proposed a general variational framework for non-local image inpainting based on exemplar. Peyre et al. [16] also investigated the non-local TV for various image restoration problems, including the inpainting tasks. All these methods have been considered inpainting in the pixel domain.
In the JPEG2000 image compression standard, images are usually formatted and stored in terms of wavelet coefficients. Due to lossy transmission or communication, some damages to wavelet coefficients may heavily affect the image quality. The damaged regions in pixel domain cannot be well located and the degradation is often inhomogeneous. These prompt the need of recovering the damaged information in the wavelet domain. Chan et al. [3] have addressed this problem as wavelet inpainting, which corresponds to the problem (1) with W being an orthogonal wavelet transform. Up to now, wavelet inpainting has received a lot of attentions [17,18,19,20,21,22]. Direct interpolation in the wavelet domain is problematic since high frequency coefficients retained cannot provide enough information for the missing ones. These motivate one to consider features in both the pixel domain and wavelet domain. Motivated by the idea of using TV minimization together with wavelet representation [23,24], Chan et al. [3] proposed the TV wavelet inpainting model. An objective function, which combines TV regularization term in the pixel domain with l2-norm fitting term in wavelet domain, is minimized to reproduce the damaged coefficients; we refer to this model as TVL2 model in this paper. They also have investigated some properties of this model, such as the existence and non-uniqueness of the solutions. Chan and Zhang extended the total variation wavelet inpainting to nonlocal total variation regularization [21]. The textures and local geometry structures are simultaneous when using this nonlocal method. Moreover, other regularization terms were introduced to overcome some drawbacks of the classical TV regularization, such as p-Laplace operator [19].
On the other hand, the fitting term plays an important to the variational model in the image processing. We can integrate the modified fitting term into the variational based wavelet inpainting for a specific purpose. Tai et al. [18] considered the sparsity of wavelet coefficients and proposed to combine TV regularization with l0-norm fitting in wavelet domain. In image restoration, theoretical and empirical analysis shows that the l2-norm fitting is less effective for handling the impulsive noise, while the l1-norm fitting can effectively suppress the outliers occurring in images. Thus, the l1-norm fitting is suitable for impulsive noise removal. Furthermore, it is well-known that the l1-norm for image denoising does not erode the geometrical structures of the image. These observations motivate us to propose the TVL1 wavelet inpainting model, which combines the TV regularization with the l1-norm fitting for the inpainting wavelet coefficients corrupted by impulsive noise. The difficulties are the non-differentiability of both the TV regularization and l1-norm fitting.
Many numerical methods have been proposed to solve the TV-based problems, including time marching scheme, split Bregman/Augmented Lagrangian method and primal-dual method [1,22,25,26]. Recently, Micchelli et al. [27] proposed a fixed-point algorithm based on proximity operator (FP2O) to solve the total variation based denoising model. Inspired by the proximal forward–backward splitting (PFBS) [28] and the FP2O algorithm, Chen et al. [29] have proposed a primal–dual fixed-point algorithm based on proximity operator (PDFP2O) to minimize the sum of the TV regularization and a general differentiable fitting term. Liu et al. proposed a constrained second-order total generalized variational model for image denoising and utilized the primal–dual proximity method to solve it [30]. The non-differentiable fitting term makes it difficult to solve the variational model. Many researchers tackle this problem by introducing additional quadratic terms with some auxiliary variables [31,32]. As is pointed out in [33], this type of method could be included in the framework of Moreau envelope. In this paper, we utilize the Chen et al.’s algorithm and the Moreau envelope to solve the TVL1 wavelet inpainting model approximately and give the convergence analysis of the developed iterative scheme in the framework of the PDFP2O algorithm.
This paper is organized as follows. In Section 2, we present a brief introduction of the Moreau envelope (Section 2.1) and the PDFP2O algorithm (Section 2.2). We present the wavelet inpainting variational model based on the l1-norm in Section 3.1, and its numerical scheme for the proposed model in Section 3.2. We present some numerical results for different kinds of images in Section 4. Finally, this paper is concluded in Section 5.

2. Background

In this section, we briefly review the Moreau envelope (Section 2.1) and the primal–dual fixed-point algorithm based on proximity operator (PDFP2O) (Section 2.2).

2.1. Moreau Envelope

Moreau envelope is used to smooth a non-smooth convex function. Let Γ 0 ( R N ) be the set of all proper lower semi-continuous convex functions ψ : R N ( , + ) , such that the domain d o m ( ψ ) : = { x R N : ψ < + } of ψ is nonempty. For Φ Γ 0 ( R N ) , we denote its Moreau envelope of index α at ν R N by
e n v α Φ ( ν ) = min Φ ( u ) + 1 2 α u ν 2 2 : u R N
The function e n v α Φ is still proper lower semi-continuous on R N and always differentiable with the gradient by
e n v α Φ ( ) = 1 α ( I p r o x α Φ ) ( )
where I is the identity operator from R N to R N and p r o x Φ is the proximity operator of Φ given by
p r o x Φ ( ν ) = arg min Φ ( u ) + 1 2 u ν 2 2 : u R N
Moreover, the function e n v α Φ is bounded above by Φ and converges pointwise to Φ as α 0 (Theorem 1.25 in [34]). The differentiability of Moreau envelope motivates one to smooth a non-smooth function by its Moreau envelope. For some Φ Γ 0 ( R N ) , its proximity operator p r o x Φ even has closed form.
For example, Φ ( ) = α 1 with α > 0 . Let y = p r o x Φ ( ν ) , then the i-th component of y ( i = 1 , 2 , , N ) is given by
y i = sgn ( ν i ) max | ν i | α , 0
where sgn is the sign function.

2.2. The PDFP2O Algorithm

Let f 1 Γ 0 ( R 2 N ) , f 2 Γ 0 ( R N ) and f 2 is differentiable on R N with a 1 / β -Lipschitz continuous gradient for some β > 0 . Many researchers pay more attention to an efficient algorithmic framework for the following minimization problem:
min u E ( u ) = f 1 B ( u ) + f 2 ( u )
where B R 2 N × N is the first-order difference matrix defined as follow. B R 2 N × N is described as
B = I n D D I n
where I n is the identity matrix in R n × n , D is the n × n matrix given by
B = 0 1 1 1 1 1 1
and the notation U V denotes the Kronecker product of matrices U and V . The problem (6) can be solved by the classical proximal forward–backward splitting algorithm, which can be shown by
u * = arg min u f 1 B ( u ) + f 2 ( u ) 0 ( f 1 B ) ( u * ) + f 2 ( u * ) f 2 ( u * ) ( f 1 B ) ( u * ) u * f 2 ( u * ) u * + ( f 1 B ) ( u * ) u * = I + ( f 1 B ) 1 I f 2 ( ) ( u * )
Thus, the problem (6) is equivalent to solving the fixed-point of operator I + ( f 1 B ) 1 I f 2 ( ) ( ) . Inspired by the FP2O algorithm, Chen et al. [29] proposed a primal–dual fixed-point algorithm based on proximity operator (PDFP2O) as follows:
ν k + 1 = ( I p r o x γ s f 1 ) ( B ( u k γ f 2 ( u k ) ) + ( I s B B T ) ν k ) u k + 1 = u k γ f 2 ( u k ) s B T ν k + 1
where the parameters γ , s > 0 and the variable ν could be understand as the dual variable of the primal dual formulation related to (6). The PDFP2O algorithm is convergent under some restrictions on the parameters γ and s , which can be shown by Lemma 1 (Theorem in [29]). In this paper, we utilize the PDFP2O algorithm to solve the proposed model approximately.
Lemma 1.
Suppose 0 < γ < 2 β and 0 < s < 1 / λ max ( B B T ) where λ max ( B B T ) is the largest eigenvalue of B B T . Let ( ν k , u k ) be a sequence generated by the iteration (7). Then the sequence converges u k to the minimizer of the problem (6).

3. The Proposed Model and Its Numerical Scheme

3.1. Wavelet Inpainting Variational Model Based on L1 Norm

Mathematically, image inpainting can be regarded as an ill-posed problem. This kind of problem can be solved by adding the regularization term into the variational model. Chan et al. [3] proposed the wavelet inpainting based on the total variation and the l2-norm (TVL2):
min u E ( u ) = λ u T V + 1 2 M W u f ^ 2 2
where u T V = u 1 refers to the total variation of the image, 2 is the l2-norm in R N , and λ > 0 is a scalar parameter balancing the TV regularization term and the fitting term. u T V plays the role of regularization, incorporating additional a priori knowledge into the problem to convert the ill-poised problem into a well-posed one or select one from the infinitely possible solutions. The fitting term based on l2-norm can be used to penalize inconsistency between the observed image and the estimated image. They perform well on some geometrical information and reduce Gaussian noise and other oscillations (e.g., Gibbs’ phenomenon). The experiments show that the TVL2 model can recover the missing wavelet coefficients, while preserving the geometrical features in pixel domain.
Impulsive noise often occurs in the storage or transmission of the coefficients. It could seriously affect the image quality. Thus, we should pay more attention to the impulsive noise in the processing of wavelet inpainting. The TVL2 model cannot provide desirable reconstruction result, which use the l2-norm fitting term. Many studies pay their attention to the l1-norm fitting term. Thus, it is widely used for impulsive noise removal or deblurring or both due to its distinctive and desirable features such as the contrast and edge preservation, data driven scale selection and multiscale decomposition. This consideration motivates us to propose the following TVL1 model for wavelet inpainting:
min u E ( u ) = λ u T V + 1 2 M W u f ^ 1
where 1 denotes the l1-norm in R N , λ > 0 is a scalar parameter balancing the TV regularization and the fitting term. Thanks to the properties of the l1-norm fitting term, the TVL1 model can recover a good image from the partial wavelet coefficients corrupted by impulsive noise. The TVL1 model (9) can be reformulated as
min u E ( u ) = ϕ B ( u ) + Φ K ( u )
where ϕ ( ) = λ 1 : R 2 N R , Φ ( ) =   f ^ 1 : R N R , and K = M W . Due to the non-differentiability of the fitting term in (10), the TVL1 model for wavelet inpainting is not easy to solve. In the next subsection, the Moreau envelope is applied to tackling the non-differentiability of the l1-norm, and then an iterative scheme based on the PDFP2O algorithm is presented, which is used to solve the associated problem.

3.2. Numerical Scheme for the Proposed Model

The main difficulty for the numerical treatment of the proposed model lies in non-differentiability of the fitting term. It is known that when the operator K in (10) is the identity operator in R N × N , this model becomes the TVL1 image denoising model. Various efficient numerical approaches have been proposed in the literature. However, all these approaches cannot be directly applied to solving the TVL1 model for wavelet inpainting.
Considering the non-differentiability of the function Φ and the properties of the Moreau envelope, we substitute the function Φ in (10) with its corresponding Moreau envelope. Then the modified TVL1 model is given as
min u E α ( u ) = ϕ B ( u ) + e n v α Φ ( K u )
where α > 0 is a scalar parameter determining how well the Moreau envelope approximates the function Φ (a better approximation with a smaller α ). The following proposition shows the existence of a solution to the problem (11).
Proposition 1.
For each α > 0 , let ϕ , Φ , B , K be defined in (10), then the problem (11) has at least one solution.
Proof of Proposition 1.
By the definition of e n v α Φ , we rewrite the problem as
min u , ν E α ( u , ν ) = ϕ B ( u ) + Φ ( ν ) + 1 2 α K u ν 2 2
Firstly, we show the existence of a minimizer to the function E α .
The first and second terms are obviously convex. The Hessian of
K u ν 2 2 = K 0 0 I N u v 2 2
is given by
H = K T K 0 0 I N = W T M W 0 0 I N
where T is the transpose operator and I N is the identity matrix in R N × N . H is a positive semidefinite since M is positive semidefinite. Then E α is convex. It is easy to see that E α is proper and continuous. We only need to show that it is coercive, i.e., E α ( u , v ) + as u 2 + ν 2 + . We argue by its contrapositive. Let { ( u k , ν k ) } R N × R N be a sequence such that
ϕ B ( u k ) + Φ ( ν k ) + 1 2 α K u k ν k 2 2 < +
We deduce that
ϕ B ( u k ) < +
and
Φ ( ν k ) < +
By Poincaré inequality, there exists a C > 0 independent of u k , so that
u k 2 2 C ( ϕ B ( u k ) ) < +
Moreover, (14) implies that ν k 1 ν k f ^ 1 + f ^ 1 < + . Since ν k R N for any k , there exists a C > 0 independent of ν k , so that
C ν k 2 ν k 1 < +
Therefore, u k 2 + ν k 2 + . This shows the coercivity of E α . The existence of a minimizer to E α follows.
Next, we show that if ( u , ν ) is a minimizer of E α , then ν = p r o x α Φ ( K u ) . It directly follows that
E α ( u , ν ) E α ( u , p r o x α Φ ( K u ) )
By the definition of proximity operator, we know that
Φ ( v ) + 1 2 α v K u 2 2 Φ ( p r o x α Φ ( K u ) ) + 1 2 α p r o x α Φ ( K u ) K u 2 2
which together with the last inequality implies
Φ ( v ) + 1 2 α v K u 2 2 = Φ ( p r o x α Φ ( K u ) ) + 1 2 α p r o x α Φ ( K u ) K u 2 2
Hence, v = p r o x α Φ ( K u ) .
Finally, we show that if ( u , ν ) is a minimizer of E α ( u , v ) , then u is a minimizer of E α ( u ) . Using the definition of the Moreau envelope, we have
e n v α Φ ( K u ) = Φ ( p r o x α Φ ( K u ) ) + 1 2 α p r o x α Φ ( K u ) K u 2 2
By (11), (12), and (15), we can obtain E α ( u , p r o x α Φ ( K u ) ) = E α ( u ) . By contradiction, if u is not a minimizer of E α ( u ) , then there exists a u R N , such that E α ( u ) < E α ( u ) .
E α ( u , p r o x α Φ ( K u ) ) = E α ( u ) < E α ( u ) = E α ( u , p r o x α Φ ( K u ) )
This inequality implies that E α ( u , p r o x α Φ ( K u ) ) < E α ( u , p r o x α Φ ( K u ) ) , which contradicts with the assumption that ( u , ν ) is a minimizer of E α ( u , v ) . This completes the proof. □
Many numerical methods have been proposed to solve the TV-based energy functional. In the following, we will utilize the PDFP2O algorithm to solve the proposed model (10) approximately. We have given a brief introduction to this algorithm in Section 2.2. Using Proposition 1, we obtain the numerical scheme for the modified model by the chain rule and the iteration scheme (7) as follows:
ν k + 1 = ( I p r o x λ γ s 1 ) ( B ( u k γ K T ( e n v α Φ ) ( K u k ) ) + ( I s B B T ) ν k ) u k + 1 = u k γ K T ( e n v α Φ ) ( K u k ) s B T ν k + 1
where ( u , ν ) is the transpose operator. Using the Formula (3) and the translation property of proximity operator, we have
e n v α Φ ( K u k ) = 1 α ( I p r o x α Φ ) ( K u k ) = 1 α ( I p r o x α 1 ) ( K u k f ^ )
In (16) and (17), the proximity operator p r o x ρ 1 ( ρ = α , λ γ / s ) can be explicitly computed according to the Formula (5). For simplicity of description, we introduce an intermediate variable u k + 1 2 = u k γ α K T ( I p r o x α 1 ) ( K u k f ^ ) . By (17) and u k + 1 2 , the iteration (16) can be changed into the iteration (18). The iterative of algorithm for the modified model (11) is summarized in Algorithm 1.
Algorithm 1 The numerical scheme for the proposed model
Step   1 .   Given   u 0 R N ,   ν 0 R N × N ,   α > 0 ,   0 < s < 1 / λ max ( B B T ) ,   0 < γ < 2 α ,   t o l > 0 is   a   tolerance Step 2 . while   u k + 1 u k 2 / u k 2 > t o l
u k + 1 2 = u k γ α K T ( I p r o x α 1 ) ( K u k f ^ ) ν k + 1 = ( I p r o x λ γ s 1 ) ( B ( u k + 1 2 + ( I s B B T ) ν k ) u k + 1 = u k + 1 2 s B T ν k + 1   ( 18 )
end
In the following, we give the convergence analysis of the Algorithm 1 in the framework of the PDFP2O algorithm.
Proposition 2.
Suppose 0 < γ < 2 α , and 0 < s < 1 / λ max ( B B T ) , where λ max ( B B T ) is the largest eigenvalue of B B T . Then the sequence { u k } generated by Algorithm 1 converges to a minimizer of the problem (11).
Proof of Proposition 2.
According to Lemma 1, it suffices to show that the composite function e n v α Φ K is differentiable and its gradient is 1 / α -Lipschitz continuous. By the chain rule and the differentiability of e n v α Φ , it shows that K T e n v α Φ K is 1 / α -Lipschitz continuous.
In fact, for any u 1 , u 2 R N , by Formula (16) we have
K T e n v α Φ K ( u 1 ) K T e n v α Φ K ( u 2 ) 2 = 1 α K T ( I p r o x α Φ ) K ( u 1 ) K T ( I p r o x α Φ ) K ( u 2 ) 2 1 α K T 2 ( I p r o x α Φ ) K ( u 1 ) ( I p r o x α Φ ) K ( u 2 ) 2 1 α K T 2 K ( u 1 ) K ( u 2 ) 2 1 α K T 2 K 2 u 1 u 2 2 = 1 α W T M T 2 M W 2 u 1 u 2 2 1 α W T 2 M T 2 M 2 W 2 u 1 u 2 2 1 α u 1 u 2 2
where K T 2 = sup u R N , u 2 = 1 K T u 2 , which is similar for others. The first and third inequalities follow from the fact that both K T and K are bounded linear operators, while the second inequality follows from the fact that I p r o x α Φ is a firmly non-expansive operator [28] if Φ Γ 0 ( R N ) . The last inequality holds due to M T 2 = M 2 = ρ ( M ) 1 and W T 2 = W 2 = ρ ( W T W ) = 1 , where ρ ( A ) is the spectral radius of the matrix A . This completes the proof. □
Proposition 2 implies that, for a given α > 0 , we can find a solution (denoted by u α ) to the modified TVL1 model by Algorithm 1. Since
lim α 0 e n v α Φ ( K u ) = Φ ( K u ) ,   for   all   u R N ,
the solution of the modified model with a small enough α is a good approximate solution of the original model.

4. Numerical Results

In this section, we give some numerical results to evaluate the performance of three wavelet inpainting models (TVL2, TVL0, TVL1). Three images (shown in Figure 1) are used for test, including “Lenna”, “Goldhill”, and a synthetic image. PSNR is used as a performance evaluation criterion, which is defined by
P S N R = 10 log 10 255 2 u u 0 2 2
where u 0 is the original image, u is the inpainted image.
In this paper, we apply the Daubechies 7-9 biorthogonal wavelets with symmetric extensions at the boundaries for decomposition. In all experiments, we choose ν 0 as the acquired wavelet coefficients and u 0 as the received image, which is the back projection of ν 0 . We fix s = 0.125 (see [27] for details) and γ = 1.9 α (see Proposition 1) for Algorithm 1. In the JPEG 2000 compression standard, the image is decomposed into wavelet sub-bands, and then each sub-band is divided into codeblocks. Therefore, we consider the codeblock loss of the wavelet coefficients in the experiments. For simplicity, we choose the codeblocks of 8 × 8 that randomly spread in the wavelet image as the loss mask. Recently, Wen et al. [22] proposed a primal–dual method for the TVL2 model, which is faster than the method used in [3]. Here, we employ this method to solve the TVL2 model.
The first experiment is to perform the proposed algorithm on the images whose wavelet coefficients are randomly lost but not corrupted by noise. We choose the parameter values as follows: λ = 0.1 , α = 1 for TVL1, λ = 0.1 for TVL2 and λ = 4 for TVL0 [18]; other parameter values for TVL2 and TVL0 are the same as ones in [22] and [18], respectively. We test each of the three images with their partial coefficients lost (10%, 20%, 30%). The PSNR values against the severity of the damage are shown in Figure 2. It is seen that the proposed model is superior to other models in term of PSNR. We show the received and reconstructed Lenna images in Figure 3. From their zoomed in views (Figure 4), we can see that TVL1 model gives better edge reconstruction (see the doorframes).
The second experiment is to perform the proposed algorithm and two other models on the images whose partial wavelet coefficients are randomly lost and corrupted by salt-pepper noise (a typical impulsive noise). For this case, the parameter values were chosen as follows: for TVL1, λ = 0.4 , α = 1 ; for TVL0 and TVL2, we chose the best λ from 1 to 100 with the increment of each step set to 1, while other parameter values for TVL2 and TVL0 were the same as ones in [22] and [18], respectively. Firstly, we randomly corrupted 5% of the acquired wavelet coefficients with salt-pepper noise. The three models were then applied to recovering the images from their partial wavelet coefficients. Figure 5 lists the received images and reconstructed images by the three models from 90% corrupted wavelet coefficients. We can observe that both TVL2 and TVL0 models were not able to recover the damaged coefficients properly, while TVL1 model was able to reconstruct images with sharp edges and clean geometrical shapes. We show the reconstructed images by TVL1 model with 50% wavelet coefficients lost in Figure 6, from which we can see that TVL1 model can still produce images with visually acceptable quality. Secondly, we investigate the robustness of TVL1 model against the salt-pepper noise. In addition to losing 10% coefficients randomly, we corrupt at random 30% of the acquired coefficients with salt-pepper noise. The received and reconstructed images are shown in Figure 7. We can see that TVL1 can restore partial geometrical information, while the received images are severely damaged.
The final experiment is to discuss the parameter α , which plays an important role in Algorithm 1. The value of α determines how well the Moreau envelope approximates the function Φ in (11). In the following, we experimentally investigated the performance of Algorithm 1 with different α . In this experiment, 5% of the acquired wavelet coefficients were randomly corrupted by salt-pepper noise, and 10% of corrupted coefficients were lost. The PSNR value is shown in Table 1. We can see that the solution of the modified model with a smaller α is a better approximate solution of the original model in term of objective metric (PSNR). Meanwhile, we show the plot of PSNR against CPU time for Lenna image in Figure 8. The faster convergence rate is shown with a larger α . According to the above two laws, we suggested that the researcher can make a reasonable choice according to the needs of the application.

5. Conclusions

This paper proposed the TVL1 model for inpainting wavelet coefficients corrupted by impulsive noise. The difficulty of numerical treatment lies in the non-differentiability of l1-norm fitting term. To address this problem, the l1-norm was smoothed by the corresponding Moreau envelope and then a primal–dual fixed-point algorithm based on proximity operator (PDFP2O) was applied to solving the modified TVL1 model. We considered the existence of solution for the proposed model and the convergence analysis of the developed iterative scheme in this paper. Experiment results show that this method can effectively recover incomplete wavelet coefficients with or without impulsive noise and preserve geometrical information in the pixel domain well.

Author Contributions

Conceptualization, Z.R. and Q.Z.; methodology, Z.R. and Q.Z.; software, Q.Z. and Y.Y.; validation, Z.R. and Q.Z.; formal analysis, Z.R. and Q.Z.; writing, Z.R., Q.Z. and Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the key project of science and technology research program of Chongqing Education Commission of China, grant number KJZD-K202001503, and the National Natural Science Foundation of China, grant number 62061016.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yashtini, M.; Kang, S.H. A fast relaxed normal two split method and an effective weighted TV approach for Euler’s elastica image inpainting. SIAM J. Imaging Sci. 2016, 9, 1552–1581. [Google Scholar] [CrossRef]
  2. Ning, W.; Ma, S.; Li, J.; Zhang, Y.; Zhang, L. Multistage attention network for image inpainting. Pattern Recognit. 2020, 106, 107448. [Google Scholar]
  3. Chan, T.F.; Shen, J.; Zhou, H.M. Total variation wavelet inpainting. J. Math. Imag. Vis. 2006, 25, 107–125. [Google Scholar] [CrossRef]
  4. Ballester, C.; Bertalmio, M.; Caselles, V.; Sapiro, G.; Verdera, J. Filling-in by joint interpolation of vector fields and gray levels. IEEE Trans. Image Process. 2001, 10, 1200–1211. [Google Scholar] [CrossRef] [Green Version]
  5. Li, F.; Bao, Z.; Liu, R.H.; Zhang, G.X. Fast image inpainting and colorization by Chambolle’s dual method. J. Vis. Commun. Image R 2011, 22, 529–542. [Google Scholar] [CrossRef]
  6. Chan, T.F.; Shen, J. Mathematical models for local non-texture inpaintings. SIAM J. Appl. Math 2002, 62, 1019–1043. [Google Scholar]
  7. Cai, J.F.; Chan, R.H.; Shen, Z. A framelet-based image inpainting algorithm. Appl. Comput. Harm. Anal. 2008, 24, 131–149. [Google Scholar] [CrossRef] [Green Version]
  8. Chan, R.H.; Chan, T.F.; Shen, L.X.; Shen, Z. Wavelet algorithms for high-resolution image reconstruction. SIAM J. Sci. Comput. 2003, 24, 1408–1432. [Google Scholar] [CrossRef]
  9. Huang, Y.; Ng, M.K.; Wen, Y. Fast image restoration methods for impulse and Gaussian noises removal. IEEE Signal Process. Lett. 2009, 16, 457–460. [Google Scholar] [CrossRef]
  10. Fuchs, M.; Muller, J. A higher order TV-type variational problem related to the denoising and inpainting of images. Nonlinear Anal. 2017, 154, 122–147. [Google Scholar] [CrossRef] [Green Version]
  11. Bertalmio, M.; Sapiro, G.; Caselles, V.; Ballester, C. Image inpainting. In Proceedings of the ACM SIGGRAPH, New Orleans, LA, USA, 23–28 July 2000; pp. 417–424. [Google Scholar]
  12. Chan, T.F.; Shen, J. Nontexture inpainting by curvature-driven diffusions. J. Vis. Commun. Image R. 2001, 12, 436–449. [Google Scholar] [CrossRef]
  13. Chan, T.F.; Kang, S.H.; Shen, J. Euler’s elastic and curvature-based inpainting. SIAM J. Appl. Math. 2002, 63, 564–592. [Google Scholar]
  14. Ren, Z. Adaptive active contour model driven by fractional order fitting energy. Signal Process. 2015, 117, 138–150. [Google Scholar] [CrossRef]
  15. Arias, P.; Facciolo, G.; Caselles, V.; Sapiro, G. A variational framework for exemplar-based image inpainting. Int. J. Comput. Vis. 2011, 93, 319–347. [Google Scholar] [CrossRef] [Green Version]
  16. Peyré, G.; Bougleux, S.; Cohen, L. Non-local regularization of inverse problems. Inverse Probl. Imaging 2011, 5, 511–530. [Google Scholar] [CrossRef]
  17. Jiang, L.; Yin, H. Wavelet inpainting by fractional order total variation. Multidimens. Syst. Signal Process. 2018, 29, 299–320. [Google Scholar] [CrossRef]
  18. Yau, A.C.; Tai, X.; Ng, M.K. L0-norm and Total Variation for wavelet inpainting. In Proceedings of the 2nd International Conference on Scale Space & Variational Methods in Computer Vision, Berlin/Heidelberg, Germany, 1–5 June 2009. [Google Scholar]
  19. Zhang, H.Y.; Peng, Q.C.; Wu, Y.D. Wavelet inpainting based on p-Laplace operator. Acta Autom. Sin. 2007, 33, 546–549. [Google Scholar] [CrossRef]
  20. Chan, R.H.; Yang, J.F.; Yuan, X.M. Alternating direction method for image inpainting in wavelet domains. SIAM J. Imaging Sci. 2011, 4, 807–826. [Google Scholar] [CrossRef]
  21. Zhang, X.Q.; Chan, T.F. Wavelet inpainting by Nonlocal total variation. Inverse Probl. Imaging 2010, 4, 191–210. [Google Scholar] [CrossRef]
  22. Wen, Y.W.; Chan, R.H.; Yip, A.M. A primal-dual method for total-variation-based wavelet domain inpainting. IEEE Trans. Image Process. 2012, 21, 106–114. [Google Scholar] [CrossRef]
  23. Durand, S.; Froment, J. Reconstruction of wavelet coefficients using total variation minimization. SIAM J. Sci. Comput. 2003, 24, 1754–1767. [Google Scholar] [CrossRef] [Green Version]
  24. Chan, T.F.; Zhou, H.M. Optimal Constructions of Wavelet Coefficients Using Total Variation Regularization in Image Compression; UCLA CAM Report 00-27; Department of Math. UCLA: Los Angeles, CA, USA, 2000. [Google Scholar]
  25. Wu, C.L.; Zhang, J.Y.; Tai, X.C. Augmented Lagrangian method for total variation restoration with non-quadratic fidelity. Inverse Probl. Imaging 2011, 5, 237–261. [Google Scholar] [CrossRef]
  26. Goldstein, T.; Osher, S. The Split Bregman method for L1-regularized problems. SIAM J. Imaging Sci. 2009, 2, 323–343. [Google Scholar] [CrossRef]
  27. Micchelli, C.A.; Shen, L.X.; Xu, Y.S. Proximity algorithms for image models: Denoising. Inverse Probl. 2011, 27, 045009. [Google Scholar] [CrossRef]
  28. Combettes, P.; Wajs, V.R. Signal recovery by proximal forward-backward splitting. Multiscale Model. Simul. 2005, 4, 1168–1200. [Google Scholar] [CrossRef] [Green Version]
  29. Chen, P.J.; Huang, J.; Zhang, X. A primal-dual fixed point algorithm for convex separable minimization with applications to image restoration. Inverse Probl. 2013, 29, 025011. [Google Scholar] [CrossRef]
  30. Liu, X.; Tang, Y.; Yang, Y. Primal-dual algorithm to solve the constrained second-order total generalized variational model for image denoising. J. Electron. Imaging 2019, 28, 043017. [Google Scholar] [CrossRef]
  31. Aujol, J.F.; Gilboa, G.; Chan, T.F.; Osher, S. Structure-texture image decomposition-modeling, algorithms, and parameter selection. Int. J. Comput. Vision. 2006, 67, 111–136. [Google Scholar] [CrossRef]
  32. Yang, J.; Yin, W. An efficient TVL1 algorithm for deblurring multichannel images corrupted by impulsive noise. SIAM J. Sci. Comput. 2009, 31, 2842–2865. [Google Scholar] [CrossRef]
  33. Chen, F.; Shen, S.; Xu, F.; Zeng, X. The Moreau envelope approach for the L1/TV image denoising model. Inverse Probl. Imaging 2017, 8, 53–77. [Google Scholar] [CrossRef]
  34. Rockafellar, R.T.; Wets, R.J. Variational Analysis, 3rd ed.; Springer: New York, NY, USA, 2009; p. 21. [Google Scholar]
Figure 1. Test images. (a) Lenna. (b) Goldhill. (c) Synthetic.
Figure 1. Test images. (a) Lenna. (b) Goldhill. (c) Synthetic.
Mathematics 10 02470 g001
Figure 2. PSNR comparison against the severity of damages for three images. (a) Lenna. (b) Goldhill. (c) Synthetic.
Figure 2. PSNR comparison against the severity of damages for three images. (a) Lenna. (b) Goldhill. (c) Synthetic.
Mathematics 10 02470 g002
Figure 3. 10% wavelet coefficients of Lenna are randomly lost. (a) received image. (bd) images reconstructed by TVL2, TVL0, and TVL1, respectively.
Figure 3. 10% wavelet coefficients of Lenna are randomly lost. (a) received image. (bd) images reconstructed by TVL2, TVL0, and TVL1, respectively.
Mathematics 10 02470 g003
Figure 4. Zoomed portions of the original and reconstructed Lenna. (a) original image. (bd) images reconstructed by TVL2, TVL0, and TVL1, respectively.
Figure 4. Zoomed portions of the original and reconstructed Lenna. (a) original image. (bd) images reconstructed by TVL2, TVL0, and TVL1, respectively.
Mathematics 10 02470 g004
Figure 5. 5% wavelet coefficients are corrupted by salt-pepper noise and 10% coefficients are lost. (a,e,i) received images. (b,f,j) images reconstructed by TVL2 with λ = 10. (c,g,k) images reconstructed by TVL0 with λ = 3. (d,h,l) images reconstructed by TVL1.
Figure 5. 5% wavelet coefficients are corrupted by salt-pepper noise and 10% coefficients are lost. (a,e,i) received images. (b,f,j) images reconstructed by TVL2 with λ = 10. (c,g,k) images reconstructed by TVL0 with λ = 3. (d,h,l) images reconstructed by TVL1.
Mathematics 10 02470 g005aMathematics 10 02470 g005b
Figure 6. 5% wavelet coefficients are corrupted by salt-pepper noise and 50% coefficients are lost. (ac) received images. (df) images reconstructed by TVL1.
Figure 6. 5% wavelet coefficients are corrupted by salt-pepper noise and 50% coefficients are lost. (ac) received images. (df) images reconstructed by TVL1.
Mathematics 10 02470 g006
Figure 7. 30% wavelet coefficients are corrupted by salt-pepper noise and 10% coefficients are lost. (ac) received images. (df) images reconstructed by TVL1.
Figure 7. 30% wavelet coefficients are corrupted by salt-pepper noise and 10% coefficients are lost. (ac) received images. (df) images reconstructed by TVL1.
Mathematics 10 02470 g007
Figure 8. PSNR against CPU time for Lenna image with different α .
Figure 8. PSNR against CPU time for Lenna image with different α .
Mathematics 10 02470 g008
Table 1. PSNR values for different α .
Table 1. PSNR values for different α .
α = 1α = 2α = 3α = 5α = 10
Lenna23.0723.0723.0422.9222.59
Goldhill21.6521.6521.6421.5721.26
Synthetic28.5428.4928.4128.2027.50
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ren, Z.; Zhang, Q.; Yuan, Y. A Primal–Dual Fixed-Point Algorithm for TVL1 Wavelet Inpainting Based on Moreau Envelope. Mathematics 2022, 10, 2470. https://doi.org/10.3390/math10142470

AMA Style

Ren Z, Zhang Q, Yuan Y. A Primal–Dual Fixed-Point Algorithm for TVL1 Wavelet Inpainting Based on Moreau Envelope. Mathematics. 2022; 10(14):2470. https://doi.org/10.3390/math10142470

Chicago/Turabian Style

Ren, Zemin, Qifeng Zhang, and Yuxing Yuan. 2022. "A Primal–Dual Fixed-Point Algorithm for TVL1 Wavelet Inpainting Based on Moreau Envelope" Mathematics 10, no. 14: 2470. https://doi.org/10.3390/math10142470

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop