SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
Journal of Information Engineering and Applications                                            www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011

       Comparative Analysis and Evaluation of Image
               Imprinting Algorithms
                       K. Sangeetha, P.Sengottuvelan, E. Balamurugan

               Department of Information Technology, BIT, Tamilnadu, India

                                *Email: kavigeeth@yahoo.com

Abstract
Image inpainting refers to the task of filling in the missing or damaged regions of an image in an
undetectable manner. There are a large variety of image inpainting algorithms existing in the literature.
They can broadly be grouped into two categories such as Partial Differential Equation (PDE) based
algorithms and Exemplar based Texture synthesis algorithms. However no recent study has been
undertaken for a comparative evaluation of these algorithms. In this paper, we are comparing two
different types of image inpainting algorithms. The algorithms analyzed are Marcelo Bertalmio’s PDE
based inpainting algorithm and Zhaolin Lu et al’s exemplar based Image inpainting algorithm. Both
theoretical analysis and experiments have made to analyze the results of these image inpainting
algorithms on the basis of both qualitative and quantitative way.

Keywords: Image Imprinting, Exemplar based, Texture synthesis, Partial Differential Equation
(PDE).

1. Introduction

The concept of image inpainting has been around since the first inpainting algorithm proposed by
Bertalmio et al (2000). Removing objects or portions of an image then filling in the missing data is a
critical problem in photo-editing and film post-production, such as image restoration (e.g. scratch
removal) and special effects (e.g. removal of objects). The goal of image inpainting varies, depending
on the application, from making the completed area look consistent with the rest of the image, to
making them as close as possible to the original image. The applications of image inpainting consist of
restoration of photographs, paintings, films and completion of occluded regions.
There are two primary categories of the work that focus on missing image data recovery. One is the
Partial Differential Equation(PDE) based inpainting techniques for filling in small image gaps
and the other is an exemplar based texture synthesis algorithms for generating large image
regions from sample textures.
2. Literature Review

There are a large variety of image inpainting algorithms found in the literature. The purpose of this
paper is to introduce some of the inpainting algorithms that exist from the previous research into this
area. We will group them into two broad categories such as PDE based and Exemplar based
algorithms.
2.1 PDE based inpainting algorithms
Bertalmio et al (2000) first presented the notion of digital image inpainting and used third order Partial
Differential Equations (PDE) to propagate the known image information into the missing regions along
the direction of isophote. Many algorithms (C. Ballester et al (2001), M. Bertalmio et al (2001), M.
Bertalmio et al (2000), T. Chan and J. Shen (2001), S. Masnou et al (1998)) address the region filling
issue for the task of image inpainting where speckles, scratches, and overlaid text are removed. These
image inpainting techniques are used to fill the holes in images by propagating linear structures into the
target region via diffusion. They are inspired by the partial differential equations of physical heat flow
and work convincingly as restoration algorithms. Their drawback is that the diffusion process
introduces some blur, which becomes noticeable when filling larger regions.
Later Bertalmio et al (2000), this inpainting approach was modified to take into account the Navier-
Stokes flow Bertalmio et al (2001). This operation propagates information into the masked region
while preserving the edges. So image inpainting is used to preserve edges across the missing regions,
but when repairing large regions it introduces some blur easily.
Chan et al (2000) present the Total Variation (TV) inpainting model in Levin et al (2003), based on
the Euler Lagrange equation, employs anisotropic diffusion based on the contrast of the isophote. This

                                                   13
Journal of Information Engineering and Applications                                            www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011
model, designed for inpainting small regions, does a good job at removing noise, but couldn’t repair
large regions also. The Curvature- Driven Diffusion (CDD) model T. Chan and J. Shen (2001), extends
the TV algorithm to also take into account geometric information of isophote when defining the
strength of the diffusion process, thus allowing the inpainting to proceed over larger areas. Although
some of the broken edges are connected by the CDD approach, the resulting interpolated segments
appear blurry.
There are many PDE based inpainting models (T.F. Chan et al (2002), T.F. Chan and J. Shen (2002),
T.F. Chan Sung Ha Kang (2004), S. Esedoglu and J. Shen (2002)) and all of these models are suitable
for completing small, non-textured target region. The PDE proposed by Marcelo Bertalmio (2006) is
optimal in the sense that it is the most accurate third-order PDE which can ensure continuation of level
lines. The continuation is strong, allowing the restoration of thin structures occluded by a wide gap.
Because of PDE based inpainting algorithms process the images only based on the local information,
so when the target region is large or textured, the visual perception of the processed result is bad.
2.2 Exemplar based inpainting algorithms
A large number of exemplar based texture synthesis algorithms have been proposed that are based on
the idea of creating an artificial texture from the source sample. For textured images, image inpainting
alone may not reconstruct the object faithfully, and a statistical or template knowledge of the pattern
inside the missing area is needed as well. Natural images are composed of structures and textures, in
which the structures constitute the primal sketches of an image (e.g., the edges, corners, etc.) and the
textures are image regions with homogenous patterns or feature statistics (including the flat patterns).
One of the first attempts to use exemplar-based synthesis specifically for object removal was by
Harrison (2001). There, the order in which a pixel in the target region is filled was dictated by the level
of texturedness of the pixel’s neighborhood.
Exemplar-based techniques which cheaply and effectively generate new texture by sampling and
copying color values from the source were proposed by A. Efros and T. Leung (1999), M. Ashikhmin
(2001), A. Efros and W. T. Freeman (2001), Freeman et al (2000) and A. Hertzmann et al (2001). Jia et
al (2003) have presented a technique for filling image regions based on a texture-segmentation step and
a tensor-voting algorithm for the smooth linking of structures across holes. Zalesny et al (2002)
describe an algorithm for the parallel synthesis of composite textures.
The exemplar-based texture synthesis takes an exemplar and generates additional content based on that
exemplar to create much more content than is contained in the exemplar. Traditionally, exemplar-based
texture synthesis includes a correction process that compares neighborhoods of each synthesized pixel
with neighborhoods of the exemplar.
Criminisi et al (2004) designed an exemplar based inpainting algorithm by propagating the known
image patches (i.e., exemplars) into the missing patches gradually. To handle the missing region with
composite textures and structures, patch priority is defined to encourage the filling order of patches on
the structure.
Wu (2006) proposed a cross isophotes Examplar-based inpainting algorithm, in which a cross-
isophotes patch priority term was designed based on the analysis of anisotropic diffusion. Wong (2008)
proposed a nonlocal means approach for the examplar-based inpainting algorithm. The image patch is
inferred by the nonlocal means of a set of candidate patches in the known region instead of a single
best match patch.
More exemplar-based inpainting algorithms (G. T. N. Komodakis (2007), I. Drori et al (2005)) were
also proposed for image completion. Zhaolin Lu (2010) proposed an algorithm that copies the
determined source template to the destination template and updates the information of the destination
template.
All the aforementioned exemplar-based models used in image inpainting fills the target region with the
most similar exemplar in image. The whole exemplar is copied into target region, so the texture
information of image is well preserved. But they cannot preserve the linear structure well. These
exemplar-based image completion algorithms work well only if the missing region consists of simple
structure and texture. If there are not enough samples in the image, it will be impossible to synthesize
the desired image.
3. Overview of Marcelo Bertalmio’s PDE based inpainting algorithm and Zhaolin Lu et al’s
Exemplar based inpainting algorithm
Due to the large amount of previous research work, a large and variety of image inpainting algorithms
exist. To try and cover all the algorithms available would be infeasible. With this in mind, we have
decided to compare only two different algorithms. The first algorithm was the one that proposed by
Marcelo Bertalmio in [2006] which focuses on reconstructing the structure of occluded area. The
second algorithm was the one that proposed by Zhaolin Lu et al in [2010] which focuses on
reconstructing the texture of occluded area.

                                                   14
