Fast and Enhanced Algorithm for Exemplar Based Image Inpainting (Paper# 132)

Similar documents
Region Filling and Object Removal by Exemplar based Image Inpainting Sayali Baheti 1 Payal Shah 2 Deeksha Jagtap 3 Amruta Pawar 4

ENHANCED EXEMPLAR BASED INPAINTING USING PATCH RATIO

Geeta Salunke, Meenu Gupta

The Proposal of a New Image Inpainting Algorithm

IMA Preprint Series # 2016

IJCSN International Journal of Computer Science and Network, Volume 3, Issue 1, February 2014 ISSN (Online) :

A Robust and Adaptive Image Inpainting Algorithm Based on a Novel Structure Sparsity

Image Inpainting By Optimized Exemplar Region Filling Algorithm

Object Removal Using Exemplar-Based Inpainting

A Review on Image Inpainting to Restore Image

Image Inpainting and Selective Motion Blur

AN ANALYTICAL STUDY OF DIFFERENT IMAGE INPAINTING TECHNIQUES

A Review on Design, Implementation and Performance analysis of the Image Inpainting Technique based on TV model

Robust Exemplar based Object Removal in Video

A Review on Image InpaintingTechniques and Its analysis Indraja Mali 1, Saumya Saxena 2,Padmaja Desai 3,Ajay Gite 4

Comparative Study and Analysis of Image Inpainting Techniques

Image Inpainting by Patch Propagation Using Patch Sparsity Zongben Xu and Jian Sun

Image Inpainting by Hyperbolic Selection of Pixels for Two Dimensional Bicubic Interpolations

REMOVING OCCLUSION IN IMAGES USING SPARSE PROCESSING AND TEXTURE SYNTHESIS

Image Completion: Comparison of Different Methods and Combination of Techniques

Region Filling and Object Removal in Images using Criminisi Algorithm

Texture Synthesis and Image Inpainting for Video Compression Project Report for CSE-252C

Crack Classification and Interpolation of Old Digital Paintings

Image Inpainting. Seunghoon Park Microsoft Research Asia Visual Computing 06/30/2011

Image Inpainting Using Sparsity of the Transform Domain

Image Restoration using Multiresolution Texture Synthesis and Image Inpainting

Analysis and Comparison of Spatial Domain Digital Image Inpainting Techniques

An Efficient Information Hiding Scheme with High Compression Rate

Texture Sensitive Image Inpainting after Object Morphing

Repairing and Inpainting Damaged Images using Diffusion Tensor

ON THE ANALYSIS OF PARAMETERS EFFECT IN PDE- BASED IMAGE INPAINTING

ROBUST INTERNAL EXEMPLAR-BASED IMAGE ENHANCEMENT. Yang Xian 1 and Yingli Tian 1,2

Computational Acceleration of Image Inpainting Alternating-Direction Implicit (ADI) Method Using GPU CUDA

Image Inpainting Using Vanishing Point Analysis and Scene Segmentation

Detailed Survey on Exemplar Based Image Inpainting Techniques

Video Inpainting Using a Contour-based Method in Presence of More than One Moving Objects

Automatic Logo Detection and Removal

A Two-Step Image Inpainting Algorithm Using Tensor SVD

Novel Occlusion Object Removal with Inter-frame Editing and Texture Synthesis

" Video Completion using Spline Interpolation

Old Manuscripts Restoration Using Segmentation and Texture Inpainting

Advances in Natural and Applied Sciences. Detecting Wrinkles and Sagginess of Skin from Human Face Photographs

Robust Steganography Using Texture Synthesis

VIDEO INPAINTING FOR NON-REPETITIVE MOTION GUO JIAYAN

Inverse Problems in Astrophysics

Comparison of Wavelet and Shearlet Transforms for Medical Images

A Computationally Efficient Approach for Exemplar-based Color Image Inpainting using GPU

Image Inpainting with the Navier-Stokes Equations

CS229 Final Project One Click: Object Removal

A Total Variation Wavelet Inpainting Model with Multilevel Fitting Parameters

Novel Video Inpainting and Secure QR Code Watermarking Technique

From Image to Video Inpainting with Patches

Spatio-Temporal Image Inpainting for Video Applications

Image completion based on views of large displacement

SURVEY ON DIFFERENT TECHNIQUES IN IMAGE INPAINTING

IMAGE INPAINTING CONSIDERING BRIGHTNESS CHANGE AND SPATIAL LOCALITY OF TEXTURES

DEPTH IMAGE BASED RENDERING WITH ADVANCED TEXTURE SYNTHESIS. P. Ndjiki-Nya, M. Köppel, D. Doshkov, H. Lakshman, P. Merkle, K. Müller, and T.

Introduction to Visible Watermarking. IPR Course: TA Lecture 2002/12/18 NTU CSIE R105

IMA Preprint Series # 1979

Nonparametric Bayesian Texture Learning and Synthesis

Decomposition of Image Restoration Model in the Application of Tibetan Ancient Thangka Repair

A HYBRID METHOD FOR OCCLUSION REMOVAL

Resolution Magnification Technique for Satellite Images Using DT- CWT and NLM

IMAGE COMPLETION BY SPATIAL-CONTEXTUAL CORRELATION FRAMEWORK USING AUTOMATIC AND SEMI-AUTOMATIC SELECTION OF HOLE REGION

Stereoscopic image inpainting: distinct depth maps and images inpainting

Sparsity and image processing

Universiteit Leiden Opleiding Informatica

ISSN: (Online) Volume 2, Issue 5, May 2014 International Journal of Advance Research in Computer Science and Management Studies

Stereoscopic Inpainting: Joint Color and Depth Completion from Stereo Images

Stereoscopic Image Inpainting using scene geometry

International Journal of Advance Research In Science And Engineering IJARSE, Vol. No.3, Issue No.10, October 2014 IMAGE INPAINTING

Hybrid Video Compression Using Selective Keyframe Identification and Patch-Based Super-Resolution

Subpixel Corner Detection Using Spatial Moment 1)

