Next Article in Journal
Electronic-Nose Applications for Fruit Identification, Ripeness and Quality Grading
Previous Article in Journal
Carbon Fiber Ultramicrodic Electrode Electrodeposited with Over-Oxidized Polypyrrole for Amperometric Detection of Vesicular Exocytosis from Pheochromocytoma Cell
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fast Image Restoration for Spatially Varying Defocus Blur of Imaging Sensor

Department of Image, Chung-Ang University, 84 Heukseok-ro, Dongjak-gu, Seoul 156-756, Korea
*
Author to whom correspondence should be addressed.
Sensors 2015, 15(1), 880-898; https://doi.org/10.3390/s150100880
Submission received: 10 October 2014 / Accepted: 23 December 2014 / Published: 6 January 2015
(This article belongs to the Section Physical Sensors)

Abstract

: This paper presents a fast adaptive image restoration method for removing spatially varying out-of-focus blur of a general imaging sensor. After estimating the parameters of space-variant point-spread-function (PSF) using the derivative in each uniformly blurred region, the proposed method performs spatially adaptive image restoration by selecting the optimal restoration filter according to the estimated blur parameters. Each restoration filter is implemented in the form of a combination of multiple FIR filters, which guarantees the fast image restoration without the need of iterative or recursive processing. Experimental results show that the proposed method outperforms existing space-invariant restoration methods in the sense of both objective and subjective performance measures. The proposed algorithm can be employed to a wide area of image restoration applications, such as mobile imaging devices, robot vision, and satellite image processing.

1. Introduction

Restoration of spatially varying out-of-focus blur is a fundamental problem in enhancing images acquired by various types of imaging sensors [14]. Despite the advances in various digital imaging techniques, restoration of spatially varying degradation is still a challenging issue because of the inherent limitation of imaging devices and the non-ideal image acquisition conditions. Although various image restoration algorithms have been proposed in the literature, most of them work under an unrealistic condition that, for example, there is only a single, space-invariant blur. High computational load and/or the iterative optimization are another burden on the practical employment of digital image restoration algorithms in a general imaging sensor.

As a well-known, basic image restoration algorithm, the constrained least-squares filter can remove space-invariant image degradation with suppressing noise amplification using an appropriately weighted smoothing constraint [5]. Kim et al. proposed a practically efficient restoration method by truncating coefficients of the constrained least-squares filter [68], which can be implemented in the form of the finite impulse response (FIR) filter. However, the original version of the truncated constrained least-squares (TCLS) filter cannot deal with a spatially varying blur.

For restoring a space-variant degradation, Kuthirummal estimated the out-of-focus blur using a computational camera [9], and Pertuz proposed a spatially adaptive restoration method by estimating a local blur from multiple images [10]. Kuthirummal's method requires a special optical part that is not easily implemented in a general camera, whereas Pertuz's method is not suitable for fast image restoration because of the use of multiple input images. Whyte and Xu estimated blurring components in small blocks and proposed the correspondingly adaptive restoration method using sparse representation, respectively, in [11,12]. Chan proposed a selective image restoration method by separating defocused areas [13]. Shen proposed a restoration method using ℓ1 and ℓ2 minimizations [14]. The above mentioned adaptive restoration algorithms commonly need enormous amount of computations and an indefinite processing time to estimate the degradation parameters and optimization-based adaptive restoration.

In order to minimize the computational overhead of space-variant image restoration while preserving the restoration performance, this work assumes that spatially varying degradation can be approximated as multiple, region-wise space-invariant Gaussian kernels, and that the restoration process can be approximated in the form of an FIR filter. In this context, the proposed algorithm consists of two functional modules: (i) estimation of the spatially varying two-dimensional Gaussian point spread functions (PSFs) by analyzing the relationship between the first and second derivatives of the corresponding region and (ii) spatially adaptive image restoration using optimally selected TCLS filters as shown in Figure 1. The major advantage of the proposed method is the fast, robust restoration of spatially-varying defocus blur using the parametric model of the PSF and a computationally efficient FIR restoration filter. Although the real PSF of an optical lens is not necessarily Gaussian, the proposed parametric model is a good approximation of most optical lenses, which will be proved by the experiment.

Since spatially-varying image restoration is a fundamental problem in image filtering, enhancement, and restoration applications, there have been many researches in the literature. Some important techniques are summarized below with brief comparisons with the proposed work. Early efforts to enhance a satellite image assumed that the PSF varies because of a geometric transformation. In this context, Sawchuk proposed a space-variant image restoration method that performs a geometric transformation to make the blur kernel space-invariant, and then performed a space-invariant inverse filtering [15]. Flicker et al., proposed a modified maximum-likelihood deconvolution method for astronomical adaptive optics images [16]. It is an improved version of anisoplanatic deconvolution using a space-varying kernel and Richardson-Lucy restoration. Flicker's method, however, differs from this work because of pre-required space-varying PSF information and optimization-based iterative restoration. Hajlaoui et al. proposed a spatially-varying restoration approach to enhance a satellite image acquired by a pushbroom-type sensor where the PSF is spatially varying in only one direction [17]. It uses wavelet decomposition with redundant wavelet frames to improve the restoration performance. However, MAP estimation and wavelet decomposition are not suitable to be implemented in the form of simple linear filtering. Hirsch et al. proposed a class of linear transformations called the Filter Flow for blind deconvolution of motion blur with noise, and they demonstrated the practical significance by showing experimental results on removing geometric rotation, atmospheric turbulence, and random motions [18]. Although this work has a common motivation of efficient space-variant deconvolution, PSF estimation of motion blur differs from that of the defocus blur.

