Parallelization Strategy for Elementary Morphological Operators on Graphs: Distance-Based Algorithms and Implementation on Multicore Shared-Memory Architecture

This article focuses on the graph-based mathematical morphology operators presented in [J. Cousty et al., "Morphological filtering on graphs", CVIU 2013]. These operators depend on a size parameter that specifies the number of iterations of elementary dilations/erosions. Thus, the associated running times increase with the size parameter. In this article, we present distance maps that allow us to recover by thresholding all considered dilations and erosions. The algorithms based on distance maps allow the operators to be computed with a single linear-time iteration, without any dependence to the size parameter. Then, we investigate a parallelization strategy to compute these distance maps. The idea is to build iteratively the successive level-sets of the distance maps, each level set being traversed in parallel. Under some reasonable assumptions about the graph and sets to be dilated, our parallel algorithm runs ini¾?$$On/p + K \log _2 p$$ wherei¾?n,i¾?p, andi¾?K are the size of the graph, the number of available processors, and the number of distinct level-sets of the distance map, respectively.

[1]  Tuan Q. Pham Parallel Implementation of Geodesic Distance Transform with Application in Superpixel Segmentation , 2013, 2013 International Conference on Digital Image Computing: Techniques and Applications (DICTA).

[2]  L. Vincent Graphs and mathematical morphology , 1989 .

[3]  Der-Chyuan Lou,et al.  Parallel distance transforms on a linear array architecture , 2002, Inf. Process. Lett..

[4]  Koji Nakano,et al.  Implementations of Parallel Computation of Euclidean Distance Map in Multicore Processors and GPUs , 2010, 2010 First International Conference on Networking and Computing.

[5]  Jean Cousty,et al.  Morphological filtering on graphs , 2013, Comput. Vis. Image Underst..

[6]  David Coeurjolly,et al.  2D Subquadratic Separable Distance Transformation for Path-Based Norms , 2014, DGCI.

[7]  Sanjeev Saxena,et al.  On Parallel Prefix Computation , 1994, Parallel Process. Lett..

[8]  Jesús Angulo,et al.  Micro-viscous morphological operators , 2007, ISMM.

[9]  Pierre Soille,et al.  Recursive Implementation of Erosions and Dilations Along Discrete Lines at Arbitrary Angles , 1996, IEEE Trans. Pattern Anal. Mach. Intell..

[10]  Charalampos Konstantopoulos,et al.  Efficient binary morphological algorithms on a massively parallel processor , 2000, Proceedings 14th International Parallel and Distributed Processing Symposium. IPDPS 2000.

[11]  Jun-ichiro Toriwaki,et al.  New algorithms for euclidean distance transformation of an n-dimensional digitized picture with applications , 1994, Pattern Recognit..