Next Article in Journal
Piezoelectric Response of Multi-Walled Carbon Nanotubes
Previous Article in Journal
Intermetallic Growth and Interfacial Properties of the Grain Refiners in Al Alloys
 
 
Correction published on 26 May 2020, see Materials 2020, 13(11), 2436.
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Microstructure Images Restoration of Metallic Materials Based upon KSVD and Smoothing Penalty Sparse Representation Approach

1
College of Mechanical Engineering, Donghua University, Shanghai 201620, China
2
George W. Woodruff School of Mechanical Engineering, Georgia Institute of Technology, Atlanta, GA 30332-0405, USA
*
Author to whom correspondence should be addressed.
Materials 2018, 11(4), 637; https://doi.org/10.3390/ma11040637
Submission received: 27 March 2018 / Revised: 11 April 2018 / Accepted: 17 April 2018 / Published: 20 April 2018

Abstract

:
Microstructure images of metallic materials play a significant role in industrial applications. To address image degradation problem of metallic materials, a novel image restoration technique based on K-means singular value decomposition (KSVD) and smoothing penalty sparse representation (SPSR) algorithm is proposed in this work, the microstructure images of aluminum alloy 7075 (AA7075) material are used as examples. To begin with, to reflect the detail structure characteristics of the damaged image, the KSVD dictionary is introduced to substitute the traditional sparse transform basis (TSTB) for sparse representation. Then, due to the image restoration, modeling belongs to a highly underdetermined equation, and traditional sparse reconstruction methods may cause instability and obvious artifacts in the reconstructed images, especially reconstructed image with many smooth regions and the noise level is strong, thus the SPSR (here, q = 0.5) algorithm is designed to reconstruct the damaged image. The results of simulation and two practical cases demonstrate that the proposed method has superior performance compared with some state-of-the-art methods in terms of restoration performance factors and visual quality. Meanwhile, the grain size parameters and grain boundaries of microstructure image are discussed before and after they are restored by proposed method.

1. Introduction

Microstructure images of metallic materials play a significant role in industrial applications, such as metallography detection, surface topography measurement (STM), and micro-electro mechanical manufacturing (MEMM) [1,2,3], etc. However, the raw microstructure images are easily contaminated on their acquisition, storage, and transmission, which degrade the fidelity of the microstructure image. Further, in most cases, images re-acquisition is not possible in practice, as such damaged images are not suitable for subsequent processing [4,5].
Image restoration is an effective technique for recovering incomplete or damaged images approximate to the ideal images. Up to now, various image restoration strategies have been proposed, which can be classified into several categories: (i) Time domain analysis methods, such as adaptive filter denoising (AFD) [6,7]; (ii) Frequency domain analysis methods, such as wavelet–wavelet packet denoising (W-WPD) technique [8,9]; (iii) Data-driven approaches, such as partial differential equation (PDE) [10,11,12,13], and wavelet hidden Markov random field (WHMRF) [14]; (iv) Sparse representation (SR) techniques, such as redundant dictionary and non-convex penalty regularization [15,16,17,18], etc. Although the damaged images can be restored more precisely by the above methods, the drawbacks are also obvious. For example, the adaptive filter denoising method can achieve a good denoising effect under low noise level, but the denoising effect will be greatly reduced with the noise increases. The W-WPD can improve the quality of image, but some artifacts (e.g., ambiguity points) might be generated along with the reconstruction process. The main shortcomings, including optimal parameter selection and high computation cost, still remain unsolved in data-driven approaches. For the WHMRF method, it is difficult to flexibly integrate the spatial quantitative relation (between the damaged pixel point and its neighbor points) into the restoration model [19].
Today, SR techniques are based on the principle that an image can be sparsely represented in a time domain or frequency transform domain, where each image block could be reconstructed by sparse reconstructing algorithms. The core idea behind SR is how to represent the images more sparsely in the time/frequency transform domains, usually, the most common methods focus on the establishment of redundant multiscale transform and redundant dictionary. For example, in ref. [20], the curvelet transform is proposed to denoise the white noise, which exhibits higher perceptual quality than wavelet-based reconstructions. In ref. [21], the edge detection and fuzzy clustering algorithm are combined to preserve the edges of synthetic aperture radar (SAR) despeckling in translation-invariant second-generation band-wavelet transform (TIBT) domain. In ref. [22], to address the image denoising problem, the over-complete discrete cosine transform (DCT) dictionary, global trained dictionary, and K-means singular value decomposition (KSVD) dictionary, were proposed.
Another core point of the SR is reconstruction algorithm. Generally, image restoration is an inverse problem, in which the ideal images could be approximatively estimated from the noisy images. The difficulty knot of image restoration is that the inverse problems are often ill-posed (or non-deterministic polynomial-time hard, NP-hard). In traditional sparse representations, most of the methods are applied based on regularization-based technique, for example, matching pursuit (MP) [23], orthogonal matching pursuit (OMP) [24], and compressive sampling matching pursuit (CoSaMP) [25], some regularization models, such as total variation regularization function (TVRF) [26], sparse non-local regularization (SNLR) [27,28], etc. However, the traditional sparse representation methods may cause instability and obvious artifacts in the reconstructed images, especially for the restoration of microstructure image that include some smooth regions and multi-boundary and fine-textures, or when the noise level is strong.
To address the above issues in SR and exploit the spatial information of microstructure images, in this paper, a novel image restoration method based upon smoothing penalty sparse representation (SPSR) and adaptive over-complete KSVD dictionary is proposed for microstructure image of metallic materials, taking aluminum alloy 7075 (AA7075) material as an example. The nonconvex penalty regularization is introduced to address the image inverse problem mentioned above, and the success rate will be improved greatly in image reconstruction. Moreover, unlike the common procedure used in refs. [29,30], in which the sparse transform basis was used for measuring the image sparsity, this paper utilizes over-complete dictionary (e.g., trained KSVD dictionary) to promote the image sparsity under the given redundant system. The simulation and experimental results show the superiority of the proposed method compared with some state-of-the-art methods, such as wavelet packet method, the discrete cosine transformation (DCT) combined with OMP method, and the KSVD dictionary combined with OMP method, respectively. Meanwhile, the comparison results of grain parameters, such as grain diameter (mean), grain area (polygon), grain perimeter (ratio), etc., are also discussed in detail before and after processing based on the proposed method.
For the applicability of the proposed method, generally, a microstructure image is used that exhibits a lamellar (plate-like) structure or a structure that exhibits twinning, which can be divided into two kinds of regions: one is the image blocks containing lamellar (plate-like) structure and boundaries in structure regions, etc., and the other is the image blocks that distributed in smooth regions. Correspondingly, the optimization expression of the sparse representation method usually includes a likelihood part and prior knowledge part, furthermore, the external noise will play a critical role in smooth regions during image restoration, and its effect is relatively weak in structured regions, where there is a strong similarity between the two blocks, due to the pixel values being similar in smooth regions, and if the noise level is strong, the information characteristics of external noise in smooth regions might be regarded as structural information in sparse coefficients, wherein the classical optimization approach might remove the inveracious structure information that failed, leading to instability and obvious artifacts on the reconstructed image. For the proposed method, on the one hand, before the reconstruction algorithm is implemented, the information of lamellar (plate-like) structure and boundaries could be represented in over-complete KSVD trained dictionary, on the other hand, the prior knowledge part is improved by introducing a smoothing parameter, and the likelihood part is also improved via a regularization weight, therefore, the noise distributed in structure regions and smooth regions could be denoised adaptively, especially for the noise points hidden in the smooth regions.
The main contributions of this paper are summarized as follows:
(1)
The dictionary training algorithm, namely KSVD, is introduced, while the detailed structure information, such as lamellar (plate-like) structure and boundaries, could be represented accurately.
(2)
The smoothing parameter and regularization weight are designed based upon the traditional sparse representation method, and the noise distributed in structure regions and smooth regions could be denoised adaptively.
(3)
The grain parameters, such as grain diameter (mean), grain area (polygon), grain perimeter (ratio), etc., are discussed before and after they are processed by the proposed method, and the structural information that used for industrial applications, such as metallography detection, micro-electro mechanical manufacturing (MEMM) could be clearly isolated, which may open up a new field of application of material microstructure to industry.
The layout of this paper is organized as follows. Section 2 describes the algorithms of sparse representation and KSVD. Section 3 introduces smoothing penalty sparse representation (SPSR) algorithm, and its derivation and parameter selection, etc. In Section 4, the simulation and experimental results of the proposed method are presented with other approaches. Conclusions are shown in Section 5.