This paper is organized as follows. In Section 2, a general space-variant image degradation process is approximated into a region-wise space-invariant model, which serves as a theoretical basis of the proposed space-adaptive image restoration. Sections 3 and 4, respectively, present the estimation of space-variant blur and the corresponding adaptive image restoration algorithms. After experimental results are given Section 5; Section 6 concludes the paper.

2. Region-Wise Space-Invariant Image Degradation Model

If spherical and chromatic aberrations of a lens are ignored, a point on the object plane generates a space-invariant point spread function (PSF) in the image plane as shown in Figure 2. The corresponding linear space-invariant image degradation model of the out-of-focus blur is expressed as a convolution sum as [19]

g ( x , y ) = s t h ( s , t ) f ( x s , y t ) + η ( x , y )
where g(x, y) represents the out-of-focus image, f(x, y) the virtually in-focused image assuming that the object plane is located at the in-focus position, η(x, y) the additive noise, and h(s, t) the space-invariant PSF.

On the other hand, multiple objects with different distances from the lens generate different PSFs in the image plane as shown in Figure 3. In the corresponding space-variant image formation model, a PSF is determined by the distance of the object point from the lens. Since different object points are projected onto different locations in the image plane, a parametric representation of the Gaussian PSF is given as

h ( s , t ; x , y ) = h G ( s , t ; σ x y ) = 1 2 π σ x y 2 exp ( ( s 2 + t 2 ) 2 σ x y 2 )
where σxy varies with the location in the image plane. Equation (2) is a simplified version of a PSF for a single lens proposed in [20]. Elaboration of lens analysis and design is out of scope of the paper, and the proposed parametric method can represent other types of PSF with proper modifications. The corresponding space-variant image degradation model is given as
g ( x , y ) = s t h G ( s , t ; σ x y ) f ( x s , y t ) + η ( x , y )

Assuming that an image includes multiple objects (or regions) with different distances from the focus point and background, the space-variant model in Equation (3) can be approximated by a region-wise space-invariant version as

g ( x , y ) = i = 1 K A i ( x , y ) { s t h G ( s , t ; σ i ) f ( x s , y t ) } + η ( x , y )
where the binary-valued function Ai(x, y) is equal to unity only if a pixel at (x, y) is degraded by the i-th PSF hG(s, t; σi), and K the number of different PSFs. The PSF hG(s, t; σi) in Equation (4) is space-invariant in the region where Ai(x, y) = 1, whereas hG(s, t; σi) in Equation (3) is space-variant at each pixel. Figure 4 shows a real defocused image with multiple different PSFs. The tree and gazebo is blurred by different PSFs because they are located in different distances from the camera.

3. Blur Estimation Based on the Derivative Distribution

In a sufficiently small region containing only a single, vertical edge as shown in Figure 5a, the ideal edge profile along the horizontal line can be expressed as

f e ( x , y ) = a u ( x x c ) + b , for x c p x x c + p and y c p y y c + p
where u(xxc) represents the unit step function, which is also called Heaviside function, shifted by xc, a the magnitude of the edge, and b the offset as shown in Figure 5b. If the region Re is out-focused by the Gaussian PSF that can be expressed as
h σ ( x , y ) = 1 2 π σ 2 exp ( x 2 + y 2 2 σ 2 )
the correspondingly blurred edge function is given as
g e ( x , y ) = h σ ( x , y ) f e ( x , y ) + η ( x , y ) = ( h σ f σ ) ( x , y ) + η ( x , y )
where η(x, y) represents the additive white Gaussian noise, such as η ( x , y ) N ( 0 , σ η 2 ) . In the rest of this section, the shifting components xc and yc are omitted for simplicity.

In order to estimate the variance of the Gaussian PSF, an edge-based analysis approach is used. This approach is a parametrically modified version of two-dimensional isotropic PSF estimation using one-dimensional edge profile analysis [21]. Although one-dimensional edge can be in any direction, we derive the PSF estimation procedure in the horizontal direction, since any non-horizontal edges can be expressed as a rotated version of the horizontal edge. From the input degraded edge signal, a one-dimensional gradient of the blurred edge signal, that is the derivative of Equation (7) with respect to the x-axis without loss of generality, provides an important clue using the fundamental properties of the derivative of convolution and normal distribution as

x g e ( x , y ) = h σ ( x , y ) x f e ( x , y ) + x η ( x , y ) = h σ ( x , y ) a δ ( x ) + x η ( x , y ) = a s t h σ ( s , t ) δ ( x s ) + x η ( x , y ) = a t h σ ( x , t ) + η ( x , y ) = a h σ ( x , 0 ) + η ( x , y )
where η ( x , y ) = x η ( x , y ) N ( 0 , 2 σ η 2 ) and the derivative operator ∇x can be replaced by a forward difference operator in the horizontal direction as
x f ( x , y ) = f ( x + 1 , y ) f ( x , y )