INPAINTING WITH SPARSE LINEAR COMBINATIONS OF EXEMPLARS. Brendt Wohlberg

3D Image Restoration with the Curvelet Transform

THE problem of automatic video restoration in general, and

A Survey of Light Source Detection Methods

A Flexible Scheme of Self Recovery for Digital Image Protection

Low-rank image completion with entropy features

An Adaptive Threshold LBP Algorithm for Face Recognition

Research Article An Efficient Multi-resolution Video Compression Approach with Inpainting Algorithm

IMAGE RESOLUTION ENHANCEMENT USING BICUBIC AND SPLINE INTERPOLATION TECHNIQUES

Learning How to Inpaint from Global Image Statistics

Restoration of Images Corrupted by Mixed Gaussian Impulse Noise with Weighted Encoding

CHAPTER 9 INPAINTING USING SPARSE REPRESENTATION AND INVERSE DCT

Representation of 2D objects with a topology preserving network

REJECTION-BASED CLASSIFICATION FOR ACTION RECOGNITION USING A SPATIO-TEMPORAL DICTIONARY. Stefen Chan Wai Tim, Michele Rombaut, Denis Pellerin

Automatic Shadow Removal by Illuminance in HSV Color Space

Super-Resolution-based Inpainting

ELEC Dr Reji Mathew Electrical Engineering UNSW

A UNIFIED BLENDING FRAMEWORK FOR PANORAMA COMPLETION VIA GRAPH CUTS

Marcelo Bertalmío, Vicent Caselles, Simon Masnou, Guillermo Sapiro

Reliable Object Detection and Segmentation using Inpainting

An Efficient Image Sharpening Filter for Enhancing Edge Detection Techniques for 2D, High Definition and Linearly Blurred Images

Learning Dictionaries of Discriminative Image Patches

Spatial Scene Level Shape Error Concealment for Segmented Video

A Feature Point Matching Based Approach for Video Objects Segmentation

Inpainting of Ancient Austrian Frescoes

3D Object Repair Using 2D Algorithms