2. Sparse Representation and KSVD Algorithm

2.1. The Review of Sparse Representation (SR)

Generally, the image degradation process can be described by a degradation matrix R as follows:
y = R x + n
where y is the damaged image, x is the latent ideal image and n is external noise. Usually, image x is assumed to be K-sparse, i.e., which having K non-zero components (the pixel value of the measurement matrix in the damaged area is 0, in contrast, undamaged area is 1).
According to the framework of compressed sensing (CS) [31,32], a discrete 1-D signal with limited length x0 that can be represented in the domain φ = [ φ 1 , φ 2 , , φ N ] ,
x 0 = i = 1 N φ i α i = φ α
where α is the transformation coefficients of signal x in domain φ . Usually, the commonly used sparse transformation base φ includes discrete wavelet transform (DWT) basis, discrete cosine transform (DCT) basis, Gabor basis and curvelet basis, etc. [33]. Further, if the 1-D discrete signal is expanded into 2-D image, i.e., x 0 x , Equation (1) can now be rewritten as follows:
y = R x + n = R φ α + n = A α + n
where A = R φ denotes sensing matrix. Here, Candes et al. [32,34,35] showed that the Equation (3) can only be solved when the sensing matrix A satisfies the conditions of incoherence or restricted isometry property (RIP), where the RIP is given by
( 1 δ ) α 2 A α 2 ( 1 + δ ) α 2
where parameter δ controls the level of data discrepancy based on an estimation of the noise variance. Usually, the common measurement matrix includes Gaussian random matrix (GRM), local Fourier matrix (LFM) and local Hadamard matrix (LHM), etc.

2.2. KSVD Algorithm