In one-dimensional case, the Gaussian parameter σ can be directly computed from the derivative equation by solving the Lambert W function [22]. However, it is not easy to solve the two-dimensional derivative equation given in Equation (8) for the Gaussian parameter.

Instead of directly solving Equation (8) for the Gaussian parameter σ, an approximate estimation of the amount of out-of-focus blur on the horizontal edge is given by the ratio of local variances of the first and second derivatives as

B x ( x , y ) = var { x g e ( x , y ) } var { x 2 g e ( x , y ) } = E { ( x g e ( x , y ) ) 2 } E { ( x g e ( x , y ) ) } 2 E { ( x 2 g e ( x , y ) ) 2 } E { ( x 2 g e ( x , y ) ) } 2 = E { ( a h σ ( x , 0 ) + η ( x , y ) ) 2 } E { ( a h σ ( x , 0 ) + η ( x , y ) ) } 2 E { ( a x σ 2 h σ ( x , 0 ) + η ( x , y ) ) 2 } E { ( a x σ 2 h σ ( x , 0 ) + η ( x , y ) ) } 2 = a 2 E { h σ ( x , 0 ) 2 } + 2 a E { h σ ( x , 0 ) η ( x , y ) } a 2 E { h σ ( x , 0 ) } 2 a 2 σ 4 E { x 2 h σ ( x , 0 ) 2 } 2 a σ 2 E { x h σ ( x , 0 ) η ( x , y ) } a 2 σ 4 E { x h σ ( x , 0 ) } 2
where var{·} represents the local variance and E{·} the local mean or average operators. The discrete approximation of the second order derivative operator x 2 can be expressed as
x 2 f ( x , y ) = x { x f ( x , y ) }

In Equation (10), both E{hσ(x, 0)η′(x, y)} and E{xhσ(x, 0)η″(x, y)} are close to 0 if we assume that both η′(x, y) and η″(x, y) are uncorrelated with hσ(x, 0). We have that, for (x, y) ∈ Re, where Re was defined in Figure 5a,

B x ( x , y ) = a 2 E { h σ ( x , 0 ) 2 } + 2 a E { h σ ( x , 0 ) η ( x , y ) } a 2 E { h σ ( x , 0 ) } 2 a 2 σ 4 E { x 2 h σ ( x , 0 ) 2 } 2 a σ 2 E { x h σ ( x , 0 ) η ( x , y ) } a 2 σ 4 E { x h σ ( x , 0 ) } 2 σ 4 E { h σ ( x , 0 ) 2 } E { h σ ( x , 0 ) } 2 E { x 2 h σ ( x , 0 ) 2 } E { x h σ ( x , 0 ) } 2 σ 4
which states that the amount of blur in the neighborhood of edge depends on the squared variance of the Gaussian PSF. The amount of blur on the vertical edge, By(x, y), can also be computed in the same manner. The amount of the blur in an arbitrary direction is finally computed by combining the horizontal and vertical components as
B ( x , y ) = B x ( x , y ) B y ( x , y ) B x ( x , y ) 2 + B y ( x , y ) 2

The size of a local region Re is related to the range of an out-of-focus blur that is estimated using local statistics. If the size of a local region increases, a larger PSF can be estimated at the cost of potential mixture with other edges. In this work, p = 10 is used to estimate σ = 4.0 at maximum.

In flat areas, B(x, y) has a small value. It implies that both of a blurry object and a clear object have similar B(x, y) values in flat areas. However, the flat area does not need to be restored regardless of the amount of the defocus blur.

Figure 6 shows a step-by-step result of the proposed out-of-focus blur estimation process. Figure 6a show a synthetic image with gradually increasing amount of blur from left to right according to Equation (7). The variance of the Gaussian PSF changes from 0 to 2.5, and the variance of additive noise is 0.0001. Figure 6b,c, respectively, show the first- and second-order derivatives of the image. Figure 6d,e, respectively, show local variances of the first- and second-order derivatives. As shown in Figure 6f, the estimated amount of the blur B(x, y) follows the real amount of the blur regardless of the magnitude of edges.

4. Region-Adaptive Image Restoration Using Optimally Truncated Constrained Least-Squares Filters

Let H(u, v) represent the two-dimensional discrete Fourier transform (DFT) of the degradation function h(x, y) of the space-invariant degradation model, the corresponding constrained least-squares (CLS) restoration filter RCLS(u, v) is given as

R C L S ( u , v ) = H ( u , v ) | H ( u , v ) | 2 + λ | C ( u , v ) | 2
where C(u, v) represents a high-pass filter, and λ the regularization parameter for controlling the smoothness in the restored image [19]. In order to avoid the frequency domain processing that requires at least one additional frame memory, Kim has proposed the original version of truncated constrained least-squares (TCLS) filter [6], and also applied it to multi-focusing image restoration [8]. The TCLS filter is generated by truncating the spatial domain coefficients of the CLS filter using the raised cosine window. As a result, the TCLS filter can be realized in the form of a finite impulse response (FIR) filter in the spatial domain.

