ParXII: Optimized, Data-Parallel Exemplar-Based Image Inpainting Mohamed Yousef1, Khaled F. Hussien2 Assiut University, Assiut, Egypt

Figures 1-7, Example input images along with inpaintng result 1 Introduction Completing unknown parts of a damaged input image, or removing objects from photographs and replacing them with visually plausible backgrounds is an important task in photo editing and video processing with a wide range of applications from the reconstruction of missing blocks introduced by packet loss during wireless transmission, reversing of impairments, removal of image objects such as logos, stamped dates, text, and persons, to completing panoramas. The problem with most of existing inpainting methods is the balance between efficiency and accuracy, one of the most accurate methods is exemplarbased image inpainting [Criminisi, et al. 2004], the problem with this method is that it’s very slow and inefficient due to the fact that it needs to scan the whole image before inpaiting a certain block of pixels (every scan operation is called a query), this makes the algorithm take tens to hundreds of seconds on modern CPUs. An important feature of the exemplar-based image inpainting algorithm, along with its accuracy, is that it’s highly parallel; comparisons involved on every query operation can be done completely in parallel, which makes the algorithm map very well on modern massively parallel architectures like modern GPUs. In this paper, we present ParXII, an optimized data-parallel variant of the exemplar image inpainting that seeks to achieve best utilization of today GPUs and then applies a number of optimizations to reduce the number of queries and the arithmetic intensity of each query, with approximately no noticeable effect on plausibility of results.

of queries, and therefore increases the execution speed. The idea is to choose the block with highest-to-be-inpainted area from blocks in top 5%-10% blocks in priority, to compute this efficiently we approximate it trough modifying the original formula as follows: P(p) = C(p)D(p)A(p) , where A(p) is the area of to be inpainted part of block, associated with point p.

3 Implementation We implemented ParXII in OpenCL, we preferred it over CUDA and other platform specific APIs, as it’s an open, platformindependent API. We used Image ImageMagick library to read, write, and modify images. We used the exemplar image inpainting implementation by Qiushuang Zhang as a basis for our modifications and experimentation till we reached ParXII.

4 Results In the following table (time in milliseconds) we summarize our results, especially compared with the only current attempt to GPU accelerate, exemplar image inpainting [Kwok et al. 2010]. Our results show that we are on the way to real-time videoinpainting. Fast Query on GTX 280

ParXII on GTX 280

Fig 1 (538x403)

11560

1940

Fig 2 (206x308)

900

170

2 Algorithm

Fig 3 (438x297)

7400

1920

ParXII has the same basic steps of exemplar image inpainting, it modifies some of the steps either to parallelize them or to increase their speed, as follows: 1) Instead of sequentially searching the image for matching patches, the comparison of each block with the target block, using SSD, is done in parallel, after that SSD values are reduced in parallel. An important aspect here is that all modifications on the image must be done on the GPU with no GPU-CPU communication other than the reduced SSD values. 2) Instead of the CIE Lab color space we use the YCbCr color space; the idea here is to use only the chroma components (Cb and Cr) in the SSD comparison. The chroma components preserve the color information and are therefore sufficient for getting to the most appropriate block in the input image. 3) A problem with the formula P(p) = C(p)D(p) for calculating the priority of a block is that it totally neglects the effect the size of the inpainted part can have, increasing the size of the inpainted area of the block directly decreases the number

Fig 4 (628x316)

3680

370

Fig 5 (700x389)

1640

125

Fig 6 (200x150)

670

80

Fig 7 (700x438)

4180

430

1

[email protected]

2

[email protected]

5 References A. CRIMINISI, P. P´EREZ, AND K. TOYAMA, “Region filling and object removal by exemplar-based image inpainting,” IEEE Transactions on Image Processing, vol. 13, pp. 1200–1212, September 2004. TSZ-HO KWOK, HOI SHEUNG, AND CHARLIE C. L. WANG. “Fast query for exemplar-based image completion”. IEEE Transactions on Image Processing, vol. 19, pp. 3106-3115. December 2010.

MS Word template for A4 size paper

ParXII: Optimized, Data-Parallel Exemplar-Based Image Inpainting. Mohamed Yousef1, Khaled ... Figures 1-7, Example input images along with inpaintng result.

280KB Sizes 0 Downloads 232 Views

Recommend Documents

IEEE Paper Template in A4 (V1) - icact
the SE-EE trade-off in multi-user interference-limited wireless networks ... International Conference on Advanced Communications Technology(ICACT).