To enhance the sparsity of the damaged image, in this section, the adaptive over-complete dictionary is employed to substitute the traditional sparse transform basis, that is, the image blocks will be represented by trained KSVD method [36], i.e., A = R D . It should be noted that the matrix A may not satisfy the RIP criterion, due to the over-complete dictionary D; to address this issue, the mutual coherence technique [37] is applied to substitute the matrix A, i.e.,
μ ( A ) = max i j | < α i , α j > | α i 2 α j 2 , i , j = 1 , 2 , , K
where α i and α j are the i-th and j-th column in matrix A, respectively. The adaptive over-complete KSVD dictionary method is designed as follows [16,36]:
Step (1). Dictionary initialization. Suppose that D n × k ( k < < n ) is the over-complete dictionary, for example, over-complete discrete cosine transform (DCT) dictionary.
Step (2). Dictionary presentation. Suppose that D n × k ( k < < n ) is the over-complete DCT dictionary, Y = { y i } i = 1 N is a N-training samples set and X = { x i } i = 1 N is a solution vectors set of Y, hence,
min D , X Y D X F 2 ,   s .   t . ,   i , x i 0 T 0 ,   i = 1 , 2 , , N
where T0 is the maximum value of nonzero vector in sparse coefficients and F is Frobenius norm.
Step (3). Dictionary updated. Assume that d k refer to the k-th column of the pending update dictionary, then Equation (6) equivalent to
Y D X F 2 = ( Y j k K d k x T j ) d k x T k F 2 = E k d k x T k F 2
where Ek represents pre-computed error matrix, x T k represents the k-th row of X which actually gives the sparse coefficients or weights of d k . For the purpose of singular value decomposition (SVD), four parameters are defined as follows:
{ ω k = { i | 1 i K , x T k ( i ) 0 } , x R k = x T k Ω k , Y k R = Y Ω k , E k R = E k Ω k ,
where Ω k is a matrix with size N × | ω k | . The parameter Y k R includes a subset of the samples that are currently using d k element, E k R represents error columns that correspond to samples that using d k element, respectively. Returning to the objective Equation (7), it can be rewritten as
E k Ω k d k x T k Ω k F 2 = E k R d k x R k F 2
Step (4). Singular value decomposition. The Ek is decomposed by SVD method, i.e., E k = U Δ V T , d k is the first column updated by d k in U, then the second column will be updated successively until the last column, otherwise, go back to step (3), and the new trained dictionary D will be finally obtained.

3. Smoothing Penalty Sparse Representation (SPSR)

It should be noted that y = A α + n belongs to a highly underdetermined equation (HUE) [38,39], there are infinite set of solutions. The problem of image reconstruction by sparse representation under residual error constraint can be calculated by
α ~ = arg min α 0 ,   s .   t . ,   A α y 2 2 c
where c is a threshold of the residual error. Moreover, the prior knowledge of the original image is usually utilized to regularize the solution under residual error constraint is expressed as
α ~ = arg min A α y 2 2 + λ ζ ( x )
where λ is regularization weight and ζ ( x ) regularization term. From the perspective of Bayesian estimation, the A α y 2 2 and ζ ( x ) can be viewed as the likelihood part and prior knowledge part, respectively. Therefore, the ζ ( x ) prior knowledge plays a significant role in image restoration based on sparse representation. For a microstructure image, it can also be divided into two types: the first is the image blocks containing details, boundaries, and singular points, and the second is the image blocks located in smooth regions. For the former, the details, boundaries, and singular points that determine the similarity between two blocks, and the influence of external noise, is relatively weak. However, in smooth regions, there is a strong similarity between the two blocks due to the pixel values being similar; here the influence of external noise will play a critical role in image restoration. If the noise level is strong, the information of noise in smooth regions is regarded as structural information in sparse coefficients. Meanwhile, the classical optimization approaches and regularization approaches cannot remove the false structural information contained in the sparse coefficients, and the traditional methods may cause instability and obvious artifacts in the reconstructed images.
To overcome the above issue, inspired by the ideas of the unconstrained low-rank matrix recovery in refs. [40,41,42] that have been implemented in the compressed sensing field [31,32,33], a novel smoothing penalty sparse representation (SPSR) method is introduced, which is different from the ones studied in [40,41,42] where a uniform random matrix (i.e., the entries of the matrix are random variables with uniform distribution) was used. In this work, the matrix is obtained via the mutual coherence technique [37] and over-complete KSVD dictionary that satisfies the RIP criterion. The objective function is as follows,
L q ( α , ε , λ ) = j = 1 N [ α j 2 + ε 2 ] q / 2 + 1 2 λ A α b 2 2
where q is regular operator, ε ( ε > 0 ) is smoothing parameter, λ ( λ > 0 ) is penalty parameter, and b is measurement vector. It should be mentioned that the smoothing parameter ε ( ε > 0 ) plays a critical role in image restoration in terms of smooth regions. The detailed updated procedures of the proposed Algorithm 1 are as follows:
Algorithm 1. The smoothing penalty sparse representation algorithm.
SPSR (0 < q ≤ 1) algorithm:
Input: Matrix A, measurement vector b, estimated sparsity level s.
Output: Recovery vector α ;
(1) Choose appropriate parameters λ ( λ > 0 ) , q (0 < q ≤ 1);
(2) Initialize α ( 0 ) , such that A α ( 0 ) = b , and set ω ( 0 ) = e 0 and ε 0 = 1 ;
(3) For k = 0;
(4) Solve the following linear system for α ( k ) ,
[ q α ( k + 1 ) [ i ] ( ε k 2 + α ( k ) [ i ] 2 2 ) 1 q 2 ] 1 i M + 1 λ A T ( A α ( k + 1 ) b ) = 0
Or
( A T A + d i a g ( q λ ( ε k 2 + α ( k ) [ i ] 2 2 ) 1 q 2 ) 1 i M ) α ( k + 1 ) = A T b
(5) When α ( k ) meet the reconstruction accuracy, α ( k ) as the output value assigned to α , meanwhile end to this algorithm, otherwise execute next steps.
(6) Let β is a constant, where ( 0 < β < 1 ) , update ε k + 1 = min { ε k , β r ( α ( k + 1 ) ) s + 1 / M } , where r ( α ) represents the rearrangement of absolute values of r ( α ( k + 1 ) ) in the decreasing order, and r ( α ) s + 1 is the (s + 1)th component value of r ( α ) . Note that, if ε k + 1 = 0 , choose α ( k + 1 ) to be an approximation of sparse solution and stop this iteration.
(7) Let k = k + 1, and return to Step (4) to continue.
End
For the SPSR method, the following theorem summarizes the results for 0 < q ≤ 1, thus, we have the following theorem which can prove the above proposed algorithm.
Theorem 1.
Error estimation theorem [43]. Suppose that x0 is s-sparse signal which satisfies Ax0 = b. The smooth parameter ε k ε with k . Matrix A satisfies the RIP of order 2s with δ 2 s < 1 , when ε > 0 , the sequence {x(k)} has at least one convergent subsequence. Suppose that the limit ε k = ε is a local optimal solution for Equation (12), we have,
x ε x 0 2 C 1 λ + C 2 δ s ( x ε ) 2
where δ s ( x ε ) 2 is the approximate error of x ε , which satisfies δ s ( x ε ) 2 = inf y 2 , 0 s x ε y 2 . For the special case, when ε = 0 , there must exist a convergent subsequence converging to point x0, it satisfies,
x 0 x 2 C 3 λ
where C1, C2 are C3 are independent positive constants. To prove the theorem 1, the following two lemmas (i.e., lemma1 and lemma 2) [40,41] are required..
Lemma 1
[40,41]. For all x , y R N and 0 < q ≤ 1, if ε k ε k + 1 0 , it satisfies,
( ε k 2 + x 2 2 ) q 2 ( ε k + 1 2 + y 2 2 ) q 2 q y T ( x y ) ( ε k 2 + x 2 2 ) 1 q 2 q x y 2 2 2 ( ε k 2 + x 2 2 ) 1 q 2
Proof 
[40,41]. According to arithmetic-geometric mean inequality [44], i.e.,
( ε k 2 + x 2 2 ) 1 q 2 ( ε k + 1 2 + y 2 2 ) q 2 ( 1 q 2 ) ( ε k 2 + x 2 2 ) + q 2 ( ε k + 1 2 + y 2 2 )
Then we compute,
( ε k 2 + x 2 2 ) q 2 ( ε k + 1 2 + y 2 2 ) q 2 q y T ( x y ) ( ε k 2 + x 2 2 ) 1 q 2 = ( ε k 2 + x 2 2 ) ( ε k 2 + x 2 2 ) 1 q 2 ( ε k + 1 2 + y 2 2 ) q 2 q y T ( x y ) ( ε k 2 + x 2 2 ) 1 q 2 ( ε k 2 + x 2 2 ) ( 1 q 2 ) ( ε k 2 + x 2 2 ) q 2 ( ε k + 1 2 + y 2 2 ) q y T ( x y ) ( ε k 2 + x 2 2 ) 1 q 2 = q 2 ε k 2 ε k + 1 2 + ( x y ) 2 ( ε k 2 + x 2 2 ) 1 q 2 q 2 ( x y ) 2 ( ε k 2 + x 2 2 ) 1 q 2
This completes the proof of Lemma 1. ☐
Lemma 2
[40,41]. Let L q ( x , ε , λ ) = j = 1 N [ α j 2 + ε 2 ] q / 2 + 1 2 λ A α b 2 2 , if be the solution of L q ( x , ε , λ ) for k = 0, 1, 2, … N, then,
A x ( k ) A x ( k + 1 ) 2 2 2 λ ( L q ( x ( k ) , ε k , λ ) L q ( x ( k + 1 ) , ε k + 1 , λ ) )
Furthermore,
x ( k + 1 ) x ( k ) 2 2 C 4 ( L q ( x ( k ) , ε k , λ ) L q ( x ( k + 1 ) , ε k + 1 , λ ) )
where C4 is an independent positive constant.
Proof 
[40,41]. We first compute the following formula,
L q ( x ( k ) , ε k , λ ) L q ( x ( k + 1 ) , ε k + 1 , λ ) = j = 1 N ( ε k 2 + | x j ( k ) | 2 ) q 2 j = 1 N ( ε k + 1 2 + | x j ( k + 1 ) | 2 ) q 2 + 1 2 λ ( A x ( k ) b 2 2 A x ( k + 1 ) b 2 2 ) = j = 1 N ( ε k 2 + | x j ( k ) | 2 ) q 2 ( ε k + 1 2 + | x j ( k + 1 ) | 2 ) q 2 + 1 2 λ A x ( k ) A x ( k + 1 ) 2 2 + 1 λ ( A x ( k + 1 ) b ) T ( A x ( k ) A x ( k + 1 ) )
According to [ q α ( k + 1 ) [ i ] ( ε k 2 + α ( k ) [ i ] 2 2 ) 1 q 2 ] 1 i M + 1 λ A T ( A α ( k + 1 ) b ) = 0 , we have
1 λ ( A x ( k + 1 ) b ) T ( A x ( k ) A x ( k + 1 ) ) = j = 1 N q x j ( k + 1 ) ( x j ( k ) x j ( k + ! ) ) ( ε k 2 + | x j ( k ) | 2 ) 1 q 2
Using Lemma 1 and substituting Equation (20) to Equation (19), we have
L q ( x ( k ) , ε k , λ ) L q ( x ( k + 1 ) , ε k + 1 , λ ) = j = 1 N { ( ε k 2 + | x j ( k ) | 2 ) q 2 ( ε k + 1 2 + | x j ( k + 1 ) | 2 ) q 2 q x j ( k + 1 ) ( x j ( k ) x j ( k + ! ) ) ( ε k 2 + | x j ( k ) | 2 ) 1 q 2 } + 1 2 λ A x ( k ) A x ( k + 1 ) 2 2 1 2 λ A x ( k ) A x ( k + 1 ) 2 2 + j = 1 N ( x j ( k ) x j ( k + 1 ) ) 2 q 2 ( ε k 2 + | x j ( k ) | 2 ) 1 q 2
From the result of Equation (21), the Equation (17) can be calculated.
It should be noted from Equation (17) that the L q ( x ( k ) , ε k , λ ) is monotonically decreasing sequence, hence,
x ( k ) q q x ( k ) q , ε k q L q ( x ( k ) , ε k , λ ) L q ( x ( 0 ) , ε 0 , λ ) = x ( 0 ) q , ε 0 q
for all k ≥ 1 and 1 ≤ in, there exists a positive number β which satisfies x ( k ) β , hence
q 2 ( ε k 2 + | x j ( k ) | 2 ) 1 q 2 q 2 ( ε 0 2 + β 2 ) 1 q 2
Let 1 C 4 = q 2 ( ε 0 2 + β 2 ) 1 q 2 , and the Lemma 2 is proved conclusively. ☐
Herein, combining the above inequalities in Lemma 1 and Lemma 2, the Theorem 1 can be proved ultimately, for simplicity, the detailed proof process was omitted. In the next section, the choice of regular operator q will be discussed in detail via a simulation experiment.
For the choice of regular operator q (0 < q ≤ 1), let q varying among {0.1, 0.5, 0.7, 1}. Firstly, the matrix A is designed by rand-function rand(64, 256) in MATLAB, and the initialization signal x 0 has t non-zero narrow impulses that subject to the standard Gaussian distribution (SGD), the locations of non-zeros are uniformly and randomly generated, and t, varying among {8, 10, 12, …, 32}. The penalty parameter λ = 10 6 is small enough to approximately enforce A x = A x 0 and δ = 0.09 , which is measured over 100 times in terms the perfect reconstruction. Taking the SPSR algorithm iterative 1000 times, if the recovery error satisfies x r x 0 2 / x 0 2 10 3 , the iteration is stopped, where x r stands for a recovered vector. The recovery algorithm is SPSR method (q ∈ {0.1, 0.5, 0.7, 1}), the recovery success rate curve of different. q with sparsity is shown in Figure 1. From Figure 1, it can be seen that q = 0.1, q = 0.5 performed better than q = 0.7 and much better than q = 1. Moreover, q = 0.5 gives a higher success than q = 0.1 slightly. We emphasize that our results do not counter the intuition that a smaller q should recover more sparse vectors. Generally, a smaller q value makes the minimizing functional more non-convex, but more difficult to solve. In addition, in this algorithm, it has been discovered that if smoothing parameter ε decreased slowly, the performance of q = 0.1 reach further improved. However, the running time with q = 0.1 also became much longer. For example, in this simulation, the execution time of parameter q = 0.5 is 4.4550 s, and execution time of q = 0.7 and q = 1 are 5.7359 s and 8.6348 s, respectively, but the execution time of q = 0.1 is 9.4643 s, it should be noted that the execution time becoming longer when parameter q is selected smaller.

4. Case Verifications and Disscussion

In order to quantitatively calculate restoration effect, three restoration performance standards (RPSs) are employed for comparison, i.e., the normalized mean-square error (NMSE), peak signal-to-noise ratio (PSNR), and structural similarity (SSIM), respectively. It should be noted that the PSNR reflects the approximation degree between the recovered image and original image, and the SSIM reflects the similarity degree between the recovered image and original image. Three RPSs are defined as
N M S E = [ x x ] 2 [ x x ¯ ] 2
P S N R = 20 × lg 255 2 x x 2 2
where x is an original image and x is a recovered image.
S S I M = ( 2 μ x μ x + c 1 ) ( 2 σ x , x + c 2 ) ( μ x 2 + μ x 2 + c 1 ) ( σ x 2 + σ x 2 + c 2 )
where μ is the mean of image, σ is variance or covariance, c1 and c2 is the small constant which can enhance the stability of calculation results, respectively.
In the following experiments, the microstructure image is divided into 8 × 8 blocks. The DCT dictionary is used as initial dictionary, and KSVD is used as dictionary training algorithm, then the damaged microstructure images are applied as training samples. The KSVD dictionary training parameters setting is shown in Table 1.

4.1. Simulation Case of Aluminum Alloy 7075 Material

To verify the superiority of proposed SPSR (q = 0.5) approach, an ideal microstructure orientation image of aluminum alloy 7075 material is generated by cellular automaton simulation (CAS) method [45,46], see Figure 2, Figure 2a is the ideal color image, and Figure 2b is the grayscale image, respectively. The artificial Gaussian noises are added in the ideal microstructure image, and Figure 3 presents the visual quality of the reconstructed images based on wavelet packet and SPSR (here, q = 0.5) algorithms when the noise level is fixed on 0.1, 0.5, 0.8, and 1.0, respectively. It can be seen from Figure 3 that the proposed SPSR (q = 0.5) method clearly provides a significant improvement to the fidelity of the resultant image (see the 4th column). The wavelet packet method is also applied to process the noisy orientation image (see the 3rd column), and provides some improvement, but not nearly as dramatic as that achieved with the SPSR method. More importantly, as we can see, the proposed SPSR method achieves a significantly better visual quality than wavelet packet method in smooth regions.
Table 2 shows quantitative results of the restoration performance standards (RPSs) obtained for the images shown in Figure 3. It can be see that the wavelet-packet method does provide a moderate improvement particularly at the higher noise levels as evidenced by Figure 3. Further, as the images show as well, the SPSR (q = 0.5) method provides much more significant improvement in RPSs. It should be noted that adding more noise to the orientation image lead to much higher NMSE, lower PSNR and SSIM, and the data did not follow the expected trend, likely due to so many missing points.
In the next two sections, two kinds of damaged aluminum alloy 7075 (AA7075) orientation images are investigated. The first damaged image is contaminated, due to the charged particles and dust that exists in the electron back-scattered diffraction (EBSD) system, which is artificially contaminated via adding Gaussian and impulse noises. The second damaged image is a low-pixel (or low-resolution) image that is contaminated due to the thicker contamination membrane residues on the sample surface, which is artificially contaminated via pixel masking operation. The orientation images were acquired by the Oxford Instruments AZtecHKL EBSD system (see open website www.ebsd.cn). Orientation images were collected and recorded at 114 × 114 pixel. The Hough was run on the patterns after compression to 96 × 96 pixels with a 9 × 9 convolution mask, 1° theta step size, and searching for a maximum of 10 peaks.

4.2. Experimental Case 1

The initial DCT dictionary of the first damaged image and the over-complete dictionary that was trained by KSVD algorithm are shown in Figure 4a,b, respectively. It is obvious that the structure of KSVD dictionary is more abundant than the DCT dictionary, the reason is that the KSVD dictionary fully reflects the detailed structure characteristics of the image, equivalently, the KSVD dictionary can precisely represent the sparse characterization of block sub-image.
Figure 5a,b are the color damaged image and its grayscale image. The reconstructed results generated by wavelet packet method, the DCT combined with OMP method (namely DCT + OMP), the KSVD combined with OMP method (namely KSVD + OMP), and the proposed method (namely KSVD + SPSR, q = 0.5) are illustrated in Figure 5c, Figure 5d, Figure 5e, and Figure 5f, respectively. From Figure 5c–f, it can be observed that all the reconstruction methods are able to reasonably recover the damaged image.
The quantitative RPSs between the actual and recovered image based on the above methods are summarized in Table 3. In this work, due to the ideal image being unknown, the above RPS results are designed based on damaged and recovered image, therefore, it should be noted that the larger the value of NMSE, the smaller the values of PSNR and SSIM, and the more accurate of restoration effect.
Form Table 3, it is clear that the proposed approach achieves better restoration result than other methods. In the smooth regions, through the proposed approach, one can find that the clarity and fidelity of image grain-boundary are enhanced significantly, and the influence of the speckle noise is reduced greatly.
Furthermore, to explore the grain distribution and its statistical result before and after restoration, the maximum entropy threshold segmentation (METS) algorithm [47] is introduced in Figure 5b,f, respectively. The segmentation effect and grain number tags created by image pro-plus software [48] are shown in Figure 6 and Figure 7, respectively. It is obvious that breakpoints of segmentation curves in Figure 7a are less than Figure 6a, and the number of grains in Figure 7b is more than Figure 6b.
Table 4 summarizes the statistical results of grain size, which consists of grain diameter (mean), grain area (polygon) and grain perimeter (ratio). It can be seen that the sample number is 64 before being restored, and it has increased rapidly to 232 after being restored by the proposed method; this is because more grains are calculated, due to the sealing character of the segmentation curves in Figure 7b.
Figure 8 illustrates the histogram distribution of grain diameter, and Figure 9 shows the relationship between the grain diameter and grain area before and after being restored, respectively. From Figure 8a, it should be noted that the grain number is not counted when the grain size larger than 10 microns, because most of the grain boundaries are broken in the original damaged image, and only some continuous grains will be counted by the image pro-plus software; on the contrary, the grain can be calculated easily based upon the proposed method. From the results shown in Figure 9, the correlation value is 0.5537 in Figure 9a, and Figure 9b is 0.8086. From the scatter diagram of grain diameter (mean) after being restored by proposed method, it can be seen that the minimum value of the grain diameter (mean) is 2.868 μm, and grain area is 10.04 μm2, and most of the grains with diameters below 10 μm can be detected. It is proven that the grain distribution in Figure 6b is more dispersed than Figure 7b. Overall, it concluded from the experiments that, by both visual comparison and statistical assessment, the proposed method shows better restoration performance compared with some state-of-the-art methods.

4.3. Experimental Case 2

For the low pixel (or low resolution) image, usually, in the engineering application, it is difficult to test the metal macro-mechanical property based on the existing grain boundary and dislocation orientation. Similar to the above experimental steps, the KSVD algorithm is applied to the DCT initial dictionary, and the training parameter setting coincided with Table 1. The DCT dictionary and trained KSVD dictionary are presented in Figure 10a and Figure 10b, respectively.
Figure 11a,b are color-damaged image and its grayscale image. The comparison results of the wavelet packet, the DCT + OMP, the KSVD + OMP, and the proposed methods, are illustrated in Figure 11c, Figure 11d, Figure 11e, and Figure 11f, respectively. Three RPSs are displayed in the Table 5. Unfortunately, from Figure 11c and Table 5, it is obvious that the grain boundaries in recovered images are more unclear than the damaged image, based on the wavelet packet method. As shown in the close-up views of Figure 11d,e, KSVD + OMP leads to better restoration of edges and fewer artifacts than DCT + OMP, that is, because the KSVD dictionary contains more detailed structural information than the DCT dictionary. More importantly, the proposed algorithm still outperforms the other three methods; as demonstrated in Figure 11f, the number of black artifacts is reduced dramatically by the proposed method, and the grain boundaries of multi-regions become more legible.
Furthermore, in order to discuss the restoration effect on grain boundary, the image segmentation and edge detection methods are applied on Figure 11b,f. Figure 12 shows the comparison of grain boundaries for the second damaged image. As illustrated in Figure 12a, the grain boundaries with small size (see the red circle) are still relatively obscure, and the grain number cannot be estimated accurately. After recovery via the proposed algorithm, the grain boundaries and grain number have a greater improvement, and are increasing. Compared with Figure 12a, it should be noted from Figure 12b that a larger number of continuous lamellar (plate-like) structures are recovered, and some breakpoints are reconnected by the proposed method, image segmentation, and edge detection method, meanwhile, the grain number will be increased via the image pro-plus software. Due to that the ideal microstructure image is unknown, comparing Figure 11 and Figure 12, some data that may not show in ideal microstructure image might be created (thus over-correcting), this phenomenon might be improved by adjusting parameter q. Generally, for the SPSR method, the reconstruction effect and sharpness degree will be further improved when the regular operator q that is selected is much smaller, such as q = 0.1. However, the running time with q = 0.1 also became much longer. In this work, the regular operator q is selected to 0.5, as one can find in Table 5, that the running time of the proposed method (3371.2670 s) is much longer than wavelet packet (0.4969) and other sparse representation methods (DCT + OMP is 165.4376 s, and KSVD + OMP is 2928.2968 s) due to dictionary training and its iteration operations, thus, the faster calculation method based on adaptive selection method of regular operator q will be explored in future studies for eliminating the drawback of over-correcting.

5. Conclusions

To address the image restoration problem, a new image reconstruction technique for microstructure image based on KSVD and smoothing penalty sparse representation (SPSR) algorithm is proposed in this paper. In image sparse representation, traditional orthogonal basis functions are replaced by trained KSVD dictionary, and the trained KSVD dictionary represents the sparse characterization of block sub-image probably due to the traditional sparse representation methods that may cause instability and obvious artifacts in the reconstructed image, especially for the restoration of microstructure images, including some smooth regions, or when the noise level is strong. The proposed algorithm can overcome the above issues, which improves the reconstruction accuracy significantly. Moreover, the damaged microstructure image usually brings statistics missing in the analysis of microstructure grain parameters, and the proposed method can effectively address this drawback, which has a high engineering application value in metal materials, manufacturing, and microstructure fields.
Although the proposed method improves the reconstruction quality significantly, it still needs future improvements, where the complexity level and computational time of the proposed approach is rather high, due to dictionary training and its iteration operations. It is suggested that faster calculation methods will be explored in future studies.

Acknowledgments

This research is funded by the Fundamental Research Funds for the Central Universities (Grant No. CUSF-DH-D-2017059 and BCZD2018013) and the Research Funds of Worldtech Transmission Technology (Grant No. 12966EM). The authors wish to express their sincere gratitude for those support.

Author Contributions

Conceptualization, formal analysis, investigation and writing the paper was done by Qing Li. Review and suggestion were provided by Steven Y. Liang. All authors have read and approved the final manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

yDamaged image
xLatent ideal image
nExternal noise
RDegradation matrix
φ Transformation domain
α Transformation coefficients
x 0 1-D discrete signal
ASensing matrix
DOver-complete dictionary
dkThe k-th column of the pending update dictionary
EkPre-computed error matrix
Ω k Matrix with size N × | ω k |
E k R Error columns
λ Regularization weight
ζ ( x ) Regularization term
qRegular operator
ε Smoothing parameter
sEstimated sparsity level
bMeasurement vector
βConstant
C1, C2, C3Independent positive constants
KSVDK-means singular value decomposition
SPSRSmoothing penalty sparse representation
AA7075Aluminum alloy 7075
STMSurface topography measurement
MEMMMicro-electro mechanical manufacturing
AFDAdaptive filter denoising
W-WPDWavelet–wavelet packet denoising
PDEPartial differential equation
WHMRFWavelet hidden Markov random field
SRSparse representation
SARSynthetic aperture radar
TIBTTranslation-invariant second-generation band-wavelet transform
DCTDiscrete cosine transform
NP hardNon-deterministic polynomial-time hard
MPMatching pursuit
OMPOrthogonal matching pursuit
CoSaMPCompressive sampling matching pursuit
TVRFTotal variation regularization function
SNLRSparse non-local regularization
CSCompressed sensing
DWTDiscrete Wavelet transform
RIPRestricted isometry property
GRMGaussian Random matrix
LFMLocal Fourier matrix
LHMLocal Hadamard matrix
HUEHighly underdetermined equation
SGDStandard Gaussian distribution
RPSsRestoration performance standards
NMSENormalized mean-square error
PSNRPeak signal-to-noise ratio
SSIMStructural similarity
CASCellular automaton simulation
EBSDElectron back-scattered diffraction
METSMaximum entropy threshold segmentation

References

  1. DeCost, B.L.; Francis, T.; Holm, E.A. Exploring the microstructure manifold: Image texture representations applied to ultrahigh carbon steel microstructures. Acta Mater. 2017, 133, 30–40. [Google Scholar] [CrossRef]
  2. Alleso, M.; Holm, P.; Carstensen, J.M.; Holm, R. Quantitative surface topography assessment of directly compressed and roller compacted tablet cores using photometric stereo image analysis. Eur. J. Pharm. Sci. 2016, 87, 79–87. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Cheng, J.; Wu, J. Experimental investigation of fracture behaviors and subsurface cracks in micro-slot-grinding of monocrystalline sapphire. J. Mater. Process. Technol. 2017, 242, 160–181. [Google Scholar] [CrossRef]
  4. Wright, S.I.; Nowell, M.M.; Lindeman, S.P.; Camus, P.P.; Graef, M.D.; Jackson, M.A. Introduction and comparison of new EBSD post-processing methodologies. Ultramicroscopy 2015, 159, 81–94. [Google Scholar] [CrossRef] [PubMed]
  5. Wright, S.I.; Field, D.P.; Nowell, M.M. Post processing effects on GND calculations from EBSD-based orientation surements. Mater. Sci. Eng. 2015, 89, 012049. [Google Scholar]
  6. Manya, V.; Afonso, A.; Sanches, J.M.R. A total variation recursive space-variant filter for image denoising. Digit. Signal Process. 2015, 40, 101–116. [Google Scholar]
  7. Zhu, S.J.; Li, Y.H.; Li, Y.J. A PMMW image denoising based on adaptive manifolds and high-dimensional mean median filter. Optik 2015, 126, 5624–5628. [Google Scholar] [CrossRef]
  8. Chen, D.Q.; Zhou, Y. Inexact alternating direction method based on proximity projection operator for image inpainting in wavelet domain. Neurocomputing 2016, 189, 145–159. [Google Scholar] [CrossRef]
  9. Zhang, H.Y.; Dai, S.M. Image inpainting based on wavelet decomposition. Procedia Eng. 2012, 29, 3674–3678. [Google Scholar] [CrossRef]
  10. Bertalmio, M.; Sapiro, G.; Caselles, V.; Ballester, C. Image inpainting. In Proceedings of the 27th Annual Conference on Computer Graphics and Interactive Techniques, New Orleans, LA, USA, 23–28 July 2000; pp. 417–422. [Google Scholar]
  11. Berntsson, F.; Baravdish, G. Coefficient identification in PDEs applied to image inpainting. Appl. Math. Comput. 2014, 242, 227–235. [Google Scholar] [CrossRef]
  12. Lerga, J.; Sucic, V.; Vrankic, M. Separable image denoising based on the relative Intersection of confidence intervals rule. Informatica 2011, 22, 383–394. [Google Scholar]
  13. Mandic, I.; Peic, H.; Lerga, J.; Stajduhar, I. Denoising of X-ray images using the adaptive algorithm based on the LPA-RICI algorithm. J. Imaging 2018, 4, 34. [Google Scholar] [CrossRef]
  14. Yang, X.Y.; Shi, Y.; Zhou, W.L. Construction of parameterizations of masks for tight wavelet frames with two symmetric/antisymmetric generators and applications in image compression and denoising. J. Comput. Appl. Math. 2011, 235, 2112–2136. [Google Scholar] [CrossRef]
  15. Alizadeh, S.; Kose, C. Automatic retrieval of shoeprint images using blocked sparse representation. Forensic Sci. Int. 2017, 277, 103–114. [Google Scholar] [CrossRef] [PubMed]
  16. Aharon, M.; Elad, M.; Bruckstein, A. K-SVD: An algorithm for designing over-complete dictionaries for sparse representation. IEEE Trans. Signal Process. 2006, 54, 4311–4322. [Google Scholar] [CrossRef]
  17. Carvajalino, J.M.D.; Sapiro, G. Learning to sense sparse signals: Simultaneous sensing matrix and sparsifying dictionary optimization. IEEE Trans. Image Process. 2009, 18, 1395–1408. [Google Scholar] [CrossRef] [PubMed]
  18. Li, Q.; Ji, X.; Liang, S.Y. Bi-dimensional empirical mode decomposition and nonconvex penalty minimization Lq (q = 0.5) regular sparse representation-based classification for image recognition. Pattern Recognit. Image Anal. 2018, 28, 59–70. [Google Scholar] [CrossRef]
  19. Wang, M.Q. A novel image inpainting method based on image decomposition. Procedia Eng. 2011, 15, 3733–3738. [Google Scholar] [CrossRef]
  20. Starck, J.L.; Candes, E.; Donoho, D.L. The curvelet transform for image noise reduction. IEEE Trans. Image Process. 2002, 11, 670–684. [Google Scholar] [CrossRef] [PubMed]
  21. Zhang, W.G.; Liu, F.; Jiao, L.C.; Hou, B.A.; Wang, S.; Shang, R.H. SAR image despeckling using edge detection and feature clustering in bandelet domain. IEEE Geosci. Remote Sens. Lett. 2010, 7, 131–135. [Google Scholar] [CrossRef]
  22. Elad, M.; Aharon, M. Image noise reduction via sparse and redundant representations over learned dictionaries. IEEE Trans. Image Process. 2006, 15, 3736–3745. [Google Scholar] [CrossRef] [PubMed]
  23. Hong, R.C.; Pan, J.X.; Hao, S.J.; Wang, M.; Xue, F.; Wu, X.D. Image quality assessment based on matching pursuit. Inf. Sci. 2014, 273, 196–211. [Google Scholar] [CrossRef]
  24. Karahanoglu, N.B.; Erdogan, H. Orthogonal matching pursuit: Best-first search for compressed sensing signal recovery. Digit. Signal Process. 2012, 22, 555–568. [Google Scholar] [CrossRef]
  25. Needell, D.; Tropp, J.A. Cosamp: Iterative signal recovery from incomplete and inaccurate samples. Appl. Comput. Harmon. Anal. 2009, 26, 301–321. [Google Scholar] [CrossRef]
  26. Wang, Y.; Yang, J.; Yin, W.; Zhang, Y. A new alternating minimization algorithm for total variation image reconstruction. SIAM J. Imaging Sci. 2008, 1, 248–272. [Google Scholar] [CrossRef]
  27. Zhang, W.; Li, J.J.; Yang, Y.P. A fractional diffusion-wave equation with non-local regularization for image denoising. Signal Process. 2014, 103, 6–15. [Google Scholar] [CrossRef]
  28. Luo, H.; Wang, Y.Z. Sparse regularization image denoising based on gradient histogram and non-local self-similarity in WMSN. Optik 2016, 127, 1743–1747. [Google Scholar] [CrossRef]
  29. Elad, M.; Starck, J.L.; Querre, P.; Donoho, D.L. Simultaneous cartoon and texture image inpainting using morphological component analysis (MCA). Appl. Comput. Harmon. Anal. 2005, 19, 340–358. [Google Scholar] [CrossRef]
  30. Li, X.H.; Shen, H.F.; Zhang, L.P.; Li, H.F. Sparse-based reconstruction of missing information in remote sensing images from spectral/temporal complementary information. ISPRS J. Photogramm. Remote Sens. 2015, 106, 1–15. [Google Scholar] [CrossRef]
  31. Donoho, D.L. Compressed sensing. IEEE Trans. Inf. Theory 2006, 52, 1289–1306. [Google Scholar] [CrossRef]
  32. Candes, E.J.; Romberg, J.; Tao, T. Robust uncertainty principles: Exact signal reconstruction from highly incomplete frequency information. IEEE Trans. Inf. Theory 2006, 52, 489–509. [Google Scholar] [CrossRef]
  33. Candes, E.J.; Romberg, J. Sparsity and incoherence in compressive sampling. Inverse Probl. 2007, 23, 969–985. [Google Scholar] [CrossRef]
  34. Candes, E.J.; Tao, T. Near-optimal signal recovery from random projections: Universal encoding strategies. IEEE Trans. Inf. Theory 2006, 52, 5406–5425. [Google Scholar] [CrossRef]
  35. Candes, E.J. The restricted isometry property and its implications for compressed sensing. Comptes Rendus Math. 2008, 346, 589–592. [Google Scholar] [CrossRef]
  36. Ren, J.; Lu, H.; Zeng, X.L. Image denoising based on k-means singular value decomposition. Telkomnika 2015, 13, 1312–1318. [Google Scholar] [CrossRef]
  37. Donoho, D.L.; Elad, M.; Temlyakov, V.N. Stable recovery of sparse overcomplete representations in the presence of noise. IEEE Trans. Inf. Theory 2016, 52, 6–18. [Google Scholar] [CrossRef]
  38. Natarajan, B.K. Sparse approximate solutions to linear systems. SIAM J. Comput. 1995, 24, 227–234. [Google Scholar] [CrossRef]
  39. Zhang, Z.; Xu, Y.; Yang, J.; Li, X.L.; Zhang, D. A Survey of Sparse Representation: Algorithms and Applications. IEEE Access 2015, 3, 490–530. [Google Scholar] [CrossRef]
  40. Lai, M.J.; Wang, J.Y. An unconstrained lq minimization with 0 < q ≤ 1 for sparse solution of underdetermined linear systems. SIAM J. Optim. 2011, 21, 82–101. [Google Scholar]
  41. Lai, M.J.; Xu, Y.Y.; Yin, W.T. Improved iteratively reweighted least squares for unconstrained smoothed lq minimization. SIAM J. Numer. Anal. 2013, 51, 927–957. [Google Scholar]
  42. Wang, Y.; Wang, J.; Xu, Z. On recovery of block-sparse signals via mixed l2/lq (0 < q ≤ 1) norm minimization. EURASIP J. Adv. Signal Process. 2013, 76. [Google Scholar]
  43. Li, Q.; Liang, S.Y. Incipient fault diagnosis of rolling bearings based on impulse-step impact dictionary and re-weighted minimizing nonconvex penalty Lq regular technique. Entropy 2017, 19, 421. [Google Scholar] [CrossRef]
  44. Hardy, G.; Littlewood, J.; Polya, G. Inequalities; Cambridge University Press: Cambridge, UK, 1952. [Google Scholar]
  45. Yamamoto, T.; Emura, C.; Oya, M. Cellular automaton simulation of the diffusive motion of bacteria and their adhesion to nanostructures on a solid surface. Comput. Biol. Med. 2016, 79, 173–181. [Google Scholar] [CrossRef] [PubMed]
  46. Pourian, M.H.; Bridier, F.; Pilvin, P.; Bocher, P. Prediction of crack initiation sites in alpha Ti-alloys microstructures under dwell-fatigue using cellular automaton simulation method. Int. J. Fatigue 2016, 85, 85–97. [Google Scholar] [CrossRef]
  47. Lan, J.H.; Zeng, Y.L. Multi-threshold image segmentation using maximum fuzzy entropy based on a new 2D histogram. Optik 2013, 124, 3756–3760. [Google Scholar] [CrossRef]
  48. Francisco, J.S.; Moraes, H.P.; Dias, E.P. Evaluation of the image-pro plus 4.5 software for automatic counting of labeled nuclei by PCNA immunohistochemistry. Braz. Oral Res. 2004, 18, 100–104. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Random impulses and the comparison results of recoverability with different q. (a) Random signal with 32 non-zero impulses; (b) The comparison results of recoverability with different q.
Figure 1. Random impulses and the comparison results of recoverability with different q. (a) Random signal with 32 non-zero impulses; (b) The comparison results of recoverability with different q.
Materials 11 00637 g001
Figure 2. The ideal microstructure images of aluminum alloy 7075 material generated by cellular automaton simulation (CAS) method. (a) Ideal color image; (b) the grayscale image.
Figure 2. The ideal microstructure images of aluminum alloy 7075 material generated by cellular automaton simulation (CAS) method. (a) Ideal color image; (b) the grayscale image.
Materials 11 00637 g002
Figure 3. Example orientation image with Gaussian noise added and orientation images obtained after conventional wavelet packet and the proposed SPSR (q = 0.5) with noise levels of (a) 0.1; (b) 0.5; (c) 0.8; and (d) 1.0. (from top row to bottom row); Noised orientation images of the color, grayscale, images recovered by wavelet packet method, images recovered by SPSR (q = 0.5) (from left column to right column).
Figure 3. Example orientation image with Gaussian noise added and orientation images obtained after conventional wavelet packet and the proposed SPSR (q = 0.5) with noise levels of (a) 0.1; (b) 0.5; (c) 0.8; and (d) 1.0. (from top row to bottom row); Noised orientation images of the color, grayscale, images recovered by wavelet packet method, images recovered by SPSR (q = 0.5) (from left column to right column).
Materials 11 00637 g003
Figure 4. The discrete cosine transform (DCT) dictionary and KSVD dictionary of first damaged image. (a) The DCT dictionary; (b) The KSVD dictionary (iterated for 25 times).
Figure 4. The discrete cosine transform (DCT) dictionary and KSVD dictionary of first damaged image. (a) The DCT dictionary; (b) The KSVD dictionary (iterated for 25 times).
Materials 11 00637 g004
Figure 5. Restoration results of the first damaged image. (a) Color damaged image; (b) Grayscale damaged image; (c) Restoration result generated by wavelet packet method; (d) Restoration result generated by DCT + orthogonal matching pursuit (OMP) method; (e) Restoration result generated by KSVD + OMP method; (f) Restoration result generated by proposed method.
Figure 5. Restoration results of the first damaged image. (a) Color damaged image; (b) Grayscale damaged image; (c) Restoration result generated by wavelet packet method; (d) Restoration result generated by DCT + orthogonal matching pursuit (OMP) method; (e) Restoration result generated by KSVD + OMP method; (f) Restoration result generated by proposed method.
Materials 11 00637 g005
Figure 6. Segmentation effect and its statistical result before restored. (a) Segmentation effect; (b) Grain number tags.
Figure 6. Segmentation effect and its statistical result before restored. (a) Segmentation effect; (b) Grain number tags.
Materials 11 00637 g006
Figure 7. Segmentation effect and its statistical result restored by proposed method. (a) Segmentation effect; (b) Grain number tags.
Figure 7. Segmentation effect and its statistical result restored by proposed method. (a) Segmentation effect; (b) Grain number tags.
Materials 11 00637 g007
Figure 8. The grain diameter (mean) histogram. (a) Before restoration; (b) After restoration by proposed method.
Figure 8. The grain diameter (mean) histogram. (a) Before restoration; (b) After restoration by proposed method.
Materials 11 00637 g008
Figure 9. The scatter diagram of grain diameter (mean) and grain area. (a) Before restoration; (b) After restoration by proposed method.
Figure 9. The scatter diagram of grain diameter (mean) and grain area. (a) Before restoration; (b) After restoration by proposed method.
Materials 11 00637 g009aMaterials 11 00637 g009b
Figure 10. The DCT dictionary and KSVD dictionary of second damaged image. (a) The DCT dictionary; (b) The KSVD dictionary (iterated 25 times).
Figure 10. The DCT dictionary and KSVD dictionary of second damaged image. (a) The DCT dictionary; (b) The KSVD dictionary (iterated 25 times).
Materials 11 00637 g010
Figure 11. Restoration results of the second damaged image. (a) Color-damaged image; (b) Grayscale damaged image; (c) Restoration result generated by wavelet packet method; (d) Restoration result generated by DCT + OMP method; (e) Restoration result generated by KSVD + OMP method; (f) Restoration result generated by the proposed method.
Figure 11. Restoration results of the second damaged image. (a) Color-damaged image; (b) Grayscale damaged image; (c) Restoration result generated by wavelet packet method; (d) Restoration result generated by DCT + OMP method; (e) Restoration result generated by KSVD + OMP method; (f) Restoration result generated by the proposed method.
Materials 11 00637 g011
Figure 12. The comparison of grain boundary of the second damaged image. (a) Before restoration; (b) After restoration by proposed method.
Figure 12. The comparison of grain boundary of the second damaged image. (a) Before restoration; (b) After restoration by proposed method.
Materials 11 00637 g012
Table 1. Parameters setting of K-means singular value decomposition (KSVD) algorithm.
Table 1. Parameters setting of K-means singular value decomposition (KSVD) algorithm.
Training Sample SizeRedundancyDictionary SizeIterations
8 × 8664 × 25625
Table 2. The restoration performance standard (RPS) results of wavelet-packet and proposed method.
Table 2. The restoration performance standard (RPS) results of wavelet-packet and proposed method.
Inpainting MethodsNoise LevelNMSEPSNR/dBSSIM
Wavelet-packet0.11.865024.90680.9784
0.52.999422.84100.9648
0.86.962519.16690.9197
113.631416.25950.8530
SPSR (q = 0.5)0.10.124136.51500.9984
0.50.361631.86980.9954
0.81.098827.04950.9859
11.926524.59890.9748
Table 3. The RPSs comparison of the first damaged image.
Table 3. The RPSs comparison of the first damaged image.
ImageRestoration MethodsNMSEPSNR/dBSSIMTime (s)
-Wavelet packet4.082521.42120.93450.6172
First damaged imageDCT + OMP2.329523.69800.958752.9017
-KSVD + OMP2.345823.66790.9585705.3599
-Proposed method6.819219.03880.89531329.7895
Table 4. Statistical parameters of grain size of the first damaged image.
Table 4. Statistical parameters of grain size of the first damaged image.
StatisticDiameter (Mean)/μmArea (Polygon)/μm2Perimeter (Ratio)/μm
BeforeAfterBeforeAfterBeforeAfter
Min3.16222.8680110.45160.5589
Max9.192342.322113.9444194.722211
Mean5.72448.60994.325714.88630.88730.8635
Grain number642326423264232
Table 5. The RPSs comparison of the second damaged image.
Table 5. The RPSs comparison of the second damaged image.
ImageRestoration MethodsNMSEPSNR/dBSSIMTime (s)
-Wavelet packet33.626414.02880.70170.4969
Second damaged imageDCT + OMP73.801511.13160.5523165.4376
-KSVD + OMP74.146011.11110.54992928.2968
-Proposed method85.276610.39240.51313371.2670

Share and Cite

MDPI and ACS Style

Li, Q.; Liang, S.Y. Microstructure Images Restoration of Metallic Materials Based upon KSVD and Smoothing Penalty Sparse Representation Approach. Materials 2018, 11, 637. https://doi.org/10.3390/ma11040637

AMA Style

Li Q, Liang SY. Microstructure Images Restoration of Metallic Materials Based upon KSVD and Smoothing Penalty Sparse Representation Approach. Materials. 2018; 11(4):637. https://doi.org/10.3390/ma11040637

Chicago/Turabian Style

Li, Qing, and Steven Y. Liang. 2018. "Microstructure Images Restoration of Metallic Materials Based upon KSVD and Smoothing Penalty Sparse Representation Approach" Materials 11, no. 4: 637. https://doi.org/10.3390/ma11040637

APA Style

Li, Q., & Liang, S. Y. (2018). Microstructure Images Restoration of Metallic Materials Based upon KSVD and Smoothing Penalty Sparse Representation Approach. Materials, 11(4), 637. https://doi.org/10.3390/ma11040637

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