i
(8)
where H
MA
and H
exp
are respectively the histograms
of intensity (or orientation) of the missing area and
the exemplar.
The Kullback and Leibler difference values obtained
on the histograms of the output images of Fig. 5 are
shown in Table 1.
Table 1: Objective results obtained on the images of Fig.
5.
Imag
e
Intensity
Histograms
Orientation
Histograms
α = 1 α = 0.5 α = 1 α = 0.5
A
0.412 0.201 0.399 0.297
B
0.308 0.31 0.402 0.289
C
0.398 0.356 0.3 0.306
The objective evaluation of Table 1 generally
confirms our subjective analysis. In result A, both
intensity and orientation histogram differences are
higher with α = 1 than with α = 0.5, which verifies
that the dynamics of the inpainted missing area are
distorted with the pure Wei and Levoy inpainting.
The high orientation histogram difference (0.402) in
result B is due to the undesired repetitive patterns
shown in the inpainted area with α = 1. Finally, the
success of both, Wei and Levoy’s algorithm and the
proposed approach, in leading to output images of
roughly similar quality, is verified in the last row of
Table 1.
5 CONCLUSIONS
We have proposed an image inpainting algorithm
which consists in first inpainting the structure layer
of the image, then using it to constrain the inpainting
process of the image. The proposed approach relies
on adapting the algorithm of Wei and Levoy to the
specificities of the second-moment matrix. The
obtained results quality was highly encouraging, in
terms of dynamics and structures preservation, and
proved that using the structure layer in the inpainting
process could be advantageous comparing to pure
intensity-based approaches.
However, using other non-parametric methods
than Wei and Levoy, and evaluating their efficiency
in the structure and image inpainting processes, is of
our interest. We also aim at comparing the
performance of the proposed algorithm with several
existing inpainting methods, using a large database.
In addition, we aim at reinforcing the use of the
proposed approach with different inpainting scan
types, different neighbourhood shapes and size.
Finally, it is necessary to consolidate the proposed
objective evaluation using second order statistics,
such as the autocorrelation, for example.
ACKNOWLEDGMENT
This work has been partly supported by a research
grant from the Higher Center for Research at the
Holy Spirit University of Kaslik (USEK), Lebanon.
REFERENCES
Kwatra, V., Schödl, A., Essa, I., Turk, G., Bobick, A.,
2003. "Graphcut Textures: Image and Video Synthesis
Using Graph Cuts," Proc. of ACM SIGGRAPH, pp.
277-286.
Bargteil, A. W., Sin, F., Michaels, J. E., Goktekin, T. G.,
O’Brien, J. F., 2006. "A Texture Synthesis Method for
Liquid Animations," Proc. ACM
SIGGRAPH/Eurographics Symposium on Computer
Animation, Vienna, Austria, September 2-4.
Yamauchi, H., Haber, J., Seidel, H-P., 2003. "Image
restoration using multiresolution texture synthesis and
image inpainting,” Proc. Int. Conf. Comput. Graph.
Winkenbach, G., Salesin, D. H., 1994. “Computer-
generated pen-and-ink illustration,” Proc. of
SIGGRAPH 94, pp. 91–100, Orlando, Florida.
Bertalmio, M., Sapiro, G., Caselles, V., Ballester, C.,
2000. “Image inpainting,” Proc. of the 27th annual
conference on Computer graphics and interactive
techniques, pp. 417-424.
Akl, A., Yaacoub, C., Donias, M., Da Costa, J.-P.,
Germain, C., 2015. Texture Synthesis Using the
Structure Tensor. IEEE Transactions on Image
Processing, 24 (11), art. no. 7163318, pp. 4082-4095.
Paget, R., Longstaff, I.D., 1998. "Texture synthesis via a
non causal nonparametric multiscale markov random
field," IEEE Trans. on Image Processing, vol. 7(6),
pp. 925–931.
Efros, A., Leung, T., 1999. “Texture synthesis by non-
parametric sampling,” International Conference on
Computer Vision, vol. 2, pp. 1033–1038.