In order to design the TCLS restoration filter for the estimated blur size B(x, y), an arbitrary image is synthetically blurred by Gaussian function with variance σ2 to establish the relationship between B(x, y) and σ in a statistical manner. As shown in Figure 7, since B(x, y) and σ have the one-to-one correspondence, the optimum TCLS filter can be selected by calculating B(x, y) out of a set of a priori generated TCLS filters.

Estimated values of B(x, y) share adjacent intervals to select one of multiple TCLS filters for practically viable implementation. In this paper, the sharing step depends on the estimated values in a synthetically degraded images by Gaussian blurs that have various sizes according to Equation (1). The intervals of [0.08, 0.1), [0.1, 0.2), [0.2, 0.3), [0.3, 0.5), [0.5, 0.7), [0.7, 0.96), [0.96, 1.2), and [1.2, ∞) are used to determine the amount of blur according to the Gaussian functions with variances of 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, and 4.0, respectively. Although any number of intervals can be implemented in theory, we used nine intervals for tractable computational load.

In order to reduce the blocking artifacts caused by the quantization process, the proposed restoration method combines two optimum filters as

f ^ ( x , y ) = { ( 1 α B ( x , y ) ) R i ( x , y ) + α B ( x , y ) R j ( x , y ) } g ( x , y )
where Ri(x, y) and Rj(x, y) are two optimally selected TCLS filters, αB(x, y) the weighting factor for the appropriate fusion of restored images, and α B ( x , y ) = B ( x , y ) B i B j B i , for 0 ≤ αB(x, y) ≤ 1. Bi and Bj, respectively, represent the minimum and maximum values of the section that B(x, y) belongs to. To reduce common restoration artifacts, such as noise clustering, ringing, and overshoot near edges, the spatially adaptive noise-smoothing algorithm [6,8] can also be used on the necessity basis.

Figure 8 shows an example for of the proposed region-adaptive image restoration algorithm. A spatially variant defocused input image is segmented for selecting optimal TCLS filters according to the blur map defined in Equation (10). The blurred image can be restored using Equation (15) together with the spatially adaptive noise smoothing algorithm.

The process of the proposed image restoration is shown as Algorithm 1. The proposed blur estimation algorithm corresponds to lines 1–2 in Algorithm 1 and the proposed region-adaptive restoration algorithm corresponds to lines 3–5.


Algorithm 1 The proposed image restoration

Inputs: an input image ge(x, y), a set of TCLS filters, a table to share interval for selecting optimal filters.
1. Estimate the amounts of blur as B y ( x , y ) = var { y g e ( x , y ) } var { y 2 g e ( x , y ) } and .
2. Calculate the blur map B(x, y) according to B ( x , y ) = B x ( x , y ) B y ( x , y ) B x ( x , y ) 2 + B y ( x , y ) 2.
3. Select two optimal TCLS filters Ri(x, y) and Ri(x, y) using the blur map and the input table.
4. Restore adaptively the input image by (x, y) = {(1 − αB(x, y)) Ri(x, y) + αB(x, y) Rj(x, y)} * g(x, y).
5. Apply the spatially adaptive noise smoothing algorithm.
Output: a space adaptively restored image.

5. Experimental Results

For evaluating the performance of the proposed algorithm, Three sets of test images including a synthetic image, standard images of size 768 × 512, and outdoor images of size 1024 × 768 acquired by using a digital single lens reflected (DSLR) camera were tested using the peak-to-peak signal-to-noise ratio (PSNR), mean structural similarity (MSSIM) [23], and the CPU processing time in seconds on a PC equipped with a 3.40 GHz CPU and 16 GB RAM.

Experimental results using a synthetic image are shown in Figure 9. As shown Figure 9c,d, the CLS filter and Dong's method result in significant ringing artifacts because of the mismatch between the real blur and the restoration filter. Although Yang's method that minimizes the total variation can better remove the defocus blur artifact with suppressed ringing as shown in Figure 9e than the CLS filter and Dong's method, it cannot avoid distortions in high frequency regions, such as corners and ridges. Its iterative computational structure is another burden to be implemented in a commercial digital camera. The result of Xu's method include ringing artifact as shown in Figure 9f. Since Xu's method globally estimates a blur kernel in the entire input image and then adjusts the blur kernel for each divided region, it is not easy to accurately measure the spatially varying defocus blur that may continuously changes throughout the image. Figure 9g,h show that both Shen's and the proposed restoration methods can successfully restore the spatially varying defocus blur without ringing artifacts. Although both methods perform restoration based on the blur map, Shen's method is strongly influenced by noise because it uses only maximum and minimum values within a local window for generating the blur map, which results in artifacts at boundaries with discontinuity of the blur map. On the other hand, the proposed method is more robust to noise since it uses the ratio of variances of the first and second derivatives in the corresponding region. The precisely estimated blur map by the proposed method results in less ringing artifact with the highest PSNR and MSSIM values. Figure 10a,b respectively show the averaged step responses of various restoration methods used in Figure 9. The restored step response using the proposed method is the most similar to that of the input image with minimum undesired artifacts.