WEINER FILTER AND SUB-BLOCK DECOMPOSITION BASED IMAGE RESTORATION FOR MEDICAL APPLICATIONS

Transcription:

Fast and Enhanced Algorithm for Exemplar Based Image Inpainting (Paper# 132) Anupam Agrawal Pulkit Goyal Sapan Diwakar Indian Institute Of Information Technology, Allahabad

Image Inpainting Inpainting is the art of restoring lost/selected parts of an image based on the background information in a visually plausible way. Large areas with lots of information lost are harder to reconstruct, because information in other parts of the image is not enough to get an impression of what is missing. Details that are completely hidden/occluded by the object to be removed cannot be recovered by any mathematical method. Therefore the objective for image inpainting is not to recover the original image, but to create some image that has a close resemblance with the original image.

Example

Approaches Image Inpainting methods can be classified broadly into :- Texture synthesis algorithm: These algorithms sample the texture form the region outside the region to be inpainted. It has been demonstrated for textures, repeating two dimensional patterns with some randomness. Structure recreation: These algorithms try to recreate the structures like lines and object contours. These are generally used when the region to be inpainted is small. This focuses on linear structures which can be thought as one dimensional pattern such as lines and object contours.

Terms used Terms used in the literature: Image: I Region to be inpainted: Ω Source Region (I- Ω): φ Boundary of the target region: δω Figure 3: Terminologies used in inpainting [2]

Exemplar Based Approach Exemplar based approaches work as follows: Computing Filling Priorities, in which a predefined priority function is used to compute the filling order for all unfilled pixels p δω in the beginning of each filling iteration. Searching Example and Compositing, in which the most similar example is searched from the source region Φ to compose the given patch Ψ (of size N N pixels) that centred on the given pixel p. Updating Image Information, in which the boundary δω of the target region Ω and the required information for computing filling priorities are updated.

Methodology Input: Marked target region (Ω) Initialize confidence values Find boundary of target region (δω) Calculate patch priorities Chose the patch with maximum priority and find the best exemplar Replace the patch with exemplar and update confidence values Continue the process until no pixel is remaining in Ω Output: Inpainted Image

Confidence Value In this algorithm, each pixel maintains a confidence value that represents our confidence in selecting that pixel. This confidence value does not change once the pixel has been filled. We initialize the confidence value for all the pixels in the source region (Φ) to be 1 and the confidence values for the pixels in target region (Ω) to be 0.

Priority To calculate the filling order, we assign priorities to all the patches on the fill front and then take the patch with maximum priority. P p = α R c p + β D p where, C p = q ψp ϕ C(q) ψ p, D p = I p.n p and α R c p = 1 ω C p + ω. where ψ p is the area of the patch, ψ p and α is the normalization factor, n p is a unit vector orthogonal to the front (δω) at the point p and I p represents the perpendicular isophote at point p. α, β and ω are constants.

Finding the best Exemplar The next step is to find the patch that best matches the selected patch. Mean Square Error can be used to do the same. Mean Square error between two patches P and Q is defined as It may happen that two or more patches have the same MSE.

Dealing with patches with same MSE Variance can help in differentiating among such patches. Find variance of the pixel values of the patch with respect to the mean of the pixels from the same patch that correspond to the pixels belonging to source region from the patch to be inpainted (i.e. pixels that correspond to p φ Ψ ). i.e., Mean, M = f p φ Ψ # p p φ Ψ} and Variance, V = (f p φ Ψ M) 2 # p p φ Ψ}. where f denotes the pixel value of the element, #{..} represents the cardinality of the set.

Improving Efficiency Earlier approaches searched the complete image to find best exemplar. We search only the surrounding portions from the image to find the best exemplar. The diameter of the surrounding region to search is calculated at run time by taking into account the region to be inpainted. We search for the best exemplar from a rectangle defined by (StartX, star starty) and (endx, endy), where, where, m = number of rows in the patch. n = number of columns in the patch. c r = maximum number of continuous green pixels in one row c c = maximum number of continuous green pixels in one column D x and D y are constants.

Applications Repairing Photographs: With age, photographs often get damaged or scratched. We can revert deterioration using inpainting. Remove unwanted objects: Using inpainting, we can remove unwanted objects, text, etc. from the image. Special Effects: This may be used in producing special effect. Video inpainting: If extended to video inpainting, it would be able to provide a great tool to create special effects etc.

Results

References [1] M. Bertalmio, G. Saprio, V. Caselles, and C. Ballester, Image Inpainting, Proceedings of the 27th annual conference on Computer graphics and interactive technique, 417-424, 2000. [2] M. Burger, H. Lin, and C.B. Schonlieb, Cahn-Hilliard Inpainting and a Generalization for Grayvalue Images, UCLA CAM report, 08-41, 2008. [3] A. Criminisi, P. Perez, and K. Toyama, Region Filling and Object Removal by Exemplar- Based Image Inpainting, IEEE Transactions on Image Processing, 13(9), 1200-1212, 2004. [4] M. Elad, J.L. Starck, P. Querre, and D.L. Donoho, Simultaneous Cartoon and texture image inpainting using morphological component analysis (MCA), Journal on Applied and Computational Harmonic Analysis, 340-358, 2005. [5] P. Elango, and K. Murugesan, K, Digital Image Inpainting Using Cellular Neural Network, Int. J. Open Problems Compt. Math., 2(3), 439-450, 2009. [6] M.J. Fadili, J. L Starck, and F. Murtagh, Inpainting and zooming using Sparse Representations, The Computer Journal, 64-79, 2009.

References [7] G. Forbin, B. Besserer, J. Boldys, and D. Tschumperle, Temporal Extension to Exemplar- Based Inpainting applied to scratch correction in damaged image sequences, Proceedings of the International Conference on Visualization, Imaging and Image Processing (VIIP 2005), Benidorm, Espange,, 1-5, 2005. [8] R.C. Gonzalez, and R.E. Woods, Digital Image Processing, 2nd ed. Pearson Education, 2002. [9] A.C. Kokaram, R.D. Morris, W.J. Fitzgerald, and P.J.W. Rayner, Interpolation of missing data in image sequences, IEEE Transactions on Image Processing 11(4), 1509-1519, 1995. [10] M.M. Oliveira, B. Bowen, R. McKenna, and Y.S. Chang, Fast Digital Image Inpainting, Proceedings of the International Conference on Visualization, Imaging and Image Processing (VIIP 2001), Marbella, Spain, 261-266, 2001. [11] Photo Wipe, http://www.hanovsolutions.com/?prod=photowipe [12] Restore Inpaint, http://restoreinpaint.sourceforge.net/ [13] C.B. Schonlieb, A. Bertozzi, M. Burger, and H. Lin, Image Inpainting Using a Fourth-Order Total Variation Flow, SAMPTA 09, Marseille, France, 2009. [14] T. Shih, et al., Video inpainting and implant via diversified temporal continuations, Proceedings of the 14th annual ACM international conference on Multimedia, 133-136, 2006. [15] Studio Lighting, http://www.studiolighting.net/

References [16] Wen-Huang Cheng, Chun-Wei Hsieh, Sheng-Kai Lin, Chia-Wei Wang, and Ja-Ling Wu, Robust Algorithm for Exemplar-Based Image Inpainting, The International Conference on Computer Graphics, Imaging and Vision (CGIV 2005), Beijing, China, 64-69, 2005. [17] A. A. Efros and T. K. Leung, Texture synthesis by nonparametric sampling, Proceedings of IEEE International Conference on Computer Vision, Greece, 1033-1038, 1999. [18] Q. Chen, Y. Zhang and Y. Liu, Image Inpainting With Improved Exemplar-Based Approach, Multimedia Content Analysis and Mining, LNCS, vol. 4577/2007, pp.242-251, 2007

Image Inpainting Thank You. Authors: Anupam Agrawal, Pulkit Goyal, Sapan Diwakar anupam@iiita.ac.in {pulkit, sapan}@daad-alumni.de