2010 First International Conference on Networking and Computing (2010)

Higashi, Hiroshima Japan

Nov. 17, 2010 to Nov. 19, 2010

ISBN: 978-0-7695-4277-5

pp: 120-127

DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/IC-NC.2010.55

ABSTRACT

Given a 2-D binary image of size $n \times n$, Euclidean Distance Map (EDM) is a 2-D array of the same size such that each element is storing the Euclidean distance to the nearest black pixel. It is known that a sequential algorithm can compute the EDM in $O(n^2)$ and thus this algorithm is optimal. Also, work-time optimal parallel algorithms for shared memory model have been presented. However, these algorithms are too complicated to implement in existing shared memory parallel machines. The main contribution of this paper is to develop a simple parallel algorithm for the EDM and implement it in two parallel platforms: multicore processors and a Graphics Processing Unit (GPU). More specifically, we have implemented our parallel algorithm in a Linux server with four Intel hexad-core processors (Intel Xeon X7460 2.66GHz). We have also implemented it in a modern GPU system, Tesla C1060, respectively. The experimental results have shown that, for an input binary image with size of $10000\times 10000$, our implementation in the multi-core system achieves a speedup factor of 18 over the performance of a sequential algorithm using a single processor in the same system. Meanwhile, for the same input binary image, our implementation on the GPU achieves a speedup factor of 5 over the sequential algorithm implementation.

INDEX TERMS

Euclidean Distance Map, Proximate Points, Multi-core Processors, GPU

CITATION

K. Nakano, D. Man, H. Ueyama, K. Uda and Y. Ito, "Implementations of Parallel Computation of Euclidean Distance Map in Multicore Processors and GPUs,"

*2010 First International Conference on Networking and Computing(ICNC)*, Higashi, Hiroshima Japan, 2010, pp. 120-127.

doi:10.1109/IC-NC.2010.55

CITATIONS

SEARCH