In addition, the propose method is faster than other restoration methods. More specifically, for an image with M pixels, computational complexities of the proposed defocus blur estimation and spatially adaptive restoration algorithms are both equal to O(M). Thus, computational complexity of the proposed algorithm is equal to O(M). The computational complexities of Dong's and Yang's methods are both equal to O(NM), where N represents the number of iterations. In Shen's method, the computational complexity of the blur estimation image restoration algorithms are respectively equal to O(M) and O(NM) because of using ℓ1 − ℓ2 optimizations with N iterations. The computational complexity of Xu's method is also equal to O(NM) because of its iterative structure.

Figure 11 shows the results in another synthetic image which was generated using a commercial three-dimensional computer graphics software. Distances of the cylinder, cube, cone, and sphere to the camera lens is respectively equal to 15.5, 17, 24, and 25.5 cm with the in-focus distance of 17 cm. The proposed restoration method shows the best restored result in the sense of PSNR and MSSIM values and restores the spatially varying blur with minimum artifacts.

Experimental results of the proposed method for naturally blurred images acquired by a DSLR camera are shown in Figures 12 and 13. Shen's method cannot avoid ringing artifacts at boundaries with discontinuity of the blur map. However, as shown in Figures 12d and 13d, the proposed restoration method successfully removes the spatially varying blur with minimized artifacts.

Table 1 summarizes PSNR/MSSIM values and the CPU processing time in seconds of Dong's, Yang's, Xu's, Shen's, and the proposed methods. To analyze image quality, each image was degraded using different Gaussian blurs where σ increases from the outside to the center of the image as shown in thumbnail figures of Table 1, and the images are restored using different methods. Dong's method shows lower PSNR and MSSIM values compared with other methods because of the magnified ringing artifacts. When noise variance is large, Yang's method is effective because it can control the noise by minimizing the total variation of the image, whereas its performance is not acceptable when the noise is negligible. Xu's method also shows low PSNR and MSSIM values due to inappropriate blur estimation for the spatially varying defocus blur. Although Shen's method gives almost similar PSNR and MSSIM values compared with the proposed method, its performance is limited in the neighborhood of the discontinuity in the blur map. The proposed method produces the best restored result in the sense of both PSNR and MSSIM values. In addition, the proposed algorithm can be implemented in the form of an FIR filter.

6. Conclusions

In order to solve the long-term unsolved digital multi-focusing problem in digital imaging technology, a region-wise linear approximation of the general space-variant image degradation model is presented. The proposed image degradation model can cover from the space-invariant to pixel-wise adaptive image restoration by adjusting the size of the region. Gaussian approximation of the point spread function (PSF) of an optical system enables parametric estimation of the blur parameter, which is an important factor for the potential application of wide variety of imaging sensors. Based on the region-wise space-invariant image degradation model, a novel Gaussian parameter estimation method is proposed by analyzing the relationship between the variance of a Gaussian PSF and the first and second derivatives of local edges. Since the proposed estimation method uses a set of a priori generated real out-of-focused images in the statistical manner, the estimation process is stable and free from amplification of the estimation error due to the ill-posedness of derivative operations.

The restoration process is implemented in the form of a finite impulse response (FIR) filter, which can be embedded in a typical image signal processor (ISP) of a digital imaging devices without using an additional hardware such as a frame memory. Although the truncation of the filter coefficients may degrade the performance of restoration in a certain degree, the region-based processing minimizes the degradation, which was proved by experimental results using a set of real photographs.

The major contribution of this work is that the multi-focusing problem is decomposed into two separate sub-problems: (i) estimation of the PSF and (ii) spatially-adaptive image restoration. Since neither perfect estimation of the PSF nor ideal restoration is possible in practice, in a combined approach, such as blind deconvolution, the mixed errors from the PSF estimation and restoration cannot be removed by an analytic method. On the other hand, in the proposed approach, PSF estimation can be improved by extending the Gaussian model to more realistic one without affecting the restoration process. In the same manner, the restoration process can be either improved or replaced with any advanced one without affecting the PSF estimation process. For example, Wei et al. proposed a matrix source coding algorithm for efficiently computing space-varying convolution, and demonstrated its performance using the space-variant image restoration results [26]. Since the proposed work completely decouples the PSF estimation and restoration sub-problems, Wei's convolution method can be applied to the restoration process to improve the performance.

Acknowledgments

This work was supported by the Ministry of Science, ICT and Future Planning as Software Grand Challenge Project (14-824-09-003) and the Ministry of Science, ICT and Future Planning under the ITRC support program (NIPA-2014-CAU) supervised by NIPA.

Author Contributions