Journal of Information Engineering and Applications                                           www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011
The following is a brief explanation of Marcelo Bertalmio’s PDE based and Zhaolin Lu et al’s
exemplar based inpainting algorithms, which are chosen to do some experiments on real scene images
in section 5.
3.1 Marcelo Bertalmio’s PDE based inpainting algorithm
In this paper a third-order PDE have been introduced to perform geometric inpainting on images. The
image inpainting algorithm of Bertalmio et al (2000) is not contrast invariant, as it was pointed out by
Chan et al (2001). In this paper (Marcelo Bertalmio (2006)), the inpainting problem was reformulated
as a particular case of image interpolation in which the author intended to propagate level lines.
Expressing this in terms of local neighborhoods and using a Taylor expansion, a third-order PDE was
derived that performs inpainting. With this equation, the edges are propagated inside the gap with
minimum bending, allowing for the connection of thin structures occluded by a wide gap, and also the
formation of corners. This PDE is optimal in the sense that it is the most accurate third-order PDE
which can ensure good continuation of level lines. The continuation is strong, allowing restoring thin
structures occluded by a wide gap. The result is also contrast in-variant.
This algorithm performs well for small filling region images and preserves the linear structures.
3.2 Zhaolin Lu et al’s Exemplar based inpainting algorithm
In this paper, the method by Criminisi et al (2004) was improved by the use of geometrical structure
feature of image. The contributions of this new approach (Zhaolin Lu et al (2010)) consist of the
following aspects:
(1) The size of image patch can be decided based on the gradient domain of image. (2) The filling
priority is decided by the geometrical structure feature of image, especially the curvature and the
direction of the isophotes. (3) It introduces a better patch-matching scheme, which incorporates the
curvature and color of image.
This algorithm performs well even for a large filling region images and for textured regions.
4. Evaluation Method
Formulating an accurate evaluation method for determining the success of the two algorithms was a
very important yet difficult task. This was because no common method for evaluating inpainting
algorithms has been presented in the literature. To try and provide a good and accurate evaluation of
the algorithms, it was decided to use both a qualitative and a quantitative approach. The assessment of
the results for the qualitative tests was done mainly by visual analysis.
The quantitative evaluation was performed by repeating the experiments multiple times for different
size occlusions placed randomly throughout the images. These sizes were chosen as they show a large
variation in occlusion sizes and would provide a good overview of the algorithm’s capabilities. This
was obtained by calculating the Peak Signal-to-Noise Ratio (PSNR) between the two images. PSNR is
“an engineering term for the ratio between the maximum possible power of a signal and the power of
corrupting noise that affects the fidelity of its representation”. PSNR values are represented in decibels
(dB).
Basically the higher the PSNR value, the larger the similarity of the restored image to the original.
Ideally it would be nice to specify what a good PSNR value is, but during the testing it was found that
while some images could look visually pleasing, they may have extremely low PSNR values. The
equation to calculate a PSNR value is given below:

         PSNR=20.log10 (MAXI /               )



                                                                             2
          where MSE= (1/ mn)
         and MAX I = 255.
5. Comparison of Experiment Results
We have experimented with the Marcelo Bertalmio’s PDE based inpainting algorithm (2006) on some
images comparing with Zhaolin Lu et al’s Exemplar based inpainting algorithm (2010). We have
implemented these algorithms using Mat lab 2008Ra.
Based on the experiment results obtained by the aforementioned algorithms, it is observed
that PDE based inpainting algorithms cannot reconnect the linear structure in a large region and it
cannot restore texture patterns. It is also observed that exemplar based inpainting algorithms can find
proper exemplars to fill in the target region and preserve linear structure.
We have tested many input images and the experiment has been carried out multiple times for the same
image with different occlusion sizes. Various parameter settings are needed for both algorithms.



                                                  15
