Image Inpainting Using Non-Negative Matrix Factorization
Image Inpainting Using Non-Negative Matrix Factorization
Non Blinded Image Inpainting With Low Rank Non-Negative Matrix Factorization
Abstract: In digital image processing object removal from a digital image is termed as inpainting. Image recuperation especially with
high curvature are inpainting challenges. Due to both colour and texture preservation non blinded exemplar based approaches are
famous among other inpainting algorithms. In general these algorithm possess greedy approach in the selection of a target patch, the
selection is based upon dedicated priority defined on every patch at contour of the target region, this may jeopardize searching and
selection of a good exemplar in global space. The whole process is time consuming and computationally expensive. To tackle said
problems a novel algorithm is proposed which reduces the dimension of global search space using neighbour patches information of
target region throughNon-Negative Matrix Factorization (NMF). Due to NMF nature of lower dimension approximation, improvised
efficiency is observed in an experiment without compromising the quality of inpainted image. The inpainted result of the proposed
algorithm is comparable with other inpaintingtechniques.
the composite texture into sub texture. Criminsi the rows and columns of a given matrix. The matrices of
extended(Harrison, 2001) the combination of both two non-negative factors obtained by NMF are W
textural and structural approaches in one model and rd and H dc as
define priority to each block centralized at the contour of
the target region, priority is defined on the basis of (1)
confidence and data terms. Wong (Wong, 2008)uses
global information obtained from several weighted Where, d is the decomposition factor. The factors W
similarity samples within the image, and these sample and H are obtained by minimizing the following
aggregate to fill the missing part but produces blurring objective function.
effects. Sangeetha et al, Muthu et al.(Sangeetha, 2011)
(Vallilka, 2013) extended (Criminisi, 2003) they , ∑ ∑ , , (1)
introduced additive weights to the priority term instead
of multiplication based priority. (Pirtika. 2014) have 3. PROPOSED INPAINTING USING
extended (Chen and Shen, 2001) by introducing NON-NEGATIVE MATRIX FACTORIZATION.
similarity metric based on an image gradient on the In an image I , the observed known source region
assumption that linear structure propagation to target is , the unknown area target of an image I is
region on color basis is not sufficient. (Zhang, 2012) has
represented by and target edge is . The
extended method by defining priorities on contour on the
basis of color distribution. Xu and Sun (Sun, 2010) algorithm initiate from a patch p localized at the target
adopted a sparse representation theory to fix the partial boundary having both known and unknown observation,
informative patch. Wangand Zhang (Wang, 2011) have on the assumption that the most reliable information can
given an idea of Weighted Sparse Non-Negative matrix be determined through neighbors of the target patch of an
factorization,first by defining the weight matrix in image, the neighbor region N is defined and searched
which 1 and 0 belongs to the source and target in global space. In search of good exemplar there is a
respectively,second by estimating similar patch using chance that the patch n N selects itself, for avoiding
i
expectation maximization(EM) algorithm in which the
corresponding missing values are replaced at E-step and this confusion N and are removed from source
unweighted nmf is applied in M-step. Mao and Saulgive region. Now source becomes
an addition of unweighted sparse constraint for
predicting the missing part as (Choi, 2009).This paper = N (3)
proposed a novel approach to improvise efficiency by
utilizing the information of neighbor patches having all Four connected neighbors patches ni ,i = 1,2,3,4 are
pixels ON (no missing information)in praxis of Non
introduced to the selected target patch p in clock wise
negative matrix factorization(NMF), refer section2.
Assuming that the most reliable information can be direction with their position z preserved refer (Fig.2).
obtained through neighbors to the target. These neighbor
patches have full structural and textural information, this
will revoke the need of weight matrix and sparse
representation like previous technique (Sun, 2010).
Fundamentals of proposed algorithm are in section 0,
result and comparisons on both synthetic and natural
inpainted images are under section 3.
The first patch ni having all pixel ON or patch ni to p is selected and its position z is
ni N is used to search the almost identical patch preserved for future utilization the patch ni is also
qn in the source region, from qn the patch q is T
converted to column matrix V . To find the objective
qn
T T
selected which is at the compliment position z of coefficient H , factorize V with basis matrix
S
is d x 1. To find
T
. The partial part of the selected patch q is utilized for W R d , Where the dimension of H
the most relevant patch in source space S , the
filling the missing portion of the target patch p and S T
coefficient of source space H and coefficient H
updates the target region. The algorithm continues till all
contain d feature of patch ni are searched using L2
patches in the target region get updated. The
algorithm procedure is time consuming as the source -norm.
region is searched globally to find the similar patch. The | , | (5)
time issue the dimension of search space is reduced as
defined in next subsection. The patch qn is localized at pixel qn is almost
C. Visual Comparison
Proposed algorithm is tested on various images,the
result shows that proposed algorithm recover images in
more acceptable view to unsuspicious eye while
comparing to other techniques.See (Fig.6) for visual
comparison.
Fig.5: The above chart shows that the quality of recovered images
by the proposed algorithm is higher than other especially where
there is complex texture.
Non Blinded Image Inpainting With Low Rank... 745
to previous restoration and object removing techniques Bertalmio, M., (2000). Image Inpainting. 27th annual
because of dimension reduction it performs faster than conference on Computer graphics and interactive
earlier algorithm. Currently proposed algorithm is techniques417-424. ACM Press/Addison- Weskey
extending to multi images with the dimension reduction publishing CO.
A. AKBAR et al. 746
Bonet, J. D., (1997). Multiresoution Sampling Procedure Pirtika, H., A. G. Patel, (2014). Improve Robust
for analysis and synthesis of texture images. In Algorithm for examlar based image inpainting.
proceeding of SIGGRAPH, 31, 361-368. International journal of Advance Research in Computer
Application, 101, 23-27.
Chen, T., J.Shen, (2001). Local inpainting models and
TV inpainting. SIAM Journal applied Maths, 1019-1043. Sangeetha, K., (2011). A Novel Exampler based image
inpainting algorithm for natural image scene completion
Chen, T., (2001). Non -Texture diffusion by curvature with improved patch priortizing. Int. Journal of
diffusion. Journal of Visual Communication and Image Computer application, 36, 7-12.
Representation, 436-449.
Saul, L.K.,(2004). Modeling distance in large- scale
Choi, S., (2009). Weighted Non-Negative Matrix Matrix networks by atrix factorization. ACM Internet
Factorization. In ICCASSP, 1541-1544. Measurement 278-287 SIGGCOM.
Criminisi, A., (2003). Object removal by examplar based Shum, Y. Q., (2001). Real Time Texture Synthesis by
inpainting. In proceeding of Computer Vision and patch based Sampling. ACM Transaction on Graphics
Pattern Recogination, 721-728. (TOG), 20, 127-150.
Drori, H. Y. I., (2003). Fragment based image Sun, J., (2010). Image Inpainting by Patch Propagation
compeletion. InProceeding of ACM Transition On using Patch Sparsity. International Conference on Image
Graphics SIGGRAPH, 22,303-312. Processing.19, 1153-1165. IEEE Transaction.
Ford, J., (2006). Learning from incomplete rating using Tang, C. K., (2003). Image repairing : Robust image
non-negative matrix factorization. International synthesis by adaptive and tensor voting. In Proceeeding
Conference on Data Mining549-553. SIAM. of Computer Vision and Pattern Recogination. Madison.
Freeman,T., (2001). Image quilting for texture synthesis
and transfer. In proceeding of SIGGRAPH, 341-346. Tele, A., (2004). An Image Inpainting technique based
on the fast marching method. Journal of graphics tool,
Harrison, P., (2001). A Non-hierarcial procedure of 09, 23-24.Vallilka,N., 2013.
re-synthesis of complex texture. In Proceeding of Central
Europe Comp. Graphics and Comp. Vision. Wang, Y. X., (2011). Image Inpainting Via weigthed
Sparse Non-Negative Matrix Factorization. 18th
Lee, D., (2000). Algorithm for n0n-negative matrix International Conference on Image Processing
factorization. NIPS556-562. MIT Press. 3409-3412. IEEE.
Leung, T., (1999). Texture Synthesis by Non Paramatric
Sampling. In Proceeding of Int.l Conf Computer Vision, Wong, O., (2008). A non-local means approach to
1033-1038. examplar based inpainting. Int. Conf. on Image
Processing ICIP2600-2603. IEEE.
Morel, J., (1998). Level LInes based disocclusion. Int.
Conf. on Image Processing. Chicago. Zhang, Q., (2012). Exemplar based image inpainting
Pasztor, E. C., (2000). Learning Low Level Vision. Int. using color distribution analysis. Journal of Information
Journal of Computer Vision, 40, 2547. Science and Engineering, 641-654.