IEEE Paper Template in A4 (V1) - icact
spectral efficiency and energy efficiency in multi-cell uplink networks. ..... Y. Wu, et al., “Green transmission technologies for balancing the energy efficiency and ...

IEEE Paper Template in A4 (V1)
Edward Walker. Texas Advanced Computing Center, The University of Texas at Austin ..... Available: http://www.teragrid.org/userinfo/jobs/mycluster.php. [5] Edward ... ACM Symp. on Principles and Practise of Parallel Programming,. New York ...

IEEE Paper Template in A4 (V1)
Small gadgets such as cell phone, hand held PC, pen-drive, notebooks are .... know-how, business opportunities and courses for the apprentice to undergo the ...

IEEE Paper Template in A4 (V1)
much the redundancy is eliminated by using the host-based file system. As a result ... and the host due to the layered approach in the virtualized systems. ... VMware ESX server [3]. .... good performance and low memory usage through three.

IEEE Paper Template in A4 (V1)
Throughput Computing across Distributed Clusters. Edward Walker. Texas Advanced Computing Center, The University of Texas at Austin. J. J. Pickle Research ...

IEEE Paper Template in A4 (V1)
confidentiality AES-128 and Triple DES cryptographic algorithms can be used. .... To provide authenticity, digital signature is sent to the receiver by the sender.

IEEE Paper Template in A4 (V1)
Security. INTRODUCTION. Peer-to-peer (P2P) or ad-hoc networking has become one of the ... scheme is to control peers lying about their services they provide.

IEEE Paper Template in A4 (V1)
the AODV protocol, based on public key cryptography. The integrity and authenticity of the SAODV routing messages are maintained by using digital signatures.

IEEE Paper Template in A4 (V1)
quantization noise is dominated by the quantization step of the second compression and is also ambiguous to be distinguished from single and double compression cases. Only when. , since the DCT coefficient would not be changed after recompression, th

Proceedings Template - WORD
This paper presents a System for Early Analysis of SoCs (SEAS) .... converted to a SystemC program which has constructor calls for ... cores contain more critical connections, such as high-speed IOs, ... At this early stage, the typical way to.

Proceedings Template - WORD - PDFKUL.COM
multimedia authoring system dedicated to end-users aims at facilitating multimedia documents creation. ... LimSee3 [7] is a generic tool (or platform) for editing multimedia documents and as such it provides several .... produced with an XSLT transfo

Word Template for AC03 Proceedings - CiteSeerX
A final brief observation suggests that the semantic analysis of ..... came ill”. The NPI data suggest that in fact, we have to count with the two assertions in (16.a) ...

Word Template for AC03 Proceedings - CiteSeerX
... to existent discourse referents. This al-. ∗. Zentrum für Allgemeine Sprachwissenschaft and Humboldt University, Berlin. email: [email protected] ...

ms word questions -
creating a resume, click the _____ button in any panel in the Resume Wizard ... d. theme. Ans : d. 16.Change the _____ to create a document in wide format a.

Proceedings Template - WORD
Through the use of crowdsourcing services like. Amazon's Mechanical ...... improving data quality and data mining using multiple, noisy labelers. In KDD 2008.

Proceedings Template - WORD
software such as Adobe Flash Creative Suite 3, SwiSH, ... after a course, to create a fully synchronized multimedia ... of on-line viewable course presentations.

Proceedings Template - WORD
We propose to address the problem of encouraging ... Topic: A friend of yours insists that you must only buy and .... Information Seeking Behavior on the Web.

Proceedings Template - WORD
10, 11]. Dialogic instruction involves fewer teacher questions and ... achievment [1, 3, 10]. ..... system) 2.0: A Windows laptop computer system for the in-.

Proceedings Template - WORD
Universal Hash Function has over other classes of Hash function. ..... O PG. O nPG. O MG. M. +. +. +. = +. 4. CONCLUSIONS. As stated by the results in the ... 1023–1030,. [4] Mitchell, M. An Introduction to Genetic Algorithms. MIT. Press, 2005.

Proceedings Template - WORD
As any heuristic implicitly sequences the input when it reads data, the presentation captures ... Pushing this idea further, a heuristic h is a mapping from one.

Proceedings Template - WORD
Experimental results on the datasets of TREC web track, OSHUMED, and a commercial web search ..... TREC data, since OHSUMED is a text document collection without hyperlink. ..... Knowledge Discovery and Data Mining (KDD), ACM.

Proceedings Template - WORD
685 Education Sciences. Madison WI, 53706-1475 [email protected] ... student engagement [11] and improve student achievement [24]. However, the quality of implementation of dialogic ..... for Knowledge Analysis (WEKA) [9] an open source data min