Journal of Information Engineering and Applications                                     www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011
The parameters needed for Bertalmio algorithm are: (1) I=No of inpainting steps needed to perform
each iteration (2) D= No of Diffusion steps needed to perform each iteration (3) T= Total no of
iterations to perform (4) dT=The speed of the evolution.
The parameters needed for Zhaolin Lu et al’s algorithm are: (1) ω =template window size (2) β =Band
size around the occluded area (3) ɛ =Error Threshold (4) δɛ = Multiplier for Error threshold if no
progress is detected.
 Sample results have been shown in the following figures.
       Figure 1: Results of two different inpainting algorithms (with variable occlusion sizes)
                                     Original image with variable occlusion sizes




                          1.2 Results of Marcelo Bertalmio Algorithm [12]




                                                16
Journal of Information Engineering and Applications                         www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011




                         1.3 Results of Zhaolin Lu et al’s Algorithm [21]




                                               17
Journal of Information Engineering and Applications                            www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011




                    Figure 2: Results of two different inpainting algorithms




                                              18
Journal of Information Engineering and Applications   www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011




                                              19
Journal of Information Engineering and Applications   www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011




                                              20
Journal of Information Engineering and Applications                                  www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011




Table 1           Comparison of the two different inpainting algorithms
Inpainting Algorithms    MSE(10 ˜Pixels)          MSE(20 ˜Pixels)         MSE(40 ˜Pixels)

PDE based                   2502.45                4036.64                5899.36
(Marcelo Bertalmio [12]
)
Exemplar based              1747.18                2354.23                3012.46
(Zhaolin Lu et al’s [21])



Graph 1. The relationship between the value of MSE and the size of occlusion area.




                                              21
Journal of Information Engineering and Applications                                           www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011




From the experiment results it is known that exemplar based inpainting algorithm provides good results
than PDE based algorithm in both qualitative and quantitative approach.


6. Conclusion and Further Work
    In this paper, we have looked at two different types of inpainting methods. For each of the
algorithms, we have provided a brief explanation of the process used for filling an occlusion making
use of images. In addition, we have performed both a qualitative and quantitative analysis of the
algorithms. From this analysis, a number of shortcomings and limitations were highlighted in relation
to the type of information each algorithm can restore.
Compared with the PDE based inpainting algorithms, the exemplar-based inpainting algorithms have
performed plausible results for inpainting the large missing region. Theoretical analysis and
experiments proved that the exemplar based inpainting algorithms can inpaint both texture and
structure image well.
 References
         M. Bertalmio et al (2000), “Image inpainting,” in Proceedings of ACM SIGGRAPH
          Conference on Computer Graphics, pp. 417-424.
           C. Ballester et al (2001), “A variational model for filling-in gray level and color images,” in
          Proc. Int. Conf. Computer Vision, Vancouver, BC, Canada, pp. 10–16.
          M. Bertalmio et al (2001), “Navier-Stokes, fluid dynamics, and image and video inpainting,
          Proceedings of the IEEE Computer Vision and Pattern Recognition (CVPR), Hawaii.
          M. Bertalmio et al (2000), “Image inpainting,” in Proc. ACM Conf. Comp. Graphics
          (SIGGRAPH), New Orleans, 417–424.
          T. Chan and J. Shen (2001), Non-texture inpainting by Curvature-Driven Diffusions (CCD),
          J. Vis. Communication Image Representation, 436– 449.
          S. Masnou et al (1998), “Level lines based disocclusion,” in Int. Conf. Image Processing,
          Chicago, IL.
          T.F. Chan et al (2002), “Euler’s elastica and curvature based inpainting”, SIAM J. Appl.
          Math. 63, 564–592.
           T.F. Chan and J. Shen (2002), Mathematical models for local nontexture inpainting, SIAM J.
          Appl. Math. 62 1019–1043.
          T.F. Chan Sung Ha Kang (2004), Error analysis for image inpainting, CAM 04-72.
          S. Esedoglu and J. Shen (2002),” Digital inpainting based on the Mumford shah Euler image
          model”, Eur. J. Appl. Math. 13, 353–370.
          A. Levin et al (2003), “Learning how to inpaint from global image statistics”, Proc. IEEE Int.
          Conf. Comp. Vision, pages 305-313.
          Marcelo Bertalmio (2006), “Strong-Continuation, Contrast-Invariant Inpainting with a Third-
          Order Optimal PDE”, IEEE Transactions On Image Processing, VOL. 15, NO. 7.
           A. Efros and T. Leung (1999), “Texture synthesis by non-parametric sampling,” in Proc. Int.
          Conf. Comp. Vision, pp. 1033–1038.
          P. Harrison (2001), “A nonhierarchical procedure for re-synthesis of complex texture,” in
          Proc. Int. Conf. Central Europe Computer Graphics, Visualization, and Computer Vision,
          Plzen, Czech Republic.



                                                  22
