Title :
Implementations of Parallel Computation of Euclidean Distance Map in Multicore Processors and GPUs
Author :
Man, Duhu ; Uda, Kenji ; Ueyama, Hironobu ; Ito, Yasuaki ; Nakano, Koji
Author_Institution :
Dept. of Inf. Eng., Hiroshima Univ., Hiroshima, Japan
Abstract :
Given a 2-D binary image of size nxn, 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(n2) 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 × 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.
Keywords :
computational complexity; computational geometry; computer graphic equipment; coprocessors; multiprocessing systems; parallel algorithms; parallel machines; shared memory systems; 2D binary image; Euclidean distance map; GPU; Intel hexad-core processors; Linux server; Tesla C1060; graphics processing unit; multicore processors; parallel computation; shared memory parallel machines; work time optimal parallel algorithms; Euclidean Distance Map; GPU; Multi-core Processors; Proximate Points;
Conference_Titel :
Networking and Computing (ICNC), 2010 First International Conference on
Conference_Location :
Higashi-Hiroshima
Print_ISBN :
978-1-4244-8918-3
Electronic_ISBN :
978-0-7695-4277-5
DOI :
10.1109/IC-NC.2010.55