Special Issue on Selected Papers from the First International Conference on Networking and Computing
Implementations of a Parallel Algorithm for Computing Euclidean Distance Map in Multicore Processors and GPUs
International Journal of Networking and Computing, Vol. 1, No. 2, pp. 260–276, July 2011
Download PDF DOI: 10.15803/ijnc.1.2_260
Abstract
Given a 2-D binary image of size n×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(n2) and thus this algorithm is optimal. Also, work-time optimal parallel algorithms for shared memory model have been presented. However, the presented parallel 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 different parallel platforms: multicore processors and Graphics Processing Units (GPUs). 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 the following two modern GPU systems, Tesla C1060 and GTX 480, respectively. The experimental results have shown that, for an input binary image with size of 9216×9216, our implementation in the multicore 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 26 over the sequential algorithm implementation.
Keywords
Euclidean Distance MapProximate PointsMulticore ProcessorsGPUs
How to Cite
Duhu Man, Kenji Uda, Hironobu Ueyama, Yasuaki Ito and Koji Nakano, "Implementations of a Parallel Algorithm for Computing Euclidean Distance Map in Multicore Processors and GPUs," International Journal of Networking and Computing, vol. 1, no. 2, pp. 260–276, 2011. doi: 10.15803/ijnc.1.2_260
BibTeX
@article{ijnc.v01n02p10,
author = {Duhu Man and Kenji Uda and Hironobu Ueyama and Yasuaki Ito and Koji Nakano},
title = {Implementations of a Parallel Algorithm for Computing Euclidean Distance Map in Multicore Processors and GPUs},
journal = {International Journal of Networking and Computing},
volume = {1},
number = {2},
pages = {260--276},
year = {2011},
doi = {10.15803/ijnc.1.2_260},
url = {https://ijnc-journal.github.io/articles/v01n02p10/}
}