Journal of Information Engineering and Applications                                        www.iiste.org
ISSN 2224-5758 (print) ISSN 2224-896X (online)
Vol 1, No.5, 2011
          J. Jia and C. K. Tang (2003), “Image repairing: Robust image synthesis by adaptive nd tensor
        voting,” in Proc. IEEE Computer Society Conf. Computer Vision and Pattern Recognition, pp.
        643–650.
         A. Criminisi et al (2004), “Region filling and object removal by exemplar-based image
        inpainting,” IEEE Trans. Image Process., vol. 13, pp. 1200–1212.
         J.Wu and Q. Ruan (2006), “Object removal by cross isophotes exemplar based image
        inpainting,” in Proc. Int. Conf. Pattern Recognition, pp.810–813.
          A. Wong and J. Orchard (2008), “A nonlocal-means approach to exemplar based inpainting,”
        presented at the IEEE Int. Conf. Image Processing.
         G. T. N. Komodakis (2007), “Image completion using efficient belief propagation via priority
        scheduling and dynamic pruning,” IEEE Trans. Image Process., vol. 16, pp. 2649–2661.
         I. Drori et al (2005), “Fragment-based image completion,” ACM Trans. Graph, vol. 22, pp.
        303–312,
         Zhaolin Lu et al (2010), “A Novel Hybrid Image Inpainting Model” presented at the
        IEEE International Conference on Genetic and Evolutionary Computing.
         A. Zalesny et al (2002), “Parallel composite texture synthesis,” in Texture 2002 Workshop—
        ECCV, Copenhagen, Denmark.
          M. Ashikhmin (2001), “Synthesizing natural textures,” in Proc. ACM Symp. Interactive 3D
        Graphics, 217–226.
         A. Efros and W. T. Freeman (2001), “Image quilting for texture synthesis and transfer,” in
        Proc. ACM Conf. Computer Graphics (SIGGRAPH), Aug., pp. 341–346.
          Freeman et al (2000), “Learning low level vision,” Int. J. Computer. Vis.vol. 40, no. 1, pp.
        25–47.
          A. Hertzmann et al (2001), “Image analogies,” in Proc. ACM Conf. Computer Graphics
        (SIGGRAPH).




                                                 23

Contenu connexe

Tendances

Image texture analysis techniques survey-1
Image texture analysis techniques  survey-1Image texture analysis techniques  survey-1
Image texture analysis techniques survey-1
anitadixitjoshi
 
Kentaro_region_filling_inpainting
Kentaro_region_filling_inpaintingKentaro_region_filling_inpainting
Kentaro_region_filling_inpainting
Vipin Gupta
 

Tendances (16)

Land Boundary Detection of an Island using improved Morphological Operation
Land Boundary Detection of an Island using improved Morphological OperationLand Boundary Detection of an Island using improved Morphological Operation
Land Boundary Detection of an Island using improved Morphological Operation
 
Survey on Brain MRI Segmentation Techniques
Survey on Brain MRI Segmentation TechniquesSurvey on Brain MRI Segmentation Techniques
Survey on Brain MRI Segmentation Techniques
 
A NOVEL PROBABILISTIC BASED IMAGE SEGMENTATION MODEL FOR REALTIME HUMAN ACTIV...
A NOVEL PROBABILISTIC BASED IMAGE SEGMENTATION MODEL FOR REALTIME HUMAN ACTIV...A NOVEL PROBABILISTIC BASED IMAGE SEGMENTATION MODEL FOR REALTIME HUMAN ACTIV...
A NOVEL PROBABILISTIC BASED IMAGE SEGMENTATION MODEL FOR REALTIME HUMAN ACTIV...
 
International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)
 
Image texture analysis techniques survey-1
Image texture analysis techniques  survey-1Image texture analysis techniques  survey-1
Image texture analysis techniques survey-1
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
A CONCERT EVALUATION OF EXEMPLAR BASED IMAGE INPAINTING ALGORITHMS FOR NATURA...
A CONCERT EVALUATION OF EXEMPLAR BASED IMAGE INPAINTING ALGORITHMS FOR NATURA...A CONCERT EVALUATION OF EXEMPLAR BASED IMAGE INPAINTING ALGORITHMS FOR NATURA...
A CONCERT EVALUATION OF EXEMPLAR BASED IMAGE INPAINTING ALGORITHMS FOR NATURA...
 
Study of Image Inpainting Technique Based on TV Model
Study of Image Inpainting Technique Based on TV ModelStudy of Image Inpainting Technique Based on TV Model
Study of Image Inpainting Technique Based on TV Model
 
C1104011322
C1104011322C1104011322
C1104011322
 
An implementation of novel genetic based clustering algorithm for color image...
An implementation of novel genetic based clustering algorithm for color image...An implementation of novel genetic based clustering algorithm for color image...
An implementation of novel genetic based clustering algorithm for color image...
 
10.1109@tip.2020.2990346
10.1109@tip.2020.299034610.1109@tip.2020.2990346
10.1109@tip.2020.2990346
 
F43053237
F43053237F43053237
F43053237
 
OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONS
OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONSOBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONS
OBJECT SEGMENTATION USING MULTISCALE MORPHOLOGICAL OPERATIONS
 
A010210106
A010210106A010210106
A010210106
 
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTIONROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
 
Kentaro_region_filling_inpainting
Kentaro_region_filling_inpaintingKentaro_region_filling_inpainting
Kentaro_region_filling_inpainting
 

Similaire à Comparative analysis and evaluation of image imprinting algorithms

ADOPTING AND IMPLEMENTATION OF SELF ORGANIZING FEATURE MAP FOR IMAGE FUSION
ADOPTING AND IMPLEMENTATION OF SELF ORGANIZING FEATURE MAP FOR IMAGE FUSIONADOPTING AND IMPLEMENTATION OF SELF ORGANIZING FEATURE MAP FOR IMAGE FUSION
ADOPTING AND IMPLEMENTATION OF SELF ORGANIZING FEATURE MAP FOR IMAGE FUSION
ijistjournal
 

Similaire à Comparative analysis and evaluation of image imprinting algorithms (20)

2.[7 12]combined structure and texture image inpainting algorithm for natural...
2.[7 12]combined structure and texture image inpainting algorithm for natural...2.[7 12]combined structure and texture image inpainting algorithm for natural...
2.[7 12]combined structure and texture image inpainting algorithm for natural...
 
