A New Parallel Algorithm for Two-Pass Connected Component Labeling

06/20/2016
by   Siddharth Gupta, et al.
0

Connected Component Labeling (CCL) is an important step in pattern recognition and image processing. It assigns labels to the pixels such that adjacent pixels sharing the same features are assigned the same label. Typically, CCL requires several passes over the data. We focus on two-pass technique where each pixel is given a provisional label in the first pass whereas an actual label is assigned in the second pass. We present a scalable parallel two-pass CCL algorithm, called PAREMSP, which employs a scan strategy and the best union-find technique called REMSP, which uses REM's algorithm for storing label equivalence information of pixels in a 2-D image. In the first pass, we divide the image among threads and each thread runs the scan phase along with REMSP simultaneously. In the second phase, we assign the final labels to the pixels. As REMSP is easily parallelizable, we use the parallel version of REMSP for merging the pixels on the boundary. Our experiments show the scalability of PAREMSP achieving speedups up to 20.1 using 24 cores on shared memory architecture using OpenMP for an image of size 465.20 MB. We find that our proposed parallel algorithm achieves linear scaling for a large resolution fixed problem size as the number of processing elements are increased. Additionally, the parallel algorithm does not make use of any hardware specific routines, and thus is highly portable.

READ FULL TEXT
research
12/28/2017

Efficient Parallel Connected Components Labeling with a Coarse-to-fine Strategy

This paper proposes a new parallel approach to solve connected component...
research
06/08/2019

Scan-flood Fill(SCAFF): an Efficient Automatic Precise Region Filling Algorithm for Complicated Regions

Recently, instant level labeling for supervised machine learning require...
research
08/28/2017

An Optimized Union-Find Algorithm for Connected Components Labeling Using GPUs

In this paper, we report an optimized union-find (UF) algorithm that can...
research
09/13/2021

The State of the Art when using GPUs in Devising Image Generation Methods Using Deep Learning

Deep learning is a technique for machine learning using multi-layer neur...
research
06/27/2018

Deep Steganalysis: End-to-End Learning with Supervisory Information beyond Class Labels

Recently, deep learning has shown its power in steganalysis. However, th...
research
09/24/2019

PolSAR Image Classification Based on Dilated Convolution and Pixel-Refining Parallel Mapping network in the Complex Domain

Efficient and accurate polarimetric synthetic aperture radar (PolSAR) im...
research
05/30/2022

A Connected Component Labeling Algorithm for Implicitly-Defined Domains

A connected component labeling algorithm is developed for implicitly-def...

Please sign up or login with your details

Forgot password? Click here to reset