H.C. initiated the research and designed the experiments; E.C. and E.L. performed experiments; G.J. derived several important mathematical equations; J.P. wrote the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. El-Sallam, A.A.; Boussaid, F. Spectral-Based Blind Image Restoration Method for Thin TOMBO Imagers. Sensors 2008, 8, 6108–6123. [Google Scholar]
  2. Yang, J.; Zhang, B.; Shi, Y. Scattering Removal for Finger Vein Image Restoration. Sensors 2012, 12, 3627–3640. [Google Scholar]
  3. Zhang, W.; Quan, W.; Guo, L. Blurred Star Image Processing for Star Sensors under Dynamic Conditions. Sensors 2012, 12, 6712–6726. [Google Scholar]
  4. Manfredi, M.; Bearman, G.; Williamson, G.; Kronkright, D.; Doehne, E.; Jacobs, M.; Marengo, E. A New Quantitative Method for the Non-Invasive Documentation of Morphological Damage in Painting Using RTI Surface Normals. Sensors 2014, 14, 12271–12284. [Google Scholar]
  5. Hunt, B. The application of constrained least squares estimation to image restoration by digital computer. IEEE Trans. Comput. 1973, 22, 805–812. [Google Scholar]
  6. Kim, S.; Jun, S.; Lee, E.; Shin, J.; Paik, J. Real-time bayer-domain image restoration for an extended depth of field (EDoF) camera. IEEE Trans. Consum. Electron. 2009, 55, 1756–1764. [Google Scholar]
  7. Kim, S.; Kang, W.; Lee, E.; Paik, J. Vaguelette-wavelet decomposition for frequency adaptive image restoration using directional wavelet bases. IEEE Trans. Consum. Electron. 2011, 57, 218–223. [Google Scholar]
  8. Kim, S.; Lee, E.; Hayes, M.; Paik, J. Multifocusing and depth estimation using color shift model-based computational camera. IEEE Trans. Image Process. 2012, 21, 4152–4166. [Google Scholar]
  9. Kuthirummal, S.; Nagahara, H.; Zhou, C.; Nayar, S. Flexible depth of field photography. IEEE Trans. Pattern Anal. Mach. Intell. 2011, 33, 58–71. [Google Scholar]
  10. Pertuz, S.; Puig, D.; Garcia, M.; Fusiello, A. Generation of all-in-focus images by noise-robust selective fusion of limited depth-of-field images. IEEE Trans. Image Process. 2013, 22, 1242–1251. [Google Scholar]
  11. Whyte, O.; Sivic, J.; Zisserman, A. Deblurring shaken and partially saturated images. Proceedings of the IEEE International Conference on Computer Vision Workshops (ICCV Workshops), Barcelona, Spain, 6–13 November 2011; pp. 745–752.
  12. Xu, L.; Zheng, S.; Jia, J. Unnatural L0 sparse representation for natural image deblurring. Proceedings of the 2013 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Portland, OR, USA, 23–28 June 2013; pp. 1107–1114.
  13. Chan, S.; Nguyen, T. Single-image spatially variant out-of-focus blur removal. Proceedings of the 2011 18th IEEE International Conference on Image Processing (ICIP), Brussels, Belguim, 11–14 September 2011; pp. 677–680.
  14. Shen, C.; Hwang, W.; Pei, S. Spatially-varying out-of-focus image deblurring with L1 2 optimization and a guided blur map. Proceedings of the 2012 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Kyoto, Japan, 25–30 March 2012; pp. 1069–1072.
  15. Sawchuk, A. Space-variant image restoration by coordinate transformation. J. Opt. Soc. Am. 1974, 64, 138–144. [Google Scholar]
  16. Flicker, R.; Regaut, F. Anisoplanatic deconvolution of adaptive optics images. J. Opt. Soc. Am. 2005, 22, 504–513. [Google Scholar]
  17. Hajilaoui, N.; Chaux, C.; Perrin, G.; Falzon, F.; Benazza-Benyahia, A. Satellite image restoration in the context of a spatially varying point spread function. J. Opt. Soc. Am. 2010, 27, 1473–1481. [Google Scholar]
  18. Hirsch, M.; Sra, S.; Scholkopf, B.; Harmeling, S. Efficient filter flow for space-variant multiframe blind deconvolugion. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, San Francisco CA, USA, 13–18 June 2010; pp. 607–614.
  19. Gonzalez, R.; Woods, R. Digital Image Processing, 3rd ed.; Prentice Hall: Upper Saddle River, New Jersey, 2008; pp. 333–415. [Google Scholar]
  20. Gu, M. Three-dimensional space-invariant point-spread function for a single lens. J. Opt. Soc. Am. 1995, 12, 1602–1604. [Google Scholar]
  21. Jeon, J.; Yoon, I.; Kim, D.; Lee, J.; Paik, J. Fully digital auto-focusing system with automatic focusing regions selection and point spread function estimation. IEEE Trans. Consum. Electron. 2010, 56, 1204–1210. [Google Scholar]
  22. Corless, R.; Gonnet, G.; Hare, D.; Jeffrey, D.; Knuth, D. On the Lambert W function. Adv. Comput. Math. 1996, 5, 329–359. [Google Scholar]
  23. Wang, Z.; Bovik, A.; Sheikh, H.; Simoncelli, E. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar]
  24. Dong, W.; Zhang, L.; Shi, G.; Wu, X. Image deblurring and super-resolution by adaptive sparse domain selection and adaptive regularization. IEEE Trans. Image Process. 2011, 20, 1838–1857. [Google Scholar]
  25. Yang, J.; Yin, W.; Zhang, Y.; Wang, Y. A fast algorithm for edge-preserving variational multichannel image restoration. SIAM J. Imaging Sci. 2009, 2, 569–592. [Google Scholar]
  26. Wei, J.; Bouman, C.; Allebach, J. Fast space-varying conbolution using matrix sourcecodeing with applications to camera stray light reduction. IEEE Trans. Image Process. 2013, 23, 1965–1979. [Google Scholar]