2.[7 12]combined structure and texture image inpainting algorithm for natural...
2.[7 12]combined structure and texture image inpainting algorithm for natural...2.[7 12]combined structure and texture image inpainting algorithm for natural...
2.[7 12]combined structure and texture image inpainting algorithm for natural...
 
Image Inpainting
Image InpaintingImage Inpainting
Image Inpainting
 
REMOVING OCCLUSION IN IMAGES USING SPARSE PROCESSING AND TEXTURE SYNTHESIS
REMOVING OCCLUSION IN IMAGES USING SPARSE PROCESSING AND TEXTURE SYNTHESISREMOVING OCCLUSION IN IMAGES USING SPARSE PROCESSING AND TEXTURE SYNTHESIS
REMOVING OCCLUSION IN IMAGES USING SPARSE PROCESSING AND TEXTURE SYNTHESIS
 
N42018588
N42018588N42018588
N42018588
 
I017265357
I017265357I017265357
I017265357
 
A Combined Model for Image Inpainting
A Combined Model for Image InpaintingA Combined Model for Image Inpainting
A Combined Model for Image Inpainting
 
Ijetr021113
Ijetr021113Ijetr021113
Ijetr021113
 
Comparative Study and Analysis of Image Inpainting Techniques
Comparative Study and Analysis of Image Inpainting TechniquesComparative Study and Analysis of Image Inpainting Techniques
Comparative Study and Analysis of Image Inpainting Techniques
 
EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...
EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...
EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...
 
Image in Painting Techniques: A survey
Image in Painting Techniques: A survey Image in Painting Techniques: A survey
Image in Painting Techniques: A survey
 
Feature Extraction for Image Classification and Analysis with Ant Colony Opti...
Feature Extraction for Image Classification and Analysis with Ant Colony Opti...Feature Extraction for Image Classification and Analysis with Ant Colony Opti...
Feature Extraction for Image Classification and Analysis with Ant Colony Opti...
 
IRJET - Deep Learning Approach to Inpainting and Outpainting System
IRJET -  	  Deep Learning Approach to Inpainting and Outpainting SystemIRJET -  	  Deep Learning Approach to Inpainting and Outpainting System
IRJET - Deep Learning Approach to Inpainting and Outpainting System
 
FULL PAPER.PDF
FULL PAPER.PDFFULL PAPER.PDF
FULL PAPER.PDF
 
K018137073
K018137073K018137073
K018137073
 
TEXTURE REPRESENTATION.pdf
TEXTURE REPRESENTATION.pdfTEXTURE REPRESENTATION.pdf
TEXTURE REPRESENTATION.pdf
 
Texture Unit based Approach to Discriminate Manmade Scenes from Natural Scenes
Texture Unit based Approach to Discriminate Manmade Scenes from Natural ScenesTexture Unit based Approach to Discriminate Manmade Scenes from Natural Scenes
Texture Unit based Approach to Discriminate Manmade Scenes from Natural Scenes
 
ADOPTING AND IMPLEMENTATION OF SELF ORGANIZING FEATURE MAP FOR IMAGE FUSION
ADOPTING AND IMPLEMENTATION OF SELF ORGANIZING FEATURE MAP FOR IMAGE FUSIONADOPTING AND IMPLEMENTATION OF SELF ORGANIZING FEATURE MAP FOR IMAGE FUSION
ADOPTING AND IMPLEMENTATION OF SELF ORGANIZING FEATURE MAP FOR IMAGE FUSION
 
NEW ONTOLOGY RETRIEVAL IMAGE METHOD IN 5K COREL IMAGES
NEW ONTOLOGY RETRIEVAL IMAGE METHOD IN 5K COREL IMAGESNEW ONTOLOGY RETRIEVAL IMAGE METHOD IN 5K COREL IMAGES
NEW ONTOLOGY RETRIEVAL IMAGE METHOD IN 5K COREL IMAGES
 
NEW ONTOLOGY RETRIEVAL IMAGE METHOD IN 5K COREL IMAGES
NEW ONTOLOGY RETRIEVAL IMAGE METHOD IN 5K COREL IMAGESNEW ONTOLOGY RETRIEVAL IMAGE METHOD IN 5K COREL IMAGES
NEW ONTOLOGY RETRIEVAL IMAGE METHOD IN 5K COREL IMAGES
 

Plus de Alexander Decker

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...
Alexander Decker
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websites
Alexander Decker
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banks
Alexander Decker
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized d
Alexander Decker
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistance
Alexander Decker
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifham
Alexander Decker
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibia
Alexander Decker
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school children
Alexander Decker
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banks
Alexander Decker
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget for
Alexander Decker
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjab
Alexander Decker
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...
Alexander Decker
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incremental
Alexander Decker
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniques
Alexander Decker
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo db
Alexander Decker
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloud
Alexander Decker
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveraged
Alexander Decker
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenya
Alexander Decker
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health of
Alexander Decker
 

Plus de Alexander Decker (20)

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...
 
A validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inA validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale in
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websites
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banks
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized d
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistance
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifham
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibia
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school children
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banks
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget for
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjab
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incremental
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniques
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo db
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloud
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveraged
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenya
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health of
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Comparative analysis and evaluation of image imprinting algorithms

  • 1. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 Comparative Analysis and Evaluation of Image Imprinting Algorithms K. Sangeetha, P.Sengottuvelan, E. Balamurugan Department of Information Technology, BIT, Tamilnadu, India *Email: kavigeeth@yahoo.com Abstract Image inpainting refers to the task of filling in the missing or damaged regions of an image in an undetectable manner. There are a large variety of image inpainting algorithms existing in the literature. They can broadly be grouped into two categories such as Partial Differential Equation (PDE) based algorithms and Exemplar based Texture synthesis algorithms. However no recent study has been undertaken for a comparative evaluation of these algorithms. In this paper, we are comparing two different types of image inpainting algorithms. The algorithms analyzed are Marcelo Bertalmio’s PDE based inpainting algorithm and Zhaolin Lu et al’s exemplar based Image inpainting algorithm. Both theoretical analysis and experiments have made to analyze the results of these image inpainting algorithms on the basis of both qualitative and quantitative way. Keywords: Image Imprinting, Exemplar based, Texture synthesis, Partial Differential Equation (PDE). 1. Introduction The concept of image inpainting has been around since the first inpainting algorithm proposed by Bertalmio et al (2000). Removing objects or portions of an image then filling in the missing data is a critical problem in photo-editing and film post-production, such as image restoration (e.g. scratch removal) and special effects (e.g. removal of objects). The goal of image inpainting varies, depending on the application, from making the completed area look consistent with the rest of the image, to making them as close as possible to the original image. The applications of image inpainting consist of restoration of photographs, paintings, films and completion of occluded regions. There are two primary categories of the work that focus on missing image data recovery. One is the Partial Differential Equation(PDE) based inpainting techniques for filling in small image gaps and the other is an exemplar based texture synthesis algorithms for generating large image regions from sample textures. 2. Literature Review There are a large variety of image inpainting algorithms found in the literature. The purpose of this paper is to introduce some of the inpainting algorithms that exist from the previous research into this area. We will group them into two broad categories such as PDE based and Exemplar based algorithms. 2.1 PDE based inpainting algorithms Bertalmio et al (2000) first presented the notion of digital image inpainting and used third order Partial Differential Equations (PDE) to propagate the known image information into the missing regions along the direction of isophote. Many algorithms (C. Ballester et al (2001), M. Bertalmio et al (2001), M. Bertalmio et al (2000), T. Chan and J. Shen (2001), S. Masnou et al (1998)) address the region filling issue for the task of image inpainting where speckles, scratches, and overlaid text are removed. These image inpainting techniques are used to fill the holes in images by propagating linear structures into the target region via diffusion. They are inspired by the partial differential equations of physical heat flow and work convincingly as restoration algorithms. Their drawback is that the diffusion process introduces some blur, which becomes noticeable when filling larger regions. Later Bertalmio et al (2000), this inpainting approach was modified to take into account the Navier- Stokes flow Bertalmio et al (2001). This operation propagates information into the masked region while preserving the edges. So image inpainting is used to preserve edges across the missing regions, but when repairing large regions it introduces some blur easily. Chan et al (2000) present the Total Variation (TV) inpainting model in Levin et al (2003), based on the Euler Lagrange equation, employs anisotropic diffusion based on the contrast of the isophote. This 13
  • 2. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 model, designed for inpainting small regions, does a good job at removing noise, but couldn’t repair large regions also. The Curvature- Driven Diffusion (CDD) model T. Chan and J. Shen (2001), extends the TV algorithm to also take into account geometric information of isophote when defining the strength of the diffusion process, thus allowing the inpainting to proceed over larger areas. Although some of the broken edges are connected by the CDD approach, the resulting interpolated segments appear blurry. There are many PDE based inpainting models (T.F. Chan et al (2002), T.F. Chan and J. Shen (2002), T.F. Chan Sung Ha Kang (2004), S. Esedoglu and J. Shen (2002)) and all of these models are suitable for completing small, non-textured target region. The PDE proposed by Marcelo Bertalmio (2006) is optimal in the sense that it is the most accurate third-order PDE which can ensure continuation of level lines. The continuation is strong, allowing the restoration of thin structures occluded by a wide gap. Because of PDE based inpainting algorithms process the images only based on the local information, so when the target region is large or textured, the visual perception of the processed result is bad. 2.2 Exemplar based inpainting algorithms A large number of exemplar based texture synthesis algorithms have been proposed that are based on the idea of creating an artificial texture from the source sample. For textured images, image inpainting alone may not reconstruct the object faithfully, and a statistical or template knowledge of the pattern inside the missing area is needed as well. Natural images are composed of structures and textures, in which the structures constitute the primal sketches of an image (e.g., the edges, corners, etc.) and the textures are image regions with homogenous patterns or feature statistics (including the flat patterns). One of the first attempts to use exemplar-based synthesis specifically for object removal was by Harrison (2001). There, the order in which a pixel in the target region is filled was dictated by the level of texturedness of the pixel’s neighborhood. Exemplar-based techniques which cheaply and effectively generate new texture by sampling and copying color values from the source were proposed by A. Efros and T. Leung (1999), M. Ashikhmin (2001), A. Efros and W. T. Freeman (2001), Freeman et al (2000) and A. Hertzmann et al (2001). Jia et al (2003) have presented a technique for filling image regions based on a texture-segmentation step and a tensor-voting algorithm for the smooth linking of structures across holes. Zalesny et al (2002) describe an algorithm for the parallel synthesis of composite textures. The exemplar-based texture synthesis takes an exemplar and generates additional content based on that exemplar to create much more content than is contained in the exemplar. Traditionally, exemplar-based texture synthesis includes a correction process that compares neighborhoods of each synthesized pixel with neighborhoods of the exemplar. Criminisi et al (2004) designed an exemplar based inpainting algorithm by propagating the known image patches (i.e., exemplars) into the missing patches gradually. To handle the missing region with composite textures and structures, patch priority is defined to encourage the filling order of patches on the structure. Wu (2006) proposed a cross isophotes Examplar-based inpainting algorithm, in which a cross- isophotes patch priority term was designed based on the analysis of anisotropic diffusion. Wong (2008) proposed a nonlocal means approach for the examplar-based inpainting algorithm. The image patch is inferred by the nonlocal means of a set of candidate patches in the known region instead of a single best match patch. More exemplar-based inpainting algorithms (G. T. N. Komodakis (2007), I. Drori et al (2005)) were also proposed for image completion. Zhaolin Lu (2010) proposed an algorithm that copies the determined source template to the destination template and updates the information of the destination template. All the aforementioned exemplar-based models used in image inpainting fills the target region with the most similar exemplar in image. The whole exemplar is copied into target region, so the texture information of image is well preserved. But they cannot preserve the linear structure well. These exemplar-based image completion algorithms work well only if the missing region consists of simple structure and texture. If there are not enough samples in the image, it will be impossible to synthesize the desired image. 3. Overview of Marcelo Bertalmio’s PDE based inpainting algorithm and Zhaolin Lu et al’s Exemplar based inpainting algorithm Due to the large amount of previous research work, a large and variety of image inpainting algorithms exist. To try and cover all the algorithms available would be infeasible. With this in mind, we have decided to compare only two different algorithms. The first algorithm was the one that proposed by Marcelo Bertalmio in [2006] which focuses on reconstructing the structure of occluded area. The second algorithm was the one that proposed by Zhaolin Lu et al in [2010] which focuses on reconstructing the texture of occluded area. 14
  • 3. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 The following is a brief explanation of Marcelo Bertalmio’s PDE based and Zhaolin Lu et al’s exemplar based inpainting algorithms, which are chosen to do some experiments on real scene images in section 5. 3.1 Marcelo Bertalmio’s PDE based inpainting algorithm In this paper a third-order PDE have been introduced to perform geometric inpainting on images. The image inpainting algorithm of Bertalmio et al (2000) is not contrast invariant, as it was pointed out by Chan et al (2001). In this paper (Marcelo Bertalmio (2006)), the inpainting problem was reformulated as a particular case of image interpolation in which the author intended to propagate level lines. Expressing this in terms of local neighborhoods and using a Taylor expansion, a third-order PDE was derived that performs inpainting. With this equation, the edges are propagated inside the gap with minimum bending, allowing for the connection of thin structures occluded by a wide gap, and also the formation of corners. This PDE is optimal in the sense that it is the most accurate third-order PDE which can ensure good continuation of level lines. The continuation is strong, allowing restoring thin structures occluded by a wide gap. The result is also contrast in-variant. This algorithm performs well for small filling region images and preserves the linear structures. 3.2 Zhaolin Lu et al’s Exemplar based inpainting algorithm In this paper, the method by Criminisi et al (2004) was improved by the use of geometrical structure feature of image. The contributions of this new approach (Zhaolin Lu et al (2010)) consist of the following aspects: (1) The size of image patch can be decided based on the gradient domain of image. (2) The filling priority is decided by the geometrical structure feature of image, especially the curvature and the direction of the isophotes. (3) It introduces a better patch-matching scheme, which incorporates the curvature and color of image. This algorithm performs well even for a large filling region images and for textured regions. 4. Evaluation Method Formulating an accurate evaluation method for determining the success of the two algorithms was a very important yet difficult task. This was because no common method for evaluating inpainting algorithms has been presented in the literature. To try and provide a good and accurate evaluation of the algorithms, it was decided to use both a qualitative and a quantitative approach. The assessment of the results for the qualitative tests was done mainly by visual analysis. The quantitative evaluation was performed by repeating the experiments multiple times for different size occlusions placed randomly throughout the images. These sizes were chosen as they show a large variation in occlusion sizes and would provide a good overview of the algorithm’s capabilities. This was obtained by calculating the Peak Signal-to-Noise Ratio (PSNR) between the two images. PSNR is “an engineering term for the ratio between the maximum possible power of a signal and the power of corrupting noise that affects the fidelity of its representation”. PSNR values are represented in decibels (dB). Basically the higher the PSNR value, the larger the similarity of the restored image to the original. Ideally it would be nice to specify what a good PSNR value is, but during the testing it was found that while some images could look visually pleasing, they may have extremely low PSNR values. The equation to calculate a PSNR value is given below: PSNR=20.log10 (MAXI / ) 2 where MSE= (1/ mn) and MAX I = 255. 5. Comparison of Experiment Results We have experimented with the Marcelo Bertalmio’s PDE based inpainting algorithm (2006) on some images comparing with Zhaolin Lu et al’s Exemplar based inpainting algorithm (2010). We have implemented these algorithms using Mat lab 2008Ra. Based on the experiment results obtained by the aforementioned algorithms, it is observed that PDE based inpainting algorithms cannot reconnect the linear structure in a large region and it cannot restore texture patterns. It is also observed that exemplar based inpainting algorithms can find proper exemplars to fill in the target region and preserve linear structure. We have tested many input images and the experiment has been carried out multiple times for the same image with different occlusion sizes. Various parameter settings are needed for both algorithms. 15
  • 4. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 The parameters needed for Bertalmio algorithm are: (1) I=No of inpainting steps needed to perform each iteration (2) D= No of Diffusion steps needed to perform each iteration (3) T= Total no of iterations to perform (4) dT=The speed of the evolution. The parameters needed for Zhaolin Lu et al’s algorithm are: (1) ω =template window size (2) β =Band size around the occluded area (3) ɛ =Error Threshold (4) δɛ = Multiplier for Error threshold if no progress is detected. Sample results have been shown in the following figures. Figure 1: Results of two different inpainting algorithms (with variable occlusion sizes) Original image with variable occlusion sizes 1.2 Results of Marcelo Bertalmio Algorithm [12] 16
  • 5. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 1.3 Results of Zhaolin Lu et al’s Algorithm [21] 17
  • 6. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 Figure 2: Results of two different inpainting algorithms 18
  • 7. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 19
  • 8. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 20
  • 9. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 Table 1 Comparison of the two different inpainting algorithms Inpainting Algorithms MSE(10 ˜Pixels) MSE(20 ˜Pixels) MSE(40 ˜Pixels) PDE based 2502.45 4036.64 5899.36 (Marcelo Bertalmio [12] ) Exemplar based 1747.18 2354.23 3012.46 (Zhaolin Lu et al’s [21]) Graph 1. The relationship between the value of MSE and the size of occlusion area. 21
  • 10. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 From the experiment results it is known that exemplar based inpainting algorithm provides good results than PDE based algorithm in both qualitative and quantitative approach. 6. Conclusion and Further Work In this paper, we have looked at two different types of inpainting methods. For each of the algorithms, we have provided a brief explanation of the process used for filling an occlusion making use of images. In addition, we have performed both a qualitative and quantitative analysis of the algorithms. From this analysis, a number of shortcomings and limitations were highlighted in relation to the type of information each algorithm can restore. Compared with the PDE based inpainting algorithms, the exemplar-based inpainting algorithms have performed plausible results for inpainting the large missing region. Theoretical analysis and experiments proved that the exemplar based inpainting algorithms can inpaint both texture and structure image well. References M. Bertalmio et al (2000), “Image inpainting,” in Proceedings of ACM SIGGRAPH Conference on Computer Graphics, pp. 417-424. C. Ballester et al (2001), “A variational model for filling-in gray level and color images,” in Proc. Int. Conf. Computer Vision, Vancouver, BC, Canada, pp. 10–16. M. Bertalmio et al (2001), “Navier-Stokes, fluid dynamics, and image and video inpainting, Proceedings of the IEEE Computer Vision and Pattern Recognition (CVPR), Hawaii. M. Bertalmio et al (2000), “Image inpainting,” in Proc. ACM Conf. Comp. Graphics (SIGGRAPH), New Orleans, 417–424. T. Chan and J. Shen (2001), Non-texture inpainting by Curvature-Driven Diffusions (CCD), J. Vis. Communication Image Representation, 436– 449. S. Masnou et al (1998), “Level lines based disocclusion,” in Int. Conf. Image Processing, Chicago, IL. T.F. Chan et al (2002), “Euler’s elastica and curvature based inpainting”, SIAM J. Appl. Math. 63, 564–592. T.F. Chan and J. Shen (2002), Mathematical models for local nontexture inpainting, SIAM J. Appl. Math. 62 1019–1043. T.F. Chan Sung Ha Kang (2004), Error analysis for image inpainting, CAM 04-72. S. Esedoglu and J. Shen (2002),” Digital inpainting based on the Mumford shah Euler image model”, Eur. J. Appl. Math. 13, 353–370. A. Levin et al (2003), “Learning how to inpaint from global image statistics”, Proc. IEEE Int. Conf. Comp. Vision, pages 305-313. Marcelo Bertalmio (2006), “Strong-Continuation, Contrast-Invariant Inpainting with a Third- Order Optimal PDE”, IEEE Transactions On Image Processing, VOL. 15, NO. 7. A. Efros and T. Leung (1999), “Texture synthesis by non-parametric sampling,” in Proc. Int. Conf. Comp. Vision, pp. 1033–1038. P. Harrison (2001), “A nonhierarchical procedure for re-synthesis of complex texture,” in Proc. Int. Conf. Central Europe Computer Graphics, Visualization, and Computer Vision, Plzen, Czech Republic. 22
  • 11. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5758 (print) ISSN 2224-896X (online) Vol 1, No.5, 2011 J. Jia and C. K. Tang (2003), “Image repairing: Robust image synthesis by adaptive nd tensor voting,” in Proc. IEEE Computer Society Conf. Computer Vision and Pattern Recognition, pp. 643–650. A. Criminisi et al (2004), “Region filling and object removal by exemplar-based image inpainting,” IEEE Trans. Image Process., vol. 13, pp. 1200–1212. J.Wu and Q. Ruan (2006), “Object removal by cross isophotes exemplar based image inpainting,” in Proc. Int. Conf. Pattern Recognition, pp.810–813. A. Wong and J. Orchard (2008), “A nonlocal-means approach to exemplar based inpainting,” presented at the IEEE Int. Conf. Image Processing. G. T. N. Komodakis (2007), “Image completion using efficient belief propagation via priority scheduling and dynamic pruning,” IEEE Trans. Image Process., vol. 16, pp. 2649–2661. I. Drori et al (2005), “Fragment-based image completion,” ACM Trans. Graph, vol. 22, pp. 303–312, Zhaolin Lu et al (2010), “A Novel Hybrid Image Inpainting Model” presented at the IEEE International Conference on Genetic and Evolutionary Computing. A. Zalesny et al (2002), “Parallel composite texture synthesis,” in Texture 2002 Workshop— ECCV, Copenhagen, Denmark. M. Ashikhmin (2001), “Synthesizing natural textures,” in Proc. ACM Symp. Interactive 3D Graphics, 217–226. A. Efros and W. T. Freeman (2001), “Image quilting for texture synthesis and transfer,” in Proc. ACM Conf. Computer Graphics (SIGGRAPH), Aug., pp. 341–346. Freeman et al (2000), “Learning low level vision,” Int. J. Computer. Vis.vol. 40, no. 1, pp. 25–47. A. Hertzmann et al (2001), “Image analogies,” in Proc. ACM Conf. Computer Graphics (SIGGRAPH). 23