AN APPROACH FOR IMAGE DEBLURRING: BASED ON SPARSE REPRESENTATION AND REGULARIZED FILTER
Abstract–Deblurring of the image is most the fundamental problem in image restoration. The existing methods utilize prior statistics learned from a set of additional images for deblurring. To overcome this issue, an approach for deblurring of an image based on the sparse representation and regularized filter has been proposed. The input image is split into image patches and processed one by one. For each image patch, the sparse coefficient has been estimated and the dictionaries were learned. The estimation and learning were repeated for all patches and finally merge the patches. The merged patches are subtracted from blurred input image the deblur kernel to be obtained. The deblur kernel then applied to regularized filter algorithm the original image to be recovered without blurring. The proposed deblur algorithm has been simulated using MATLAB R2013a (188.8.131.524). The metrics and visual analysis shows that the proposed approach gives better performance compared to existing methods.
Keywords-Image deblurring, Dictionary learning based image sparse representation, Regularized filter.
Deblurring is one of the problems in image restoration. The image deblurring due to camera shake. The image blur can be modelled by a latent image convolving with a kernel K.
B = K aS-I + n, (1)
where B, I and n represent the input blurred image, latent image and noise respectively. The aS- denotes convolution operator and the deblurring problem in image is thus posed as deconvolution problem .
The process of removing blurring artifacts from images caused by motion blur is called deblurring. The blur is typically modeled as the convolution of a point spread function with a latent input image, where both the latent input image and the point spread function are unknown. Image deblurring has received a lot of attention in computer vision community. Deblurring is the combination of two sub-problems: Point spread function (PSF) estimation and non-blind image deconvolution. These problems are both independently in computer graphics, computer vision, and image processing .
Finding a sparse representation of input data in the form of a linear combination of basic elements. It is called sparse dictionary learning and this is learning method. These elements are compose a dictionary. Atoms in the dictionary are not required to be orthogonal . One of the key principles of dictionary learning is that the dictionary has to be inferred from the input data. The sparse dictionary learning method has been stimulated by the signal processing to represent the input data using as few possible components.
To unblurred an image the non-blind deconvolution blur Point Spread Function (PSF) has been used . The previous works to restore an image based on Richardson-Lucy (RL) or Weiner i¬?ltering have more noise sensitivity [15 16]. Total Variation regularizer heavy-tailed normal image priors and Hyper-Laplacian priors were also widely studied . Blind deconvolution can be performing iteratively, whereby each iteration improves the estimation of the PSF .
In  found that a new iterative optimization to solve the kernel estimation of images. To deblur images with very large blur kernels is very difficult. to reduce this difficulty using the iterative methods to deblur the image. From  found that to solve the kernel estimation and large scale optimization is used unnatural l0 sparse representation . The properties for latent text image and the difficulty of applying the properties to text image de-blurring is discussed in . Two motion blurred images with different blur directions and its restoration quality is superior than when using only a single image . A deblurring methods can be modelled as the observed blurry image as the convolution of a latent image with a blur kernel .
The camera moves primarily forward or backward caused by a special type of motion blur it is very difficult to handle. To solve this type of blur is distinctive practical importance. A solution to solve using depth variation . The feature-sign search for solving the l1-least squares problem to learn coefficients of problem optimization  and a Lagrange dual method for the l2-constrained least squares problem to learn the bases for any sparsity penalty function.
II. IMAGE DEBLURRING WITH DICTIONARY LEARNING
To estimate the deblur kernel, an iterative method to alternately estimate the unknown variables, one at a time, which divides the optimization problem into several simple ones in each iteration. Were performed more importantly, the dictionary D is learned from the input image during this optimization process. The algorithm iteratively optimizes one of K, D, I± by i¬?xing the other two, and i¬?nally obtains the deblurring kernel. With the estimated kernel, any standard deconvolution algorithm to recover the latent image can be applied. The initial dictionary and the initial kernel value is convoluted and this result will be called as dictionary and this dictionary is subtracted by blur image.
Fig.1 block diagaram for deblurring algorithm is shown in below
A. Estimate Sparse Coefficient
To follow the below algorithm to estimating the sparse coefficients of the given input blurred image.
Step 1: Get the blurred input image B
Step 2: Spilt the B into four patches as p1,p2,p3,p4.
Step 3: Consider first image patch p1 and find the sparse coefficient to fix K using Gaussian kernel and D as identity matrix.
I±(n+1) = argmin||I±||1 (2)
s.t. b =(K(n) aS-D(n))I± (3)
Step 4: For each iteration the I± value should be updated into D
Step 5: Take N iterations to estimating the I±(n+1).
Step 6: Repeat the above 5 steps to all image patches and estimate the I±(n+1).
B. Updating Dictonary
In the knowledge of previous algorithm using the sprase coefficient to updating the dictionary of the image.
Step 1: To update the dictionary, deconvolve blurred image with kernel up to Last iteration using any deconvolution algorithm and get Ip.
Step 2: Ip image is split into four patches.
Step 3: Update the dictionary using I±(n+1) and D.
D(n+1) = min||Ip a?’D(n)I±(n+1)||22.(4)
Step 4: Repeat the steps 1 to 3 to all image patches and estimating the D(n+1).
C.Recovering Deblur Image
Consider previous algorithm to estimate the deblur kernel of the image and finally to recovered the deblur image.
Step 1: Find the latent image patch using
Ip(n+1) = D(n+1)I±(n+1)(5)
Step 2: Merge the all image patches of Ip.
Step 3: The reconstructed image is subtracted from the blurred input image to obtain the deblur kernel.
Step 4: Perform the deconvolution with the input blurred image and Deblur kernel using wiener deconvolution method.
Step 5: Apply the regularization filter to the wiener deconvolution image to recover the original image.
After that the RMSE, PSNR, SSIM and visual perception were analyzed for various images.
III. SIMULATION RESULTS
To implement the deblur algorithm is simulated using MATLAB R2013a (184.108.40.2064). The root mean square error, power to signal noise ratio, structural similarity index metric and visual perception were analyzed for various images. From the analysis, it is observed that the deblurring were efficiently performed.
Also carry out experiments with images blurred by randomly generated kernel. The existing deblurring algorithms are usually developed to deal with motion blur problems in which the kernels are oriented and simple. However, the camera shakes are complex and cannot be modeled well with simple blur kernels. This algorithm is able to recover the latent image with more details and better contrast.
The initial kernel K0 is set to be theGaussian kernel with I? =1, and I“ is set as 1 and identity matrix I. The colour images are used for experiments and crop a small portion ( e.g. 512A-512 pixels) of the tested image to estimate kernel using the algorithm as given in Chapter 2.The regularized filter algorithm has been used to reconstruct image I. The i¬?nal deblurred image can be recovered once the deblur kernel is estimated.
Fig.2. Experimentel results of deblurring algorithm. (a) blurred image (original size is 256 A- A);(b) deblurred image 1;(c)final deblurred image;
A. Performance Measurement
The root mean square error(RMSE), power to signal noise ratio(PSNR), structural similarity index metric(SSIM) and visual perception were analyzed for various images. From the analysis, it is observed that the deblurring were efficiently performed for the use sparse representation of the image. If the accuracy of the estimated kernel is improved at each iteration, the proposed algorithm will i¬?nd a reasonably good solution. Further reducing the RMSE comparable to other methods.
TABLE I:RMSE VALUES UNDER DIFFERENT ALGORITHMS
TABLE 2:PSNR VALUES UNDER DIFFERENT ALGORITHMS
RMSE and PSNR comparison for different deblurring methods shown in the table. The experiments are conducted using four test images, namely Barbara, koala, castle1.
TABLE 3:SSIM VALUES FOR OUR ALGORITHMS
From the analysis, it is observed that the deblurring were efficiently performed. Because of the ssim value should be less than 1.
IV. CONCULSION AND FUTURE WORK
In this paper, we propose an effective deblurring algorithm with dictionary learning using one single image were simulated. By decomposing the blind deconvolution problem into three portions deblurring and learning sparse dictionary from the image, our method is able to estimate blur kernels and thereby deblurred images. Experimental results show that this algorithm achieves favourable performance.
In future the deblurring algorithm is to be implement on FPGA with suitable architectures.
 L. Xu, S. Zheng, and J. Jia, “Unnatural 0 sparse representation for natural image deblurring,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), Jun. 2013, pp. 1107-1114.
 H. Cho, J. Wang, and S. Lee, “Text image deblurring using text specii¬?c properties,” in Proc. Eur. Conf. Comput. Vis. (ECCV), Oct. 2012, pp. 524-537.
 L. Xu and J. Jia, “Two-phase kernel estimation for robust motion deblurring,” in Proc. Eur. Conf. Comput. Vis. (ECCV), Sep. 2010, pp. 157-170.
 J. P. Oliveira, M. A. T. Figueiredo, and J. M. Bioucas-Dias, “Parametric blur estimation for blind restoration of natural images: Linear motion and out-of-focus,” IEEE Trans. Image Process., vol. 23, no. 1, pp. 466-477, Jan. 2014.
 H. Zhang, D. Wipf, and Y. Zhang, “Multi-observation blind deconvolution with an adaptive sparse prior,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 36, no. 8, pp. 1628-1643, Aug. 2014.
 O. Whyte, J. Sivic, A. Zisserman, and J. Ponce, “Non-uniform deblurring for shaken images,” Int. J. Comput. Vis., vol. 98, no. 2, pp. 168-186, 2012.
 A. Gupta, N. Joshi, C. L. Zitnick, M. Cohen, and B. Curless, “Single image deblurring using motion density functions,” in Proc. 11th Eur. Conf. Comput. Vis.(ECCV), Sep. 2010, pp. 171-184.
 S. Zheng, L. Xu, and J. Jia, “Forward motion deblurring,” in Proc. IEEE Int. Conf. Comput. Vis. (ICCV), Dec. 2013, pp. 1465-1472.
 T. Goldstein and S. Osher, “The split Bregman method for L1-regularized problems,” SIAM J. Imag. Sci., vol. 2, no. 2, pp. 323-343, 2009.
 H. Lee, A. Battle, R. Raina, and A. Y. Ng, “Efi¬?cient sparse coding algorithms,” in Advances in Neural Information Processing Systems 19. Cambridge, MA, USA: MIT Press, 2007, pp. 801-808.
 R. Fergus, B. Singh, A. Hertzmann, S. T. Rowels, and W. T. Freeman. Removing camera shake from a single photograph. In SIGGRAPH, 2006.
 Q. Shan, J. Jia, and A. Agarwala. High-quality motion deblurring from a single image. In SIGGRAPH, 2008.
 Z. Hu, J.-B. Huang, and M.-H. Yang, “Single image deblurring with adaptive dictionary learning,” in Proc. 17th IEEE Int. Conf. Image Process. (ICIP), Sep. 2010, pp. 1169-1172.
 L.Lucy.An iterative technique for the rectii¬?cation of observed distributions. Astronomical Journal, 79(6):745-754, 1974.
 W. Richardson. Bayesian-based iterative method of image restoration. Journal of the Optical Society of America, 62(1):55-59, 1972.
 N.Wiener, Extrapolation, Interpolation and Smoothing of Stationary Time Series. MIT Press, 1964.
 A. Levin, Y. Weiss, F. Durand, and W. T. Freeman, “Understanding blind deconvolution algorithms,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 33, no. 12, pp. 2354-2367, Dec. 2011.