Figure 1. Block diagram of the proposed adaptive image restoration algorithm. (The derivative operations are shown in only the horizontal direction for simplicity but the real system computes both horizontal and vertical derivatives.).
Figure 1. Block diagram of the proposed adaptive image restoration algorithm. (The derivative operations are shown in only the horizontal direction for simplicity but the real system computes both horizontal and vertical derivatives.).
Sensors 15 00880f1 1024
Figure 2. An image formation model of an object plane with distance d from the lens. The point spread function (PSF) h(s, t) is invariant throughout the image plane.
Figure 2. An image formation model of an object plane with distance d from the lens. The point spread function (PSF) h(s, t) is invariant throughout the image plane.
Sensors 15 00880f2 1024
Figure 3. Image formation of two points with different distances from the lens, where h1(s, t) ≠ h2(s, t).
Figure 3. Image formation of two points with different distances from the lens, where h1(s, t) ≠ h2(s, t).
Sensors 15 00880f3 1024
Figure 4. An outdoor image acquired by a digital single lens reflected (DSLR) camera. The gazebo and trunk of the tree are blurred by different PSFs.
Figure 4. An outdoor image acquired by a digital single lens reflected (DSLR) camera. The gazebo and trunk of the tree are blurred by different PSFs.
Sensors 15 00880f4 1024
Figure 5. (a) A (2p+1) × (2p+1) region centered at (xc, yc), denoted as Re, containing only a single edge; (b) the ideal edge function along the horizontal line in Re; and (c) the convolution of the ideal edge function with a Gaussian blurring kernel.
Figure 5. (a) A (2p+1) × (2p+1) region centered at (xc, yc), denoted as Re, containing only a single edge; (b) the ideal edge function along the horizontal line in Re; and (c) the convolution of the ideal edge function with a Gaussian blurring kernel.
Sensors 15 00880f5 1024
Figure 6. Computational procedure for estimating the blur component B(x, y): (a) a synthetically degraded image by spatially varying blur; (b) the derivative of (a); (c) the second-order derivative of (a); (d) the local variance of (b); (e) the local variance of (c); and (f) the estimated blur component B(x, y).
Figure 6. Computational procedure for estimating the blur component B(x, y): (a) a synthetically degraded image by spatially varying blur; (b) the derivative of (a); (c) the second-order derivative of (a); (d) the local variance of (b); (e) the local variance of (c); and (f) the estimated blur component B(x, y).
Sensors 15 00880f6 1024
Figure 7. The blur size B(x, y) calculated with neighbors in the size of 21 × 21.
Figure 7. The blur size B(x, y) calculated with neighbors in the size of 21 × 21.
Sensors 15 00880f7 1024
Figure 8. Procedure of the proposed region-adaptive image restoration algorithm.
Figure 8. Procedure of the proposed region-adaptive image restoration algorithm.
Sensors 15 00880f8 1024
Figure 9. Comparison of different restoration algorithms using a synthetic image; (a) the input image; (b) the degraded image by spatially varying blur; (c) the restored image by the constrained least squares (CLS) filter (peak-to-peak signal-to-noise ratio (PSNR) = 33.13, mean structural similarity (MSSIM) = 0.94); (d) the restored image by the Dong's method [24] (PSNR = 26.68, MSSIM = 0.84); (e) the restored image by the Yang's method [25] (PSNR = 36.44, MSSIM = 0.97); (f) the restored image by the Xu's method [12] (PSNR = 29.62, MSSIM = 0.93); (g) the restored image by the Shen's method [14] (PSNR = 36.88, MSSIM = 0.98); and (h) the restored image by the proposed method (PSNR = 39.19, MSSIM = 0.98).
Figure 9. Comparison of different restoration algorithms using a synthetic image; (a) the input image; (b) the degraded image by spatially varying blur; (c) the restored image by the constrained least squares (CLS) filter (peak-to-peak signal-to-noise ratio (PSNR) = 33.13, mean structural similarity (MSSIM) = 0.94); (d) the restored image by the Dong's method [24] (PSNR = 26.68, MSSIM = 0.84); (e) the restored image by the Yang's method [25] (PSNR = 36.44, MSSIM = 0.97); (f) the restored image by the Xu's method [12] (PSNR = 29.62, MSSIM = 0.93); (g) the restored image by the Shen's method [14] (PSNR = 36.88, MSSIM = 0.98); and (h) the restored image by the proposed method (PSNR = 39.19, MSSIM = 0.98).
Sensors 15 00880f9a 1024Sensors 15 00880f9b 1024
Figure 10. Comparison of different restoration algorithms using the ideal step function; (a) the step responses of edge around the rectangle in Figure 9b; (b) the step responses of edge around the triangle in Figure 9b.
Figure 10. Comparison of different restoration algorithms using the ideal step function; (a) the step responses of edge around the rectangle in Figure 9b; (b) the step responses of edge around the triangle in Figure 9b.
Sensors 15 00880f10a 1024Sensors 15 00880f10b 1024
Figure 11. Comparison of different restoration algorithms using another synthetic image generated by a commercial three-dimensional computer graphics software; (a) the input image; (b) the restored image by the Dong's method [24] (PSNR = 22.62, MSSIM = 0.94); (c) the restored image by the Yang's method [25] (PSNR = 29.00, MSSIM = 0.98); (d) the restored image by the Xu's method [12] (PSNR = 26.17, MSSIM = 0.96); (e) the restored image by the Shen's method [14] (PSNR = 30.21, MSSIM = 0.98); and (f) the restored image by the proposed method (PSNR = 35.44, MSSIM = 0.99).
Figure 11. Comparison of different restoration algorithms using another synthetic image generated by a commercial three-dimensional computer graphics software; (a) the input image; (b) the restored image by the Dong's method [24] (PSNR = 22.62, MSSIM = 0.94); (c) the restored image by the Yang's method [25] (PSNR = 29.00, MSSIM = 0.98); (d) the restored image by the Xu's method [12] (PSNR = 26.17, MSSIM = 0.96); (e) the restored image by the Shen's method [14] (PSNR = 30.21, MSSIM = 0.98); and (f) the restored image by the proposed method (PSNR = 35.44, MSSIM = 0.99).
Sensors 15 00880f11 1024
Figure 12. Comparison of different restoration algorithms using a real image with multiple objects with different distances from the camera; (a) the input image; (b) the restored image by the Dong's method [24]; (c) the restored image by the Yang's method [25]; (d) the restored image by the Xu's method [12]; (e) the restored image by the Shen's method [14]; and (f) the restored image by the proposed method.
Figure 12. Comparison of different restoration algorithms using a real image with multiple objects with different distances from the camera; (a) the input image; (b) the restored image by the Dong's method [24]; (c) the restored image by the Yang's method [25]; (d) the restored image by the Xu's method [12]; (e) the restored image by the Shen's method [14]; and (f) the restored image by the proposed method.
Sensors 15 00880f12 1024
Figure 13. Comparison of different restoration algorithms using another real image; (a) the input image; (b) the restored image by the Dong's method [24]; (c) the restored image by the Yang's method [25]; (d) the restored image by the Xu's method [12]; (e) the restored image by the Shen's method [14]; and (f) the restored image by the proposed method.
Figure 13. Comparison of different restoration algorithms using another real image; (a) the input image; (b) the restored image by the Dong's method [24]; (c) the restored image by the Yang's method [25]; (d) the restored image by the Xu's method [12]; (e) the restored image by the Shen's method [14]; and (f) the restored image by the proposed method.
Sensors 15 00880f13 1024
Table 1. Comparison of restoration performance and processing time for three test images, where the center region is blurred by Gaussian with σ = 3.0, and the peripheral region is blurred with σ = 0.8.
Table 1. Comparison of restoration performance and processing time for three test images, where the center region is blurred by Gaussian with σ = 3.0, and the peripheral region is blurred with σ = 0.8.
Input ImageRestoration MethodPSNR [dB]MSSIMAverage Processing Time [second]

ση = 0.0010.00010.00001ση = 0.0010.00010.00001
Sensors 15 00880t1Dong [24]18.8120.4320.590.690.790.81309.5804
Yang [25]22.9223.2922.940.780.870.915.5511
Xu [12]18.7722.0122.230.750.840.841736.3780
Shen [14]23.8125.6225.760.820.900.9166.1389
Proposed24.4326.7527.470.830.910.920.6401

Sensors 15 00880t2Dong [24]17.9619.4619.570.740.830.85315.0760
Yang [25]22.1322.6422.030.830.890.935.8107
Xu [12]15.0218.0018.100.660780.791592.6384
Shen [14]22.3123.3423.350.860.910.9268.7075
Proposed22.3825.2125.840.870.930.940.5869

Sensors 15 00880t3Dong [24]24.5728.8729.880.600.860.93287.5568
Yang [25]25.4025.8825.770.650.790.884.8221
Xu [12]20.2929.5730.170.730.910.942025.9904
Shen [14]26.5531.7231.550.790.930.9472.4971
Proposed28.3631.4832.780.810.940.960.5938

Share and Cite

MDPI and ACS Style

Cheong, H.; Chae, E.; Lee, E.; Jo, G.; Paik, J. Fast Image Restoration for Spatially Varying Defocus Blur of Imaging Sensor. Sensors 2015, 15, 880-898. https://doi.org/10.3390/s150100880

AMA Style

Cheong H, Chae E, Lee E, Jo G, Paik J. Fast Image Restoration for Spatially Varying Defocus Blur of Imaging Sensor. Sensors. 2015; 15(1):880-898. https://doi.org/10.3390/s150100880

Chicago/Turabian Style

Cheong, Hejin, Eunjung Chae, Eunsung Lee, Gwanghyun Jo, and Joonki Paik. 2015. "Fast Image Restoration for Spatially Varying Defocus Blur of Imaging Sensor" Sensors 15, no. 1: 880-898. https://doi.org/10.3390/s150100880

Article Metrics

